UNPKG

@doremijs/biome-config

Version:

Shared biome configuration for workspace

84 lines (83 loc) 1.7 kB
{ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", "files": { "include": ["*"], "ignoreUnknown": true, "ignore": [ "node_modules", "dist", "build", "coverage", "tmp", "logs", "docs", "test", "tests", "examples", "demo", "example", "public/**/*.js" ] }, "vcs": { "enabled": true, "clientKind": "git", "useIgnoreFile": true }, "linter": { "enabled": true, "rules": { "recommended": true, "complexity": { "noBannedTypes": "off" }, "correctness": { "noUnusedImports": "warn", "useExhaustiveDependencies": "warn" }, "style": { "noNonNullAssertion": "warn" }, "suspicious": { "noExplicitAny": "warn", "noAsyncPromiseExecutor": "off", "noArrayIndexKey": "warn" }, "a11y": { "useKeyWithClickEvents": "off", "useValidAnchor": "off", "useButtonType": "off", "noAutofocus": "off" } } }, "formatter": { "enabled": true, "indentStyle": "space", "indentWidth": 2, "lineEnding": "lf", "lineWidth": 120 }, "organizeImports": { "enabled": true }, "javascript": { "formatter": { "enabled": true, "arrowParentheses": "asNeeded", "bracketSpacing": true, "bracketSameLine": false, "jsxQuoteStyle": "double", "quoteProperties": "asNeeded", "quoteStyle": "single", "semicolons": "asNeeded", "trailingCommas": "none" } }, "css": { "parser": { "cssModules": true }, "formatter": { "enabled": true } } }