* maybe use biome * import organising * Removed unused new fmt commands; fix to not use linter * Don't use fmt:generated - fmt is fast, but also use Makefile for this sort of thing --------- Co-authored-by: lee-at-zoo-corp <lee@zoo.dev>
49 lines
933 B
JSON
49 lines
933 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.6.0/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"correctness": {
|
|
"noUnusedVariables": "error"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "warn"
|
|
},
|
|
"style": {
|
|
"useBlockStatements": "error",
|
|
"useShorthandArrayType": "error"
|
|
}
|
|
}
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentWidth": 2,
|
|
"indentStyle": "space",
|
|
"lineWidth": 80,
|
|
"formatWithErrors": true
|
|
},
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "double",
|
|
"trailingCommas": "es5",
|
|
"semicolons": "asNeeded"
|
|
},
|
|
"parser": {
|
|
"unsafeParameterDecoratorsEnabled": true
|
|
}
|
|
},
|
|
"css": {
|
|
"parser": {
|
|
"cssModules": true
|
|
}
|
|
},
|
|
"files": {
|
|
"ignore": ["**/*.json"]
|
|
}
|
|
}
|