35e82fde2c
Removed `parcel` and `babel` config files and dependencies, as the project isn't using these tools anymore. Swapped `rome` for `biome`, `rome` is archived and won't be receiving updates anymore, `biome` is a community fork. Co-authored-by: Pedro Silva <sparta14gaming@gmail.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/163 Co-authored-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com> Co-committed-by: TheSparta <thesparta@noreply.dev.sp-tarkov.com>
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
JSON
{
|
|
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noImplicitBoolean": "off",
|
|
"noParameterAssign": "warn",
|
|
"useTemplate": "warn",
|
|
"useSingleVarDeclarator": "warn"
|
|
},
|
|
"a11y": {
|
|
"useKeyWithClickEvents": "off",
|
|
"useValidAnchor": "warn"
|
|
},
|
|
"suspicious": {
|
|
"noExplicitAny": "off",
|
|
"noDoubleEquals": "warn",
|
|
"noShadowRestrictedNames": "warn",
|
|
"noEmptyInterface":"off"
|
|
},
|
|
"performance": {
|
|
"noDelete": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnnecessaryContinue": "warn"
|
|
},
|
|
"complexity": {
|
|
"useSimplifiedLogicExpression": "warn",
|
|
"useOptionalChain": "warn"
|
|
}
|
|
},
|
|
"ignore": [
|
|
"**/*.js",
|
|
"**/*.json",
|
|
"**/*.mjs",
|
|
"**/Dockerfile.*",
|
|
"**/node_modules/**/*"
|
|
]
|
|
}
|
|
}
|