@caioms/biomejs-config
Version:
Configuração compartilhada do BiomeJS para meus projetos
66 lines • 1.43 kB
JSON
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"organizeImports": {
"enabled": true
},
"formatter": {
"indentStyle": "space",
"indentWidth": 4,
"lineWidth": 80
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded",
"jsxQuoteStyle": "double",
"quoteStyle": "single",
"semicolons": "asNeeded",
"trailingCommas": "es5"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off",
"useSelfClosingElements": "off",
"useImportType": "off",
"noUselessElse": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "warn"
},
"complexity": {
"noStaticOnlyClass": "off",
"noForEach": "off",
"useOptionalChain": "info"
},
"a11y": {
"useValidAnchor": "warn",
"useButtonType": "off"
},
"correctness": {
"useExhaustiveDependencies": "warn",
"noUnreachable": "warn",
"noSwitchDeclarations": "info"
},
"security": {
"noDangerouslySetInnerHtml": "warn"
}
}
},
"files": {
"ignore": [
"node_modules",
"tsconfig*.json",
"public/*",
"dist/*",
"*.d.ts",
"*.js",
"*.js.map",
"*.js.map.json",
"*.js.map.json.map"
]
}
}