Skip to content

Commit

Permalink
feat(config): replace babel-eslint with @babel/eslint-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
dackmin committed Oct 29, 2020
1 parent e574c85 commit 2b4b6c4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = {};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"lint": "./node_modules/.bin/eslint ."
},
"devDependencies": {
"babel-eslint": "10.1.0",
"@babel/core": "7.12.3",
"@babel/eslint-parser": "7.12.1",
"eslint": "7.12.1",
"eslint-config-standard": "16.0.0",
"eslint-plugin-babel": "5.3.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module.exports = {
'standard',
'plugin:@poool/eslint-plugin/recommended',
],
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module',
Expand Down
6 changes: 4 additions & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"author": "Ugo Stephant <ugo@poool.fr>",
"license": "MIT",
"peerDependencies": {
"@babel/core": "^7.2.0",
"@babel/eslint-parser": "^7.2.0",
"@poool/eslint-plugin": "^1.2.4",
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0 || ^7.2.0",
"eslint-config-standard": "^14.1.1 || ^15.0.0 || ^16.0.0",
"eslint-plugin-babel": "^5.3.0",
Expand All @@ -21,8 +22,9 @@
"eslint-plugin-promise": "^4.2.1"
},
"devDependencies": {
"@babel/core": "7.12.3",
"@babel/eslint-parser": "7.12.1",
"@poool/eslint-plugin": "^1.2.4",
"babel-eslint": "10.1.0",
"eslint": "7.12.1",
"eslint-config-standard": "16.0.0",
"eslint-plugin-babel": "5.3.1",
Expand Down

0 comments on commit 2b4b6c4

Please sign in to comment.