You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,28 @@ eslint --ext .js,.json src
94
94
eslint "src/**/*.{js,json}"
95
95
```
96
96
97
+
## Editor Integrations
98
+
99
+
### Visual Studio Code
100
+
101
+
Use the [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extension that Microsoft provides officially.
102
+
103
+
You have to configure the `eslint.validate` option of the extension to check `.json` files, because the extension targets only `*.js` or `*.jsx` files by default.
Copy file name to clipboardExpand all lines: docs/user-guide/README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,3 +53,25 @@ Examples:
53
53
eslint --ext .js,.json src
54
54
eslint "src/**/*.{js,json}"
55
55
```
56
+
57
+
## Editor Integrations
58
+
59
+
### Visual Studio Code
60
+
61
+
Use the [dbaeumer.vscode-eslint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) extension that Microsoft provides officially.
62
+
63
+
You have to configure the `eslint.validate` option of the extension to check `.json` files, because the extension targets only `*.js` or `*.jsx` files by default.
0 commit comments