Server/project/rome.json

43 lines
1.2 KiB
JSON
Raw Normal View History

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",
2023-07-15 11:43:09 +02:00
"noShadowRestrictedNames": "warn",
"noEmptyInterface":"off"
2023-03-03 16:23:46 +01:00
},
"performance": {
"noDelete": "off"
},
"correctness": {
"noUnnecessaryContinue": "warn"
},
"complexity": {
"useSimplifiedLogicExpression": "warn",
"useOptionalChain": "warn"
}
},
"ignore": [
"**/*.js",
"**/*.json",
"**/*.mjs",
"**/Dockerfile.*",
2023-03-03 16:23:46 +01:00
"**/node_modules/**/*"
]
}
}