Skip to content

Commit

Permalink
ESLint: Replace babel-eslint with @babel/eslint-parser (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 authored Dec 9, 2021
1 parent d836db4 commit 196f4d4
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 24 deletions.
9 changes: 6 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@

module.exports = {
root: true,
parser: 'babel-eslint',
parser: '@babel/eslint-parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
legacyDecorators: true,
requireConfigFile: false,
babelOptions: {
plugins: [
['@babel/plugin-proposal-decorators', { decoratorsBeforeExport: true }],
],
},
},
plugins: ['ember'],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@
"ember-cli-htmlbars": "^6.0.0"
},
"devDependencies": {
"@babel/eslint-parser": "7.16.3",
"@ember/optional-features": "2.0.0",
"@ember/test-helpers": "2.6.0",
"@embroider/test-setup": "0.48.1",
"@glimmer/component": "1.0.4",
"@glimmer/tracking": "1.0.4",
"babel-eslint": "10.1.0",
"broccoli-asset-rev": "3.0.0",
"ember-auto-import": "2.2.4",
"ember-cli": "3.28.4",
Expand Down
35 changes: 15 additions & 20 deletions pnpm-lock.yaml

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

0 comments on commit 196f4d4

Please sign in to comment.