40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "./node_modules/rome/configuration_schema.json",
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"style": {
|
|
"noImplicitBoolean": "off",
|
|
"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/**/*"
|
|
]
|
|
}
|
|
} |