Do not set rules by default for eslint (#8545)
Follow-up to and fix for #8537. Turns out that if you set `rules: []` it doesn't mean "no matchers", but it means "no rules". So let's not set a default here. Release Notes: - N/A, see #8537 Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
parent
d0ffd51bb1
commit
7efa8d079d
1 changed files with 0 additions and 1 deletions
|
@ -241,7 +241,6 @@ impl LspAdapter for EsLintLspAdapter {
|
||||||
// We enable this, but without also configuring `code_actions_on_format`
|
// We enable this, but without also configuring `code_actions_on_format`
|
||||||
// in the Zed configuration, it doesn't have an effect.
|
// in the Zed configuration, it doesn't have an effect.
|
||||||
"enable": true,
|
"enable": true,
|
||||||
"rules": []
|
|
||||||
});
|
});
|
||||||
|
|
||||||
if let Some(code_action_settings) = eslint_user_settings
|
if let Some(code_action_settings) = eslint_user_settings
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue