|
| 1 | +{ |
| 2 | + "$schema": "https://biomejs.dev/schemas/2.5.2/schema.json", |
| 3 | + "root": true, |
| 4 | + "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, |
| 5 | + "files": { "ignoreUnknown": false }, |
| 6 | + "formatter": { |
| 7 | + "enabled": true, |
| 8 | + "formatWithErrors": true, |
| 9 | + "indentStyle": "space", |
| 10 | + "indentWidth": 2, |
| 11 | + "lineEnding": "lf", |
| 12 | + "lineWidth": 100, |
| 13 | + "bracketSameLine": false, |
| 14 | + "bracketSpacing": true, |
| 15 | + "useEditorconfig": true, |
| 16 | + "includes": [ |
| 17 | + "**", |
| 18 | + "!**/node_modules", |
| 19 | + "!**/dist", |
| 20 | + "!**/build", |
| 21 | + "!src/components/ui/**", |
| 22 | + "!src/components/minimal-tiptap/**" |
| 23 | + ] |
| 24 | + }, |
| 25 | + "linter": { |
| 26 | + "enabled": true, |
| 27 | + "rules": { |
| 28 | + "recommended": true, |
| 29 | + "a11y": { |
| 30 | + "noAutofocus": "warn", |
| 31 | + "noLabelWithoutControl": "warn", |
| 32 | + "noStaticElementInteractions": "warn", |
| 33 | + "noSvgWithoutTitle": "warn", |
| 34 | + "useButtonType": "warn", |
| 35 | + "useKeyWithClickEvents": "warn", |
| 36 | + "useSemanticElements": "warn", |
| 37 | + "useValidAnchor": "warn" |
| 38 | + }, |
| 39 | + "correctness": { |
| 40 | + "useExhaustiveDependencies": "warn", |
| 41 | + "useHookAtTopLevel": "error", |
| 42 | + "noUnusedImports": { "level": "error", "fix": "safe" } |
| 43 | + }, |
| 44 | + "suspicious": { |
| 45 | + "noExplicitAny": "off", |
| 46 | + "noShadow": "error", |
| 47 | + "noArrayIndexKey": "warn", |
| 48 | + "noUnknownAtRules": "off" |
| 49 | + } |
| 50 | + }, |
| 51 | + "includes": [ |
| 52 | + "**", |
| 53 | + "!**/node_modules/**", |
| 54 | + "!**/dist/**", |
| 55 | + "!**/build/**", |
| 56 | + "!src/components/ui/**", |
| 57 | + "!src/components/minimal-tiptap/**" |
| 58 | + ] |
| 59 | + }, |
| 60 | + "javascript": { |
| 61 | + "formatter": { |
| 62 | + "quoteStyle": "single", |
| 63 | + "jsxQuoteStyle": "single", |
| 64 | + "quoteProperties": "asNeeded", |
| 65 | + "trailingCommas": "all", |
| 66 | + "semicolons": "asNeeded", |
| 67 | + "arrowParentheses": "always", |
| 68 | + "bracketSameLine": false, |
| 69 | + "bracketSpacing": true |
| 70 | + } |
| 71 | + }, |
| 72 | + "css": { |
| 73 | + "formatter": { "quoteStyle": "single" }, |
| 74 | + "parser": { "tailwindDirectives": true } |
| 75 | + }, |
| 76 | + "assist": { |
| 77 | + "enabled": true, |
| 78 | + "actions": { "source": { "organizeImports": "on" } } |
| 79 | + } |
| 80 | +} |
0 commit comments