debian-image-builder-frontend/.eslintrc-typescript.yml
regexowl baf58829eb ESLint: Make no-unused-vars rule stricter
This switches the `no-unused-vars` from warning to error and fixes the errors this caused.
2024-04-30 10:48:55 +02:00

13 lines
325 B
YAML

extends: [
"plugin:@typescript-eslint/recommended",
]
rules:
"@typescript-eslint/ban-ts-comment":
- error
- ts-expect-error: "allow-with-description"
ts-ignore: "allow-with-description"
ts-nocheck: true
ts-check: true
minimumDescriptionLength: 5
"@typescript-eslint/ban-types": off