mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-27 11:06:44 +00:00
* bump pre-commit * add biome * autofixes * use number functions * fix string usage * use specific variable definition * fix missing translations * reduce alerts * add missing keys * fix index creation * fix more strings * fix types * fix function * add missing keys * fiy array access * fix string functions * do not redefine var * extend exlcusions * reduce unnecessary operators * simplify request * use number functions * fix missing translation * add missing type * fix filter * use newer func * remove unused fragment * fix confusing assigment * pass children as elements * add missing translation * fix imports * fix import * auto-fix problems * add autfix for unused imports * fix SAST error * fix useSelfClosingElements * fix useTemplate * add codespell exception * Update pui_printing.spec.ts * Update pui_printing.spec.ts * add vscode defaults
41 lines
903 B
JSON
41 lines
903 B
JSON
{
|
|
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
|
|
"javascript": {
|
|
"formatter": {
|
|
"quoteStyle": "single",
|
|
"jsxQuoteStyle": "single",
|
|
"trailingCommas": "none",
|
|
"indentStyle": "space"
|
|
}
|
|
},
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious" : {
|
|
"noExplicitAny": "off",
|
|
"noDoubleEquals": "off",
|
|
"noArrayIndexKey": "off",
|
|
"useDefaultSwitchClauseLast": "off"
|
|
},
|
|
"style": {
|
|
"noUselessElse": "off",
|
|
"noNonNullAssertion": "off",
|
|
"noParameterAssign": "off"
|
|
}, "correctness":{
|
|
"useExhaustiveDependencies": "off",
|
|
"useJsxKeyInIterable": "off",
|
|
"noUnsafeOptionalChaining": "off",
|
|
"noSwitchDeclarations": "off",
|
|
"noUnusedImports":"error"
|
|
}, "complexity": {
|
|
"noBannedTypes": "off",
|
|
"noExtraBooleanCast": "off",
|
|
"noForEach": "off",
|
|
"noUselessSwitchCase": "off",
|
|
"useLiteralKeys":"off"
|
|
}, "performance": {
|
|
"noDelete":"off"
|
|
}
|
|
}
|
|
}
|
|
}
|