Skip to content

Commit

Permalink
fix: replace babel-eslint with @babel/eslint-parser
Browse files Browse the repository at this point in the history
babel-eslinnt has been moved inside babel monorepo and renamed
to @babel/eslint-parser. Remove this pin once it has been replaced
inside fronted-build
  • Loading branch information
waheedahmed committed Feb 18, 2022
1 parent 951f707 commit 2b939f4
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const { createConfig } = require('@edx/frontend-build');

module.exports = createConfig('eslint');
module.exports = createConfig('eslint', {
parser: "@babel/eslint-parser", // TODO: remove this once babel-eslint is replaced with @babel/eslint-parser in frontend-build
});
25 changes: 25 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"tinymce": "5.10.3"
},
"devDependencies": {
"@babel/eslint-parser": "7.17.0",
"@edx/frontend-build": "9.0.7",
"@edx/stylelint-config-edx": "1.1.2",
"axios": "0.26.0",
Expand Down

0 comments on commit 2b939f4

Please sign in to comment.