124 lines
2.3 KiB
JSON
124 lines
2.3 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/2.2.2/schema.json",
|
|
"assist": {
|
|
"actions": {
|
|
"source": {
|
|
"organizeImports": "on",
|
|
"useSortedAttributes": "on"
|
|
}
|
|
},
|
|
"enabled": true
|
|
},
|
|
|
|
"files": {
|
|
"experimentalScannerIgnores": [
|
|
"node_modules",
|
|
"dist",
|
|
"build",
|
|
".next",
|
|
".git",
|
|
"public",
|
|
".github",
|
|
".vscode",
|
|
"certificates",
|
|
"headers",
|
|
"schemas"
|
|
],
|
|
"ignoreUnknown": true,
|
|
"includes": [
|
|
"**",
|
|
"!node_modules",
|
|
"!.git",
|
|
"!out",
|
|
"!public",
|
|
"!.github",
|
|
"!.vscode",
|
|
"!certificates",
|
|
"!.next",
|
|
"!.env",
|
|
"!.gitignore",
|
|
"!check-env-vars.js",
|
|
"!headers",
|
|
"!schemas",
|
|
"!kyselyRules",
|
|
"!prettier.config.cjs",
|
|
"!postcss.config.cjs",
|
|
"!.dockerignore",
|
|
"!Dockerfile",
|
|
"!*compose.yml",
|
|
"!.kanelrc.js",
|
|
"!TODO",
|
|
"!*.d.ts",
|
|
"!src/i18n/comuni.ts",
|
|
"!src/i18n/nazioni.ts",
|
|
"!src/i18n/provincie.ts",
|
|
"!src/styles/globals.css"
|
|
]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "double"
|
|
}
|
|
},
|
|
"linter": {
|
|
"domains": {
|
|
"next": "recommended",
|
|
"project": "recommended",
|
|
"react": "recommended"
|
|
},
|
|
"enabled": true,
|
|
"rules": {
|
|
"a11y": {
|
|
"noAutofocus": "off",
|
|
"noNoninteractiveElementInteractions": "error",
|
|
"useSemanticElements": "off"
|
|
},
|
|
"complexity": {
|
|
"noUselessFragments": "off"
|
|
},
|
|
|
|
"correctness": {
|
|
"noUndeclaredVariables": "on",
|
|
"useExhaustiveDependencies": "off",
|
|
"useHookAtTopLevel": "off",
|
|
"useParseIntRadix": "off"
|
|
},
|
|
"nursery": {
|
|
"useExhaustiveSwitchCases": "on"
|
|
},
|
|
"performance": {
|
|
"noImgElement": "off",
|
|
"useGoogleFontPreconnect": "on"
|
|
},
|
|
"recommended": true,
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "off"
|
|
},
|
|
"style": {
|
|
"noNestedTernary": "info",
|
|
"noUselessElse": "on",
|
|
"noYodaExpression": "on",
|
|
"useThrowNewError": "on",
|
|
"useThrowOnlyError": "on"
|
|
},
|
|
"suspicious": {
|
|
"noArrayIndexKey": "off",
|
|
"noDocumentImportInPage": "on",
|
|
"noHeadImportInDocument": "on",
|
|
"noUnknownAtRules": "off",
|
|
"useIterableCallbackReturn": "off"
|
|
}
|
|
}
|
|
},
|
|
"plugins": ["biome_plugins/missing.grit", "biome_plugins/null.grit"],
|
|
"vcs": {
|
|
"clientKind": "git",
|
|
"enabled": true,
|
|
"root": "../../",
|
|
"useIgnoreFile": false
|
|
}
|
|
}
|