Breaking
Add compatibility with ESLint 8 (#118)
Use @babel/eslint-parser
instead of archived babel-eslint
repo for Ember projects
- 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
...
Replace eslint-plugin-node by eslint-plugin-n
eslint-plugin-node
was not maintained⚠️ if you useplugins: ["node"],
plugin in your ESLint config (like.eslintrc.js
) you have to replace it byplugins: ["n"],
- same if you had some rules like
node/some-rule
, they becomen/some-rule
- same if you had some rules like
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
eslint-disable ember-suave/
in your project you will have to remove them
CI
New workflow to auto-update list of contributors (#94)
Reuse organisation's workflow to run tag & publish (#92)
Chore
Refine information in package.json
(#93)
Relax prefer-destructuring rule (#89)
Build
Update eslint-plugin-ember to 10.5.7 (#118)
Needed for ESLint 8 compatibility
Upgrade eslint-plugin-prettier to 4.0.0 (#85 )
Drops support for
- Node < 12 (this repo already only compatible with Node >= 12)
- Versions 5 and 6 of eslint (as far as i know we use 7+ on all / most of our projects)
- prettier <2.0 (we already have prettier 2.0 in dependencies)