| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- {
- "$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
- "vcs": {
- "enabled": true,
- "clientKind": "git",
- "useIgnoreFile": true
- },
- "assist": { "actions": { "source": { "organizeImports": "on" } } },
- "linter": {
- "enabled": true,
- "rules": {
- "recommended": true,
- "a11y": {
- "recommended": false
- },
- "correctness": {
- "noUnusedImports": "error",
- "noUnusedVariables": "warn",
- "useExhaustiveDependencies": "warn"
- },
- "suspicious": {
- "noExplicitAny": "off",
- "noArrayIndexKey": "off",
- "noImplicitAnyLet": "off",
- "noTemplateCurlyInString": "off",
- "useIterableCallbackReturn": "off",
- "noShadowRestrictedNames": "off",
- "noAssignInExpressions": "off"
- },
- "style": {
- "noNonNullAssertion": "off"
- },
- "complexity": {
- "noStaticOnlyClass": "off"
- },
- "performance": {
- "noImgElement": "off"
- }
- }
- },
- "formatter": {
- "enabled": true,
- "indentStyle": "space",
- "indentWidth": 2,
- "lineWidth": 100
- },
- "javascript": {
- "formatter": {
- "quoteStyle": "double",
- "trailingCommas": "es5",
- "arrowParentheses": "always",
- "semicolons": "always"
- }
- },
- "css": {
- "parser": {
- "cssModules": true,
- "tailwindDirectives": true
- },
- "formatter": {
- "enabled": true
- },
- "linter": {
- "enabled": false
- }
- },
- "overrides": [
- {
- "includes": ["**/src/components/ui/**"],
- "linter": {
- "rules": {
- "suspicious": {
- "noExplicitAny": "off"
- },
- "correctness": {
- "noUnusedVariables": "off"
- },
- "security": {
- "noDangerouslySetInnerHtml": "off"
- }
- }
- }
- },
- {
- "includes": ["**/tests/**", "**/*.test.ts", "**/*.test.tsx"],
- "linter": {
- "rules": {
- "correctness": {
- "noUnusedVariables": "off",
- "noUnusedImports": "off"
- }
- }
- },
- "assist": {
- "actions": {
- "source": {
- "organizeImports": "off"
- }
- }
- }
- }
- ],
- "files": {
- "includes": [
- "src/**",
- "tests/**",
- "*.ts",
- "*.tsx",
- "*.json",
- "*.mjs",
- "*.cjs",
- "!**/node_modules",
- "!**/.next",
- "!**/dist",
- "!**/drizzle",
- "!**/docs-site"
- ]
- }
- }
|