Skip to content

Commit 09f580c

Browse files
committed
Replace typescript-eslint-parser by @typescript-eslint/parser
1 parent 861fdef commit 09f580c

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
"resolve": "^1.10.0"
3434
},
3535
"devDependencies": {
36+
"@typescript-eslint/parser": "^1.7.0",
3637
"babel-eslint": "^10.0.1",
3738
"coveralls": "^3.0.2",
3839
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0",
3940
"istanbul": "^0.4.5",
4041
"mocha": "^6.1.4",
4142
"sinon": "^7.2.2",
42-
"typescript": "^3.2.2",
43-
"typescript-eslint-parser": "^22.0.0"
43+
"typescript": "^3.2.2"
4444
},
4545
"peerDependencies": {
4646
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0"

tests/helpers/parsers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ const NODE_MODULES = '../../node_modules';
66

77
module.exports = {
88
BABEL_ESLINT: path.join(__dirname, NODE_MODULES, 'babel-eslint'),
9-
TYPESCRIPT_ESLINT: path.join(__dirname, NODE_MODULES, 'typescript-eslint-parser')
9+
TYPESCRIPT_ESLINT: path.join(__dirname, NODE_MODULES, '@typescript-eslint/parser')
1010
};

tests/lib/rules/jsx-first-prop-new-line.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ const parserOptions = {
1818
sourceType: 'module',
1919
ecmaFeatures: {
2020
jsx: true
21-
},
22-
jsx: true
21+
}
2322
};
2423

2524
// -----------------------------------------------------------------------------

0 commit comments

Comments
 (0)