Skip to content

Commit

Permalink
Replace typescript-eslint-parser by @typescript-eslint/parser
Browse files Browse the repository at this point in the history
  • Loading branch information
yannickcr committed Apr 28, 2019
1 parent 861fdef commit 09f580c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@
"resolve": "^1.10.0"
},
"devDependencies": {
"@typescript-eslint/parser": "^1.7.0",
"babel-eslint": "^10.0.1",
"coveralls": "^3.0.2",
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0",
"istanbul": "^0.4.5",
"mocha": "^6.1.4",
"sinon": "^7.2.2",
"typescript": "^3.2.2",
"typescript-eslint-parser": "^22.0.0"
"typescript": "^3.2.2"
},
"peerDependencies": {
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion tests/helpers/parsers.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ const NODE_MODULES = '../../node_modules';

module.exports = {
BABEL_ESLINT: path.join(__dirname, NODE_MODULES, 'babel-eslint'),
TYPESCRIPT_ESLINT: path.join(__dirname, NODE_MODULES, 'typescript-eslint-parser')
TYPESCRIPT_ESLINT: path.join(__dirname, NODE_MODULES, '@typescript-eslint/parser')
};
3 changes: 1 addition & 2 deletions tests/lib/rules/jsx-first-prop-new-line.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ const parserOptions = {
sourceType: 'module',
ecmaFeatures: {
jsx: true
},
jsx: true
}
};

// -----------------------------------------------------------------------------
Expand Down

0 comments on commit 09f580c

Please sign in to comment.