infoalloggi-monorepo/apps/infoalloggi/biome.json
Marco Pedone 7fdef1c945 fix: update package dependencies and improve null checks
- Updated @tiptap packages to version 3.22.3 for improved functionality.
- Upgraded react-email to version 5.2.10 for bug fixes.
- Updated @biomejs/biome to version 2.4.11 for better performance.
- Upgraded knip to version 6.4.1 for enhanced features.
- Improved null checks in modale_contatti.tsx, trpc.ts, annunci.controller.ts, and event_queue.controller.ts for better error handling.
2026-04-13 10:28:34 +02:00

140 lines
No EOL
2.7 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/2.4.11/schema.json",
"assist": {
"actions": {
"source": {
"organizeImports": "on",
"useSortedAttributes": "on"
}
},
"enabled": true
},
"files": {
"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",
"!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",
"!fic_cities.json",
"!fic_nations.json",
"!gi_comuni_cap.json",
"!gi_nazioni.json"
]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"css": {
"parser": {
"tailwindDirectives": true
}
},
"linter": {
"domains": {
"next": "recommended",
"project": "none",
"react": "recommended"
},
"enabled": true,
"rules": {
"a11y": {
"noAutofocus": "off",
"noNoninteractiveElementInteractions": "error",
"useSemanticElements": "off",
"useMediaCaption": "off"
},
"complexity": {
"noUselessFragments": "off"
},
"correctness": {
"noUndeclaredVariables": "on",
"useExhaustiveDependencies": "off",
"useHookAtTopLevel": "off",
"useParseIntRadix": "off",
"noChildrenProp": "error",
"noReactPropAssignments": "error"
},
"nursery": {
"useExhaustiveSwitchCases": "on",
"useSortedClasses": {
"level": "info",
"fix": "safe",
"options": {}
}
},
"performance": {
"noImgElement": "off",
"useGoogleFontPreconnect": "on"
},
"recommended": true,
"security": {
"noDangerouslySetInnerHtml": "off"
},
"style": {
"noUselessElse": "on",
"noYodaExpression": "on",
"useThrowNewError": "on",
"useThrowOnlyError": "on"
},
"suspicious": {
"noArrayIndexKey": "info",
"noDocumentImportInPage": "on",
"noHeadImportInDocument": "on",
"noUnknownAtRules": "off",
"useIterableCallbackReturn": "off"
}
}
},
"plugins": [
"biome_plugins/missing_select.grit",
"biome_plugins/missing_where.grit",
"biome_plugins/null.grit",
"biome_plugins/missing_returning.grit"
],
"vcs": {
"clientKind": "git",
"enabled": true,
"root": "../../",
"useIgnoreFile": false
}
}