seyfert/biome.json
2024-03-11 23:03:38 -04:00

76 lines
1.5 KiB
JSON

{
"$schema": "https://biomejs.dev/schemas/1.6.0/schema.json",
"linter": {
"enabled": true,
"rules": {
"all": true,
"suspicious": {
"noExplicitAny": "off",
"noAssignInExpressions": "off",
"noUnsafeDeclarationMerging": "off",
"noRedeclare": "off",
"noEmptyInterface": "off",
"noConfusingVoidType": "off",
"noImplicitAnyLet": "off",
"noEmptyBlockStatements": "off"
},
"style": {
"noNonNullAssertion": "off",
"noParameterAssign": "off",
"useExportType": "error",
"useImportType": "error",
"useNodejsImportProtocol": "error"
},
"correctness": {
"noUnusedVariables": "off"
},
"nursery": {
"useImportRestrictions": "off"
},
"complexity": {
"noUselessLoneBlockStatements": "warn",
"noBannedTypes": "off",
"noForEach": "off",
"noUselessConstructor": "off",
"noThisInStatic": "off"
},
"a11y": {
"all": false
},
"performance": {
"noDelete": "off"
}
}
},
"json": {
"formatter": {
"enabled": true,
"indentWidth": 2,
"lineWidth": 80
}
},
"formatter": {
"enabled": true,
"indentWidth": 2,
"indentStyle": "tab",
"lineWidth": 120,
"lineEnding": "crlf",
"formatWithErrors": true
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"arrowParentheses": "asNeeded",
"bracketSameLine": true,
"semicolons": "always"
}
},
"files": {
"ignoreUnknown": true,
"ignore": ["node_modules/", "build", "lib", "__test__"]
},
"organizeImports": {
"enabled": false
}
}