Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@typescript-eslint/ban-ts-comment rule does not work with allow-with-description #6

Open
CptSchnitz opened this issue Aug 3, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@CptSchnitz
Copy link
Collaborator

https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/ban-ts-comment.md

(node:7381) UnhandledPromiseRejectionWarning: Error: package.json:
	Configuration for rule "@typescript-eslint/ban-ts-comment" is invalid:
	Value {"ts-except-error":"allow-with-description","ts-ignore":"allow-with-description","ts-nocheck":"allow-with-description","ts-check":"allow-with-description","minimumDescriptionLength":3} should NOT have additional properties.

    at validateRuleOptions (/home/oferade/repos/conflicts-ui/node_modules/eslint/lib/shared/config-validator.js:138:19)
    at /home/oferade/repos/conflicts-ui/node_modules/eslint/lib/shared/config-validator.js:193:9
    at Array.forEach (<anonymous>)
    at validateRules (/home/oferade/repos/conflicts-ui/node_modules/eslint/lib/shared/config-validator.js:190:30)
    at validateConfigArray (/home/oferade/repos/conflicts-ui/node_modules/eslint/lib/shared/config-validator.js:337:9)
    at CascadingConfigArrayFactory._finalizeConfigArray (/home/oferade/repos/conflicts-ui/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:417:13)
    at CascadingConfigArrayFactory.getConfigArrayForFile (/home/oferade/repos/conflicts-ui/node_modules/eslint/lib/cli-engine/cascading-config-array-factory.js:271:21)
    at CLIEngine.getConfigForFile (/home/oferade/repos/conflicts-ui/node_modules/eslint/lib/cli-engine/cli-engine.js:931:14)
    at /home/oferade/.vscode/extensions/dbaeumer.vscode-eslint-2.1.8/server/out/eslintServer.js:1:37396
    at le (/home/oferade/.vscode/extensions/dbaeumer.vscode-eslint-2.1.8/server/out/eslintServer.js:1:46704)```
@syncush syncush added the bug Something isn't working label Aug 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants