2023-09-29 14:18:21 +02:00
|
|
|
{
|
2023-11-27 13:42:58 +01:00
|
|
|
"$schema": "https://biomejs.dev/schemas/1.3.3/schema.json",
|
2023-09-29 14:18:21 +02:00
|
|
|
"linter": {
|
|
|
|
"enabled": true,
|
|
|
|
"rules": {
|
|
|
|
"recommended": true,
|
|
|
|
"performance": {
|
|
|
|
"noDelete": "off"
|
|
|
|
},
|
|
|
|
"correctness": {
|
2023-11-27 13:42:58 +01:00
|
|
|
"noUnsafeOptionalChaining": "off",
|
|
|
|
"useExhaustiveDependencies": "off"
|
2023-09-29 14:18:21 +02:00
|
|
|
},
|
|
|
|
"complexity": {
|
|
|
|
"noBannedTypes": "off",
|
|
|
|
"noUselessConstructor": "off",
|
|
|
|
"useOptionalChain": "warn",
|
2023-11-27 13:42:58 +01:00
|
|
|
"noStaticOnlyClass": "off",
|
|
|
|
"noForEach": "off"
|
2023-09-29 14:18:21 +02:00
|
|
|
},
|
|
|
|
"style": {
|
|
|
|
"noNonNullAssertion": "off",
|
|
|
|
"noInferrableTypes": "off",
|
|
|
|
"noUnusedTemplateLiteral": "off",
|
|
|
|
"useSingleVarDeclarator": "off"
|
|
|
|
},
|
|
|
|
"suspicious": {
|
|
|
|
"noExplicitAny": "off",
|
|
|
|
"noExtraNonNullAssertion": "off",
|
2023-10-24 10:07:26 +02:00
|
|
|
"noRedeclare": "off",
|
2023-11-27 13:42:58 +01:00
|
|
|
"noPrototypeBuiltins": "off",
|
|
|
|
"noConfusingVoidType": "off"
|
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"noAccumulatingSpread": "off",
|
|
|
|
"noDelete": "off"
|
2023-09-29 14:18:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"ignore": [
|
|
|
|
"node_modules",
|
|
|
|
"docker",
|
|
|
|
"bundle.js",
|
|
|
|
"website/blog",
|
|
|
|
"website/build",
|
|
|
|
"website/core",
|
|
|
|
"website/docs",
|
|
|
|
"website/i18n/*.js",
|
|
|
|
"website/pages",
|
|
|
|
"website/translated_docs",
|
|
|
|
"website",
|
|
|
|
"setupJest.js",
|
|
|
|
"dist",
|
2023-10-02 14:25:46 +02:00
|
|
|
"build",
|
2023-09-29 14:18:21 +02:00
|
|
|
"src/migrations/*.js",
|
|
|
|
"src/test/examples/*.json",
|
|
|
|
"website/**/*.js",
|
2023-10-03 09:40:36 +02:00
|
|
|
"coverage",
|
|
|
|
"CHANGELOG.md"
|
2023-09-29 14:18:21 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
"organizeImports": {
|
|
|
|
"enabled": false
|
|
|
|
},
|
|
|
|
"formatter": {
|
|
|
|
"indentStyle": "space",
|
|
|
|
"ignore": [
|
|
|
|
"node_modules",
|
|
|
|
"docker",
|
|
|
|
"bundle.js",
|
|
|
|
"website/blog",
|
|
|
|
"website/build",
|
|
|
|
"website/core",
|
|
|
|
"website/docs",
|
|
|
|
"website/i18n/*.js",
|
|
|
|
"website/pages",
|
|
|
|
"website/translated_docs",
|
|
|
|
"website",
|
|
|
|
"setupJest.js",
|
|
|
|
"dist",
|
2023-10-02 14:25:46 +02:00
|
|
|
"build",
|
2023-09-29 14:18:21 +02:00
|
|
|
"src/migrations/*.js",
|
|
|
|
"src/migrations/*.json",
|
|
|
|
"src/test/examples/*.json",
|
|
|
|
"website/**/*.js",
|
2023-10-02 14:25:46 +02:00
|
|
|
"coverage"
|
2023-09-29 14:18:21 +02:00
|
|
|
],
|
2023-11-27 13:42:58 +01:00
|
|
|
"indentWidth": 4
|
2023-09-29 14:18:21 +02:00
|
|
|
},
|
|
|
|
"javascript": {
|
|
|
|
"formatter": {
|
|
|
|
"semicolons": "always",
|
|
|
|
"quoteStyle": "single",
|
|
|
|
"jsxQuoteStyle": "single",
|
2023-11-27 13:42:58 +01:00
|
|
|
"indentWidth": 4
|
2023-09-29 14:18:21 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"json": {
|
|
|
|
"formatter": {
|
2023-11-27 13:42:58 +01:00
|
|
|
"indentWidth": 2
|
2023-09-29 14:18:21 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|