mirror of https://github.com/astral-sh/ruff
Remove non-existing `lint.extendIgnore` editor setting (#15844)
This setting doesn't exist in the first place. I must've added it by
mistake thinking that it exists similar to `extendSelect`. One reason to
have auto-generated docs.
988be01fbe/crates/ruff_server/src/session/settings.rs (L124-L133)
Closes: #14665
This commit is contained in:
parent
172f62d8f4
commit
4df0796d61
|
|
@ -805,56 +805,6 @@ Rules to disable by default. See [the documentation](https://docs.astral.sh/ruff
|
|||
}
|
||||
```
|
||||
|
||||
### `extendIgnore`
|
||||
|
||||
Rules to disable in addition to those in [`lint.ignore`](#ignore).
|
||||
|
||||
**Default value**: `null`
|
||||
|
||||
**Type**: `string[]`
|
||||
|
||||
**Example usage**:
|
||||
|
||||
=== "VS Code"
|
||||
|
||||
```json
|
||||
{
|
||||
"ruff.lint.extendIgnore": ["W1"]
|
||||
}
|
||||
```
|
||||
|
||||
=== "Neovim"
|
||||
|
||||
```lua
|
||||
require('lspconfig').ruff.setup {
|
||||
init_options = {
|
||||
settings = {
|
||||
lint = {
|
||||
extendIgnore = {"W1"}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
=== "Zed"
|
||||
|
||||
```json
|
||||
{
|
||||
"lsp": {
|
||||
"ruff": {
|
||||
"initialization_options": {
|
||||
"settings": {
|
||||
"lint": {
|
||||
"extendIgnore": ["W1"]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
## `format`
|
||||
|
||||
Settings specific to the Ruff formatter.
|
||||
|
|
|
|||
Loading…
Reference in New Issue