Use @babel/eslint-parser instead of archived babel-eslint repo for Ember projects
⚠️ If your project use Ember, you need to
remove babel-eslint from your dependencies
run yarn add eslint @babel/core @babel/eslint-parser @babel/plugin-proposal-decorators -D
Please check your .eslintrc.js file, it should start like this
module.exports = {
root: true,
plugins: ['ember'],
extends: ['peopledoc/ember' /*, ... */], // or `peopledoc/ember-addon` in case you are in an addon
...
It was added some years ago but it is not relevant anymore, repo is not really maintained and we can stick with ember/recommended rules for Ember projects
⚠️ if you have some eslint-disable ember-suave/ in your project you will have to remove them
Breaking
Add compatibility with ESLint 8 (#118)
Use
@babel/eslint-parser
instead of archivedbabel-eslint
repo for Ember projects⚠️ If your project use Ember, you need to
babel-eslint
from your dependenciesyarn add eslint @babel/core @babel/eslint-parser @babel/plugin-proposal-decorators -D
Please check your
.eslintrc.js
file, it should start like thisReplace eslint-plugin-node by eslint-plugin-n
eslint-plugin-node
was not maintainedplugins: ["node"],
plugin in your ESLint config (like.eslintrc.js
) you have to replace it byplugins: ["n"],
node/some-rule
, they becomen/some-rule
Remove eslint-plugin-ember-suave rules (#118)
It was added some years ago but it is not relevant anymore, repo is not really maintained and we can stick with
ember/recommended
rules for Ember projects⚠️ if you have some
eslint-disable ember-suave/
in your project you will have to remove themBuild
Update eslint-plugin-ember to 10.5.7 (#118)
Needed for ESLint 8 compatibility