mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-20 02:47:34 +03:00
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
@ -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…
Reference in New Issue
Block a user