@devjskit/biome-config
Version:
BiomeJS configuration
76 lines (75 loc) • 2.07 kB
JSON
{
"$schema": "https://biomejs.dev/schemas/2.0.0/schema.json",
"files": {
"includes": ["**", "!**/node_modules/**/*", "!**/dist/**/*", "!**/build/**/*", "!**/.vscode/**/*", "!**/.next/**/*"]
},
"vcs": {
"enabled": true,
"clientKind": "git",
"defaultBranch": "master",
"useIgnoreFile": true
},
"assist": { "actions": { "source": { "organizeImports": "on" } } },
"formatter": {
"enabled": true,
"formatWithErrors": false,
"includes": ["**"],
"attributePosition": "auto",
"indentStyle": "space",
"indentWidth": 2,
"lineEnding": "lf",
"lineWidth": 320
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noForEach": "off",
"noUselessLoneBlockStatements": "off",
"noArguments": "off",
"useArrowFunction": "off",
"useRegexLiterals": "off",
"noBannedTypes": "off",
"useLiteralKeys": "off"
},
"correctness": {
"noEmptyPattern": "off",
"noSwitchDeclarations": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noImplicitAnyLet": "off",
"noShadowRestrictedNames": "off",
"noAssignInExpressions": "off",
"noConfusingVoidType": "off",
"noArrayIndexKey": "off",
"noRedeclare": "off"
},
"security": {
"noDangerouslySetInnerHtml": "off"
},
"style": {
"noNonNullAssertion": "off",
"noUnusedTemplateLiteral": "off",
"useDefaultParameterLast": "off",
"noParameterAssign": "off",
"noUselessElse": "off",
"useImportType": "off",
"useTemplate": "off",
"useAsConstAssertion": "error",
"useEnumInitializers": "error",
"useSelfClosingElements": "error",
"useSingleVarDeclarator": "error",
"useNumberNamespace": "error",
"noInferrableTypes": "error"
},
"a11y": {
"noSvgWithoutTitle": "off"
},
"performance": {
"noDelete": "off"
}
}
}
}