77 lines
1.5 KiB
JSON
77 lines
1.5 KiB
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"vcs": {
|
|
"enabled": false,
|
|
"clientKind": "git",
|
|
"useIgnoreFile": false
|
|
},
|
|
"files": {
|
|
"ignoreUnknown": false,
|
|
"ignore": [
|
|
"examples/**",
|
|
"**/dist/**",
|
|
"**/build/**",
|
|
"node_modules",
|
|
"**/node_modules/**",
|
|
"**/*.css",
|
|
"**/*.astro",
|
|
"packages/website",
|
|
"kitchen-sink"
|
|
]
|
|
},
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": false,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedFunctionParameters": {
|
|
"level": "warn",
|
|
"fix": "unsafe"
|
|
},
|
|
"noUnusedImports": {
|
|
"level": "warn",
|
|
"fix": "unsafe"
|
|
},
|
|
"noUnusedLabels": {
|
|
"level": "warn",
|
|
"fix": "unsafe"
|
|
},
|
|
"noUnusedPrivateClassMembers": {
|
|
"level": "warn",
|
|
"fix": "unsafe"
|
|
},
|
|
"noUnusedVariables": {
|
|
"level": "warn",
|
|
"fix": "unsafe"
|
|
}
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "error",
|
|
"noConsole": "error"
|
|
},
|
|
"security": {
|
|
"noDangerouslySetInnerHtml": "error"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "error"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "space",
|
|
"indentWidth": 2,
|
|
"lineWidth": 80,
|
|
"lineEnding": "lf"
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"trailingCommas": "all"
|
|
}
|
|
}
|
|
}
|