Skip to content

Commit 4df0796

Browse files
authored
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. https://github.com/astral-sh/ruff/blob/988be01fbec37fe6ba6658a24cda82c73241e4ea/crates/ruff_server/src/session/settings.rs#L124-L133 Closes: #14665
1 parent 172f62d commit 4df0796

File tree

1 file changed

+0
-50
lines changed

1 file changed

+0
-50
lines changed

docs/editors/settings.md

-50
Original file line numberDiff line numberDiff line change
@@ -805,56 +805,6 @@ Rules to disable by default. See [the documentation](https://docs.astral.sh/ruff
805805
}
806806
```
807807

808-
### `extendIgnore`
809-
810-
Rules to disable in addition to those in [`lint.ignore`](#ignore).
811-
812-
**Default value**: `null`
813-
814-
**Type**: `string[]`
815-
816-
**Example usage**:
817-
818-
=== "VS Code"
819-
820-
```json
821-
{
822-
"ruff.lint.extendIgnore": ["W1"]
823-
}
824-
```
825-
826-
=== "Neovim"
827-
828-
```lua
829-
require('lspconfig').ruff.setup {
830-
init_options = {
831-
settings = {
832-
lint = {
833-
extendIgnore = {"W1"}
834-
}
835-
}
836-
}
837-
}
838-
```
839-
840-
=== "Zed"
841-
842-
```json
843-
{
844-
"lsp": {
845-
"ruff": {
846-
"initialization_options": {
847-
"settings": {
848-
"lint": {
849-
"extendIgnore": ["W1"]
850-
}
851-
}
852-
}
853-
}
854-
}
855-
}
856-
```
857-
858808
## `format`
859809

860810
Settings specific to the Ruff formatter.

0 commit comments

Comments
 (0)