2023-03-03 16:23:46 +01:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/rome/configuration_schema.json",
|
|
|
|
"linter": {
|
|
|
|
"enabled": true,
|
|
|
|
"rules": {
|
|
|
|
"recommended": true,
|
|
|
|
"style": {
|
|
|
|
"noImplicitBoolean": "off",
|
2023-07-09 21:17:00 +02:00
|
|
|
"noParameterAssign": "warn",
|
2023-03-03 16:23:46 +01:00
|
|
|
"useTemplate": "warn",
|
|
|
|
"useSingleVarDeclarator": "warn"
|
|
|
|
},
|
|
|
|
"a11y": {
|
|
|
|
"useKeyWithClickEvents": "off",
|
|
|
|
"useValidAnchor": "warn"
|
|
|
|
},
|
|
|
|
"suspicious": {
|
|
|
|
"noExplicitAny": "off",
|
|
|
|
"noDoubleEquals": "warn",
|
|
|
|
"noShadowRestrictedNames": "warn"
|
|
|
|
},
|
|
|
|
"performance": {
|
|
|
|
"noDelete": "off"
|
|
|
|
},
|
|
|
|
"correctness": {
|
|
|
|
"noUnnecessaryContinue": "warn"
|
|
|
|
},
|
|
|
|
"complexity": {
|
|
|
|
"useSimplifiedLogicExpression": "warn",
|
|
|
|
"useOptionalChain": "warn"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"ignore": [
|
|
|
|
"**/*.js",
|
|
|
|
"**/*.json",
|
|
|
|
"**/*.mjs",
|
|
|
|
"**/*.Dockerfile",
|
|
|
|
"**/node_modules/**/*"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|