peopledoc / eslint-config-peopledoc

ESLint config for PeopleDoc frontend projects
MIT License
1 stars 1 forks source link

breaking: add compatibility with eslint 8 #118

Closed ndekeister-us closed 2 years ago

ndekeister-us commented 2 years ago

Breaking

Add compatibility with ESLint 8 (#118)

Use @babel/eslint-parser instead of archived babel-eslint repo for Ember projects

⚠️ If your project use Ember, you need to

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

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 them

Build

Update eslint-plugin-ember to 10.5.7 (#118)

Needed for ESLint 8 compatibility

ndekeister-us commented 2 years ago

Tested in