Skip to content

Commit 424674d

Browse files
committed
Eslint parse error fixed
1 parent 084df87 commit 424674d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ module.exports = {
66
rules: {
77
'react/jsx-filename-extension': 'off',
88
'jsx-a11y/anchor-is-valid': 'off' // temporary solution (while we don't have a router)
9-
}
9+
},
10+
"parser": "babel-eslint"
1011
}

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"@babel/core": "^7.0.0",
3434
"@babel/preset-env": "^7.0.0",
3535
"@babel/preset-react": "^7.0.0",
36+
"babel-eslint": "^10.0.1",
3637
"babel-loader": "^8.0.2",
3738
"css-loader": "^1.0.0",
3839
"docpress": "0.7.4",

0 commit comments

Comments
 (0)