Skip to content

Commit d1ae4fe

Browse files
committed
Upgrade TypeScript and ESLint parser
Upgraded TypeScript to 3.4.3 and switches to the new TypeScript ESLint parser.
1 parent a8b3b37 commit d1ae4fe

File tree

3 files changed

+47
-46
lines changed

3 files changed

+47
-46
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
extends: 'react-app',
3-
parser: 'typescript-eslint-parser',
3+
parser: '@typescript-eslint/parser',
44

55
rules: {
66
'jsx-a11y/href-no-hash': 'off',

package-lock.json

Lines changed: 44 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"@types/jest": "^23.3.12",
1616
"@types/node": "^10.12.18",
1717
"@types/redux-immutable-state-invariant": "^2.1.0",
18+
"@typescript-eslint/parser": "^1.6.0",
1819
"babel-core": "7.0.0-bridge.0",
1920
"babel-eslint": "^10.0.1",
2021
"eslint": "^4.17.0",
@@ -29,8 +30,7 @@
2930
"rollup-plugin-babel": "^4.2.0",
3031
"rollup-plugin-commonjs": "^9.2.0",
3132
"rollup-plugin-node-resolve": "^4.0.0",
32-
"typescript": "^3.2.2",
33-
"typescript-eslint-parser": "eslint/typescript-eslint-parser",
33+
"typescript": "^3.4.3",
3434
"typings-tester": "^0.3.2"
3535
},
3636
"scripts": {

0 commit comments

Comments
 (0)