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
+8-6
Original file line number
Diff line number
Diff line change
@@ -148,7 +148,7 @@ rules:
148
148
149
149
You may use the following shortcut or assemble your own config using the granular settings described below.
150
150
151
-
Make sure you have installed the [`@typescript-eslint/parser`] which is used in the following configuration. Unfortunately NPM does not allow to list optional peer dependencies.
151
+
Make sure you have installed [`@typescript-eslint/parser`] which is used in the following configuration. Unfortunately NPM does not allow to list optional peer dependencies.
152
152
153
153
```yaml
154
154
extends:
@@ -344,14 +344,16 @@ directly using webpack, for example:
344
344
# .eslintrc.yml
345
345
settings:
346
346
import/parsers:
347
-
typescript-eslint-parser: [ .ts, .tsx ]
347
+
@typescript-eslint/parser: [ .ts, .tsx ]
348
348
```
349
349
350
-
In this case, [`typescript-eslint-parser`](https://github.com/eslint/typescript-eslint-parser) must be installed and require-able from
351
-
the running `eslint` module's location (i.e., install it as a peer of ESLint).
350
+
In this case, [`@typescript-eslint/parser`](https://www.npmjs.com/package/@typescript-eslint/parser)
351
+
must be installed and require-able from the running `eslint` module's location
352
+
(i.e., install it as a peer of ESLint).
352
353
353
-
This is currently only tested with `typescript-eslint-parser` but should theoretically
354
-
work with any moderately ESTree-compliant parser.
354
+
This is currently only tested with `@typescript-eslint/parser` (and its predecessor,
355
+
`typescript-eslint-parser`) but should theoretically work with any moderately
356
+
ESTree-compliant parser.
355
357
356
358
It's difficult to say how well various plugin features will be supported, too,
357
359
depending on how far down the rabbit hole goes. Submit an issue if you find strange
0 commit comments