Skip to content

Commit

Permalink
Remove non-existing lint.extendIgnore editor setting (#15844)
Browse files Browse the repository at this point in the history
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.


https://github.com/astral-sh/ruff/blob/988be01fbec37fe6ba6658a24cda82c73241e4ea/crates/ruff_server/src/session/settings.rs#L124-L133

Closes: #14665
  • Loading branch information
dhruvmanila authored Jan 31, 2025
1 parent 172f62d commit 4df0796
Showing 1 changed file with 0 additions and 50 deletions.
50 changes: 0 additions & 50 deletions docs/editors/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4df0796

Please sign in to comment.