Files
Iosevka/biome.json

80 lines
1.2 KiB
JSON

{
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": true,
"includes": [
"pages/*.tsx",
"shared/**/*.ts",
"shared/**/*.tsx",
"!.next",
"!eslint.config.mjs",
"!next.config.js"
]
},
"formatter": {
"enabled": true,
"indentStyle": "tab",
"indentWidth": 4,
"lineEnding": "lf",
"lineWidth": 100
},
"javascript": {
"formatter": {
"arrowParentheses": "asNeeded"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noExcessiveCognitiveComplexity": "off"
},
"style": {
"useConst": "error"
},
"a11y": "off",
"suspicious": {
"noArrayIndexKey": "off"
}
}
},
"overrides": [
{
"includes": [".vscode/**/*.json"],
"json": {
"parser": {
"allowComments": true,
"allowTrailingCommas": true
}
}
}
],
"assist": {
"actions": {
"source": {
"organizeImports": {
"level": "on",
"options": {
"groups": [
[":NODE:"],
":BLANK_LINE:",
[":PACKAGE:"],
":BLANK_LINE:",
"../**",
":BLANK_LINE:",
"./**"
]
}
}
}
}
}
}