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
{{ message }}
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
Add `typescript-eslint-parser` to the `parser` field and `typescript` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
29
+
Add `eslint-plugin-typescript/parser` to the `parser` field and `typescript` to the plugins section of your `.eslintrc` configuration file. You can omit the `eslint-plugin-` prefix:
30
30
31
31
```json
32
32
{
33
-
"parser": "typescript-eslint-parser",
34
-
"plugins": [
35
-
"typescript"
36
-
]
33
+
"parser": "eslint-plugin-typescript/parser",
34
+
"plugins": ["typescript"]
37
35
}
38
36
```
39
37
@@ -47,6 +45,9 @@ Then configure the rules you want to use under the rules section.
47
45
}
48
46
```
49
47
48
+
Note: The plugin provides its own version of the `typescript-eslint-parser` via `eslint-plugin-typescript/parser`.
49
+
This guarantees 100% compatibility between the plugin and the parser.
50
+
50
51
## Supported Rules
51
52
52
53
<!-- Please run `npm run docs` to update this section -->
0 commit comments