* chore: replace eslint & prettier w/ biomejs * fix syntax error in ci.yml workflow * ensure that build CI jobs only run if check job succeeds to save resources
36 lines
622 B
JSON
36 lines
622 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
|
|
"organizeImports": {
|
|
"enabled": true,
|
|
"ignore": ["dist", "node_modules", ".temp"]
|
|
},
|
|
"formatter": {
|
|
"enabled": true,
|
|
"ignore": ["dist", "node_modules", ".temp"]
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"ignore": ["dist", "node_modules", ".temp"],
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"useShorthandFunctionType": "off"
|
|
},
|
|
"correctness": {
|
|
"useJsxKeyInIterable": "off"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"include": ["test"],
|
|
"linter": {
|
|
"rules": {
|
|
"a11y": {
|
|
"useHtmlLang": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|