Skip to content

Commit

Permalink
change json formatting to jsonc
Browse files Browse the repository at this point in the history
  • Loading branch information
sweepline committed Jul 11, 2023
1 parent 7500bc1 commit 5cef961
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ npm install eslint-plugin-unused-imports --save-dev

Add `unused-imports` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:

```json
```jsonc
{
"plugins": ["unused-imports"]
}
```

Then configure the rules you want to use under the rules section. I can recommend adding a check for underscores, e.g.

```json
```jsonc
{
"rules": {
"no-unused-vars": "off", // or "@typescript-eslint/no-unused-vars": "off",
Expand Down

0 comments on commit 5cef961

Please sign in to comment.