mirror of
https://github.com/catppuccin/web-file-explorer-icons.git
synced 2026-01-09 05:50:49 +08:00
73 lines
1.4 KiB
JSON
73 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
|
|
"vcs": {
|
|
"enabled": true,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": true
|
|
},
|
|
"files": {
|
|
"ignore": ["vscode-icons/**"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"formatWithErrors": false,
|
|
"useEditorconfig": true,
|
|
"lineWidth": 80,
|
|
"ignore": ["pnpm-lock.yaml"]
|
|
},
|
|
"organizeImports": { "enabled": true },
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedImports": "warn",
|
|
"noUnusedVariables": "warn",
|
|
"useArrayLiterals": "error"
|
|
},
|
|
"style": {
|
|
"noNegationElse": "error",
|
|
"useCollapsedElseIf": "error",
|
|
"useConsistentArrayType": {
|
|
"level": "error",
|
|
"options": {
|
|
"syntax": "generic"
|
|
}
|
|
},
|
|
"useForOf": "error"
|
|
},
|
|
"suspicious": {
|
|
"useAwait": "error",
|
|
"noConsole": "error"
|
|
},
|
|
"complexity": {
|
|
"useSimplifiedLogicExpression": "error"
|
|
}
|
|
}
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"jsxQuoteStyle": "double",
|
|
"quoteProperties": "asNeeded",
|
|
"trailingCommas": "all",
|
|
"semicolons": "always",
|
|
"arrowParentheses": "always",
|
|
"bracketSpacing": true,
|
|
"bracketSameLine": false,
|
|
"quoteStyle": "single",
|
|
"attributePosition": "auto"
|
|
}
|
|
},
|
|
"css": {
|
|
"formatter": {
|
|
"quoteStyle": "single"
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": ["**/*.{yml,yaml,md}"],
|
|
"formatter": { "indentStyle": "space", "indentWidth": 2 }
|
|
}
|
|
]
|
|
}
|