Skip to content

Commit

Permalink
docs(README.md): remove deprecated eslint.experimental.useFlatConfig …
Browse files Browse the repository at this point in the history
…setting

refactor(README.md): add 'fixable': true to eslint rules customizations for clarity
  • Loading branch information
Bluzzi committed Dec 24, 2024
1 parent 02541ec commit add3bac
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ Installation and configuration of the VS Code plugin to take advantage of an aut
Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) and add the following settings to your `.vscode/settings.json`:
```jsonc
{
// Enable the ESlint flat config support:
"eslint.experimental.useFlatConfig": true,

// Disable the default formatter, use eslint instead:
"prettier.enable": false,
"editor.formatOnSave": false,
Expand All @@ -63,16 +60,16 @@ Install [VS Code ESLint extension](https://marketplace.visualstudio.com/items?it

// Silent the stylistic rules in you IDE, but still auto fix them:
"eslint.rules.customizations": [
{ "rule": "style/*", "severity": "off" },
{ "rule": "format/*", "severity": "off" },
{ "rule": "*-indent", "severity": "off" },
{ "rule": "*-spacing", "severity": "off" },
{ "rule": "*-spaces", "severity": "off" },
{ "rule": "*-order", "severity": "off" },
{ "rule": "*-dangle", "severity": "off" },
{ "rule": "*-newline", "severity": "off" },
{ "rule": "*quotes", "severity": "off" },
{ "rule": "*semi", "severity": "off" }
{ "rule": "style/*", "severity": "off", "fixable": true },
{ "rule": "format/*", "severity": "off", "fixable": true },
{ "rule": "*-indent", "severity": "off", "fixable": true },
{ "rule": "*-spacing", "severity": "off", "fixable": true },
{ "rule": "*-spaces", "severity": "off", "fixable": true },
{ "rule": "*-order", "severity": "off", "fixable": true },
{ "rule": "*-dangle", "severity": "off", "fixable": true },
{ "rule": "*-newline", "severity": "off", "fixable": true },
{ "rule": "*quotes", "severity": "off", "fixable": true },
{ "rule": "*semi", "severity": "off", "fixable": true }
],

// Enable eslint for all supported languages:
Expand Down

0 comments on commit add3bac

Please sign in to comment.