mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
3ea9496a8b
The docs were ignored by biome, this fixes it. With this change - The docs are no longer ignored by the formatter and the linter - Custom components in the docs were updated to satisfy the linter - All the files in the docs were formatted. There is no new feature or change.
92 lines
2.0 KiB
JSON
92 lines
2.0 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.5.1/schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnsafeOptionalChaining": "off",
|
|
"useExhaustiveDependencies": "off"
|
|
},
|
|
"complexity": {
|
|
"noBannedTypes": "off",
|
|
"noUselessConstructor": "off",
|
|
"useOptionalChain": "warn",
|
|
"noStaticOnlyClass": "off",
|
|
"noForEach": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off",
|
|
"noInferrableTypes": "off",
|
|
"noUnusedTemplateLiteral": "off",
|
|
"useSingleVarDeclarator": "off",
|
|
"noUselessElse": "off"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noExtraNonNullAssertion": "off",
|
|
"noRedeclare": "off",
|
|
"noPrototypeBuiltins": "off",
|
|
"noConfusingVoidType": "off"
|
|
},
|
|
"performance": {
|
|
"noAccumulatingSpread": "off",
|
|
"noDelete": "off"
|
|
},
|
|
"nursery": {
|
|
"noUnusedImports": "warn"
|
|
}
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
}
|