2023-09-29 14:18:21 +02:00
|
|
|
{
|
|
|
|
"$schema": "https://biomejs.dev/schemas/1.2.2/schema.json",
|
|
|
|
"linter": {
|
|
|
|
"enabled": true,
|
|
|
|
"rules": {
|
|
|
|
"recommended": true,
|
|
|
|
"performance": {
|
|
|
|
"noDelete": "off"
|
|
|
|
},
|
|
|
|
"correctness": {
|
|
|
|
"noUnsafeOptionalChaining": "off"
|
|
|
|
},
|
|
|
|
"complexity": {
|
|
|
|
"noBannedTypes": "off",
|
|
|
|
"noUselessConstructor": "off",
|
|
|
|
"useOptionalChain": "warn",
|
|
|
|
"noStaticOnlyClass": "off"
|
|
|
|
},
|
|
|
|
"style": {
|
|
|
|
"noNonNullAssertion": "off",
|
|
|
|
"noInferrableTypes": "off",
|
|
|
|
"noUnusedTemplateLiteral": "off",
|
|
|
|
"useSingleVarDeclarator": "off"
|
|
|
|
},
|
|
|
|
"suspicious": {
|
|
|
|
"noExplicitAny": "off",
|
|
|
|
"noExtraNonNullAssertion": "off",
|
|
|
|
"noRedeclare": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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
|
|
|
],
|
|
|
|
"indentSize": 4
|
|
|
|
},
|
|
|
|
"javascript": {
|
|
|
|
"formatter": {
|
|
|
|
"semicolons": "always",
|
|
|
|
"quoteStyle": "single",
|
|
|
|
"jsxQuoteStyle": "single",
|
|
|
|
"indentSize": 4
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"json": {
|
|
|
|
"formatter": {
|
|
|
|
"indentSize": 2
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|