mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-28 19:06:12 +01:00
93 lines
2.1 KiB
JSON
93 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnsafeOptionalChaining": "off",
|
|
"useExhaustiveDependencies": "off",
|
|
"noUnusedImports": "warn"
|
|
},
|
|
"complexity": {
|
|
"noBannedTypes": "off",
|
|
"noUselessConstructor": "off",
|
|
"useOptionalChain": "warn",
|
|
"noStaticOnlyClass": "off",
|
|
"noForEach": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"noInferrableTypes": "off",
|
|
"noUnusedTemplateLiteral": "off",
|
|
"useSingleVarDeclarator": "off",
|
|
"noUselessElse": "off",
|
|
"useNodejsImportProtocol": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noExtraNonNullAssertion": "off",
|
|
"noRedeclare": "off",
|
|
"noPrototypeBuiltins": "off",
|
|
"noConfusingVoidType": "off",
|
|
"noArrayIndexKey": "off",
|
|
"noThenProperty": "off"
|
|
},
|
|
"performance": {
|
|
"noAccumulatingSpread": "off",
|
|
"noDelete": "off"
|
|
}
|
|
},
|
|
"ignore": [
|
|
"node_modules",
|
|
"docker",
|
|
"bundle.js",
|
|
"website/build",
|
|
"website/global.js",
|
|
"setupJest.js",
|
|
"dist",
|
|
"build",
|
|
"src/migrations/*.js",
|
|
"src/test/examples/*.json",
|
|
".docusaurus",
|
|
"coverage",
|
|
"CHANGELOG.md"
|
|
]
|
|
},
|
|
"organizeImports": {
|
|
"enabled": false
|
|
},
|
|
"formatter": {
|
|
"indentStyle": "space",
|
|
"ignore": [
|
|
"node_modules",
|
|
"docker",
|
|
"bundle.js",
|
|
"setupJest.js",
|
|
"dist",
|
|
"build",
|
|
"src/migrations/*.js",
|
|
"src/migrations/*.json",
|
|
"src/test/examples/*.json",
|
|
"coverage",
|
|
"website/build",
|
|
"website/global.js",
|
|
".docusaurus"
|
|
],
|
|
"indentWidth": 4
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"semicolons": "always",
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "single",
|
|
"indentWidth": 4
|
|
}
|
|
},
|
|
"json": {
|
|
"formatter": {
|
|
"indentWidth": 2
|
|
}
|
|
}
|
|
}
|