Files

105 lines
2.3 KiB
JSON
Raw Permalink Normal View History

{
"$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.mts",
"**/*.mjs",
"**/*.json",
"!**/node_modules",
"!**/dist",
"!**/.vercel",
"!**/.changeset",
"!**/.cursor",
"!**/.well-known/workflow",
"!**/.prebuilt",
"!**/.turbo",
"!**/.next",
"!**/.env",
"!target",
"!**/tests/fixture",
"!**/tests/errors",
"!**/.workflow-data",
"!**/.nuxt",
"!**/.nitro",
"!**/.output",
"!**/.tanstack",
"!**/routeTree.gen.ts"
],
"ignoreUnknown": true
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"lineWidth": 80,
"attributePosition": "auto",
"useEditorconfig": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"noNoninteractiveElementToInteractiveRole": "warn",
"noStaticElementInteractions": "warn",
"noSvgWithoutTitle": "warn",
"useFocusableInteractive": "warn",
"useKeyWithClickEvents": "warn",
"useSemanticElements": "warn"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
},
"complexity": {
"noExcessiveCognitiveComplexity": "warn",
"noVoid": "off"
},
"correctness": {
"noUnusedVariables": "error",
"useExhaustiveDependencies": "warn"
},
"style": {
"noNonNullAssertion": "warn",
"useConst": "error",
"useImportType": "error"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "warn"
},
"performance": {
"noAccumulatingSpread": "warn"
}
}
},
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"quoteProperties": "asNeeded",
"trailingCommas": "es5",
"semicolons": "always",
"arrowParentheses": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"quoteStyle": "single",
"attributePosition": "auto"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}