infoalloggi-monorepo/apps/infoalloggi/biome.json

136 lines
2.6 KiB
JSON
Raw Normal View History

{
"$schema": "https://biomejs.dev/schemas/2.4.6/schema.json",
2025-08-29 16:18:32 +02:00
"assist": {
"actions": {
"source": {
"organizeImports": "on",
"useSortedAttributes": "on"
2025-08-29 16:18:32 +02:00
}
},
"enabled": true
},
"files": {
2025-08-29 16:18:32 +02:00
"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",
2025-08-28 18:27:07 +02:00
"!src/i18n/comuni.ts",
"!src/i18n/nazioni.ts",
"!src/i18n/provincie.ts",
"!src/styles/globals.css",
"!!**/node_modules",
"!!**/dist",
"!!**/build",
"!!**/.next",
"!!**/.git",
"!!**/public",
"!!**/.github",
"!!**/.vscode",
"!!**/certificates",
"!!**/headers",
"!!**/schemas"
2025-08-29 16:18:32 +02:00
]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
2025-08-29 16:18:32 +02:00
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"linter": {
"domains": {
"next": "recommended",
"project": "none",
"react": "recommended"
},
2025-08-29 16:18:32 +02:00
"enabled": true,
"rules": {
"a11y": {
2025-08-29 16:18:32 +02:00
"noAutofocus": "off",
2025-08-28 18:27:07 +02:00
"noNoninteractiveElementInteractions": "error",
"useSemanticElements": "off",
"useMediaCaption": "off"
2025-08-28 18:27:07 +02:00
},
"complexity": {
"noUselessFragments": "off"
},
"correctness": {
"noUndeclaredVariables": "on",
2025-08-28 18:27:07 +02:00
"useExhaustiveDependencies": "off",
2025-08-29 16:18:32 +02:00
"useHookAtTopLevel": "off",
"useParseIntRadix": "off",
"noChildrenProp": "error",
"noReactPropAssignments": "error"
2025-08-28 18:27:07 +02:00
},
"nursery": {
2025-10-10 16:18:43 +02:00
"useExhaustiveSwitchCases": "on",
"useSortedClasses": {
"level": "info",
"fix": "safe",
"options": {}
}
},
2025-08-28 18:27:07 +02:00
"performance": {
"noImgElement": "off",
"useGoogleFontPreconnect": "on"
2025-08-28 18:27:07 +02:00
},
2025-08-29 16:18:32 +02:00
"recommended": true,
2025-08-28 18:27:07 +02:00
"security": {
"noDangerouslySetInnerHtml": "off"
2025-08-29 16:18:32 +02:00
},
"style": {
"noUselessElse": "on",
"noYodaExpression": "on",
"useThrowNewError": "on",
"useThrowOnlyError": "on"
},
2025-08-29 16:18:32 +02:00
"suspicious": {
"noArrayIndexKey": "info",
"noDocumentImportInPage": "on",
"noHeadImportInDocument": "on",
2025-08-29 16:18:32 +02:00
"noUnknownAtRules": "off",
"useIterableCallbackReturn": "off"
}
}
},
"plugins": [
"biome_plugins/missing_select.grit",
"biome_plugins/missing_where.grit",
"biome_plugins/null.grit",
"biome_plugins/missing_returning.grit"
],
2025-08-29 16:18:32 +02:00
"vcs": {
"clientKind": "git",
"enabled": true,
2025-08-29 16:18:32 +02:00
"root": "../../",
"useIgnoreFile": false
}
}