-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Labels
package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginworking as intendedIssues that are closed as they are working as intendedIssues that are closed as they are working as intended
Description
Any configuration arguments beyond the first ("error") generate an error on startup.
Repro
"@typescript-eslint/explicit-member-accessibility": ["error", { "accessibility": "explicit" }],
Error: /home/talin/Projects/k4/.eslintrc.js:
Configuration for rule "@typescript-eslint/explicit-member-accessibility" is invalid:
Value [{"accessibility":"explicit"}] should NOT have more than 0 items.
Expected Result
Should be able to configure the rule.
Actual Result
Linter exits with a fatal error before processing any files.
Additional Info
Full configuration at https://github.com/viridia/klendathu/blob/master/.eslintrc.js
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
1.6.0 |
@typescript-eslint/parser |
1.6.0 |
TypeScript |
3.3.3333 |
ESLint |
5.16.0 |
node |
v10.11.0 |
npm |
6.9.0 |
Xapphire13, XGHeaven and onlywei
Metadata
Metadata
Assignees
Labels
package: eslint-pluginIssues related to @typescript-eslint/eslint-pluginIssues related to @typescript-eslint/eslint-pluginworking as intendedIssues that are closed as they are working as intendedIssues that are closed as they are working as intended