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

Allow eslint.rules.customizations to target all fixable rules #1634

Closed
luxaritas opened this issue Apr 13, 2023 · 0 comments · Fixed by #1841 · May be fixed by #1705
Closed

Allow eslint.rules.customizations to target all fixable rules #1634

luxaritas opened this issue Apr 13, 2023 · 0 comments · Fixed by #1841 · May be fixed by #1705
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities
Milestone

Comments

@luxaritas
Copy link

#267 and #680 were closed through the implementation of the eslint.rules.customizations configuration option. However, it does not fully solve the use case of wanting to hide in-editor annotations for rules that will be autofixed - it would require manually adding overrides for specific rules, which is both time consuming/verbose and a moving target. It would be great if you could do something like: [{"rule": "$fixable", "severity": "off"}] or something similar

@dbaeumer dbaeumer added feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities labels Apr 14, 2023
@dbaeumer dbaeumer added this to the Backlog milestone Apr 14, 2023
@dbaeumer dbaeumer modified the milestones: Backlog, On Deck Dec 4, 2023
sapegin added a commit to sapegin/vscode-eslint that referenced this issue Apr 29, 2024
With the config like this:

```
"eslint.rules.customizations": [
    { "rule": "*", "fixable": true, "severity": "info" }
  ]
```

It'll downgrade all autofixable problems to the info severity.

Fixes microsoft#1634
Rel microsoft#267, microsoft#680, microsoft#655, microsoft#1705
dbaeumer pushed a commit that referenced this issue May 6, 2024
…1841)

With the config like this:

```
"eslint.rules.customizations": [
    { "rule": "*", "fixable": true, "severity": "info" }
  ]
```

It'll downgrade all autofixable problems to the info severity.

Fixes #1634
Rel #267, #680, #655, #1705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities
Projects
None yet
2 participants