Skip to content

Commit

Permalink
feat: update parser to @babel/eslint-parser
Browse files Browse the repository at this point in the history
- update packages
- update Travis-CI test environments
  • Loading branch information
MarkH817 committed May 29, 2021
1 parent ff5b6fc commit 9167397
Show file tree
Hide file tree
Showing 5 changed files with 21,657 additions and 2,231 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
"plugin:jsx-a11y/recommended"
],
"plugins": ["import", "jest", "jsx-a11y", "promise", "react", "react-hooks"],
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaFeatures": { "ecmaVersion": 11, "jsx": true },
"requireConfigFile": false,
"sourceType": "module"
},
"rules": {
Expand Down
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
language: node_js

node_js:
- 14
- 12
- 10

before_install:
- npm i -g npm@6

install:
- npm ci
Expand Down
Loading

0 comments on commit 9167397

Please sign in to comment.