Skip to content

Commit

Permalink
fix(eslint-config): use babel eslint parser.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyperkid123 committed Feb 3, 2021
1 parent 93b3396 commit eb4478f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/eslint-config/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
env: {
browser: true,
node: true,
Expand Down
9 changes: 4 additions & 5 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@redhat-cloud-services/eslint-config-redhat-cloud-services",
"version": "0.0.1",
"version": "1.0.0",
"description": "Recommended eslint configuration used in cloud.redhat.com frontend apps.",
"keywords": [
"eslint",
Expand All @@ -9,16 +9,15 @@
],
"scripts": {},
"dependencies": {
"@babel/core": "^7.12.13",
"@babel/eslint-parser": "^7.12.13",
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.4",
"prettier": "^2.1.2"
},
"peerDependencies": {
"eslint-config-prettier": "^6.12.0",
"eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.21.4",
"prettier": "^2.1.2"
"eslint": "^7.19.0"
},
"license": "Apache",
"publishConfig": {
Expand Down

0 comments on commit eb4478f

Please sign in to comment.