mirror of
https://github.com/classchartsapi/classcharts-api-js.git
synced 2026-05-14 11:58:13 +00:00
chore: syntax & biome.js changes
This commit is contained in:
parent
790a5a6aa6
commit
a64fd6a718
8 changed files with 67 additions and 42 deletions
16
biome.json
16
biome.json
|
|
@ -6,7 +6,21 @@
|
|||
"linter": {
|
||||
"enabled": true,
|
||||
"rules": {
|
||||
"recommended": true
|
||||
"recommended": true,
|
||||
"complexity": {
|
||||
"noExcessiveCognitiveComplexity": "warn"
|
||||
},
|
||||
"correctness": {
|
||||
"noUnusedVariables": "warn"
|
||||
},
|
||||
"style": {
|
||||
"useBlockStatements": "warn",
|
||||
"useShorthandArrayType": "warn",
|
||||
"useShorthandAssign": "warn"
|
||||
},
|
||||
"suspicious": {
|
||||
"noApproximativeNumericConstant": "error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue