Skip to content

Commit

Permalink
Fixes #1750: Update Readme to reflect new vscode specs (#1751)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbaeumer authored Dec 12, 2023
1 parent 6485db5 commit c36d49b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,24 +154,24 @@ The setting below turns on Auto Fix for all providers including ESLint:

```json
"editor.codeActionsOnSave": {
"source.fixAll": true
"source.fixAll": "explicit"
}
```

In contrast, this configuration only turns it on for ESLint:

```json
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
}
```

You can also selectively disable ESLint via:

```json
"editor.codeActionsOnSave": {
"source.fixAll": true,
"source.fixAll.eslint": false
"source.fixAll": "explicit",
"source.fixAll.eslint": "never"
}
```

Expand Down

0 comments on commit c36d49b

Please sign in to comment.