File tree 3 files changed +3
-6
lines changed
3 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "parser" : " @typescript-eslint/eslint-plugin/ parser" ,
2
+ "parser" : " @typescript-eslint/parser" ,
3
3
"parserOptions" : {
4
4
"sourceType" : " module"
5
5
},
Original file line number Diff line number Diff line change @@ -117,11 +117,8 @@ exports.getParserServices = context => {
117
117
! context . parserServices . program ||
118
118
! context . parserServices . esTreeNodeToTSNodeMap
119
119
) {
120
- // TODO - the message will require revisiting once the @typescript-eslint/parser work finalises
121
- // their work around exposing the parser. They may require that there be a project config field in
122
- // the eslint config, in which case we should check and/or report that here appropriately.
123
120
throw new Error (
124
- 'This rule requires you to use `@typescript-eslint/eslint-plugin/ parser`.'
121
+ 'This rule requires you to use `@typescript-eslint/parser`.'
125
122
) ;
126
123
}
127
124
return context . parserServices ;
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ function generate() {
49
49
const filePath = path . resolve ( __dirname , '../lib/configs/recommended.json' ) ;
50
50
51
51
const recommendedConfig = {
52
- parser : '@typescript-eslint/eslint-plugin/ parser' ,
52
+ parser : '@typescript-eslint/parser' ,
53
53
parserOptions : {
54
54
sourceType : 'module'
55
55
} ,
You can’t perform that action at this time.
0 commit comments