61 lines
1.3 KiB
JSON
61 lines
1.3 KiB
JSON
|
|
{
|
||
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
||
|
|
"vcs": {
|
||
|
|
"enabled": false,
|
||
|
|
"clientKind": "git",
|
||
|
|
"useIgnoreFile": false
|
||
|
|
},
|
||
|
|
"files": {
|
||
|
|
"ignoreUnknown": false,
|
||
|
|
"includes": ["**"]
|
||
|
|
},
|
||
|
|
"formatter": {
|
||
|
|
"enabled": true,
|
||
|
|
"indentStyle": "space",
|
||
|
|
"indentWidth": 2,
|
||
|
|
"lineEnding": "lf",
|
||
|
|
"lineWidth": 100,
|
||
|
|
"attributePosition": "auto"
|
||
|
|
},
|
||
|
|
"assist": { "actions": { "source": { "organizeImports": "on" } } },
|
||
|
|
"linter": {
|
||
|
|
"enabled": true,
|
||
|
|
"rules": {
|
||
|
|
"recommended": true,
|
||
|
|
"a11y": {
|
||
|
|
"noSvgWithoutTitle": "off",
|
||
|
|
"useKeyWithClickEvents": "off"
|
||
|
|
},
|
||
|
|
"style": {
|
||
|
|
"useImportType": "off",
|
||
|
|
"noNonNullAssertion": "off"
|
||
|
|
},
|
||
|
|
"complexity": {
|
||
|
|
"noForEach": "off",
|
||
|
|
"noImportantStyles": "off",
|
||
|
|
"noBannedTypes": "off"
|
||
|
|
},
|
||
|
|
"suspicious": {
|
||
|
|
"noArrayIndexKey": "off",
|
||
|
|
"noAssignInExpressions": "off",
|
||
|
|
"noExplicitAny": "off",
|
||
|
|
"noUnknownAtRules": "off",
|
||
|
|
"noEmptyInterface": "off"
|
||
|
|
},
|
||
|
|
"correctness": {
|
||
|
|
"noUnusedImports": "error",
|
||
|
|
"noUnknownProperty": "off",
|
||
|
|
"useUniqueElementIds": "off"
|
||
|
|
},
|
||
|
|
"security": {
|
||
|
|
"noDangerouslySetInnerHtml": "off"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"javascript": {
|
||
|
|
"formatter": {
|
||
|
|
"quoteStyle": "single"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|