68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"formatter": {
|
|
"enabled": true,
|
|
"indentStyle": "tab",
|
|
"lineWidth": 100
|
|
},
|
|
"css": {
|
|
"formatter": {
|
|
"enabled": true
|
|
},
|
|
"linter": {
|
|
"enabled": true
|
|
}
|
|
},
|
|
"linter": {
|
|
"enabled": true,
|
|
"rules": {
|
|
"recommended": true,
|
|
"suspicious": {
|
|
"noExplicitAny": "error",
|
|
"noCommentText": "error",
|
|
"noTsIgnore": "error",
|
|
"noArrayIndexKey": "off",
|
|
"noConsole": "error",
|
|
"noDuplicateProperties": "error"
|
|
},
|
|
"complexity": {
|
|
"noImportantStyles": "error"
|
|
},
|
|
"a11y": {
|
|
"useSemanticElements": "off",
|
|
"useKeyWithClickEvents": "off",
|
|
"noStaticElementInteractions": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnusedImports": "error",
|
|
"noUnusedVariables": "error",
|
|
"useExhaustiveDependencies": "error",
|
|
"noUnknownUnit": "error"
|
|
}
|
|
}
|
|
},
|
|
"overrides": [
|
|
{
|
|
"includes": [
|
|
"**/*.test.ts",
|
|
"**/*.test.tsx",
|
|
"**/*.test.js",
|
|
"**/*test*.ts"
|
|
],
|
|
"linter": {
|
|
"rules": {
|
|
"suspicious": {
|
|
"noExplicitAny": "off"
|
|
},
|
|
"correctness": {
|
|
"noUnusedVariables": "off",
|
|
"noUnusedImports": "off"
|
|
},
|
|
"style": {
|
|
"noNonNullAssertion": "off"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|