Server/project/rome.json
2023-07-15 10:43:09 +01:00

42 lines
1.2 KiB
JSON

{
"$schema": "./node_modules/rome/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/**/*"
]
}
}