eslint-plugin-flowtype icon indicating copy to clipboard operation
eslint-plugin-flowtype copied to clipboard

'babel-eslint' deprecation and rename

Open wilt-rally opened this issue 4 years ago • 2 comments

Babel's eslint parser has been moved into their main monorepo, and republished under a different name:

  • Deprecation on npm: https://www.npmjs.com/package/babel-eslint
  • Old repository archived: https://github.com/babel/babel-eslint
  • New location: https://github.com/babel/babel/tree/main/eslint/babel-eslint-parser

Because the name is different, eslintrc configuration settings will need to change from

"parser": "babel-eslint",

to

"parser": "@babel/eslint-parser",

Making this change to this plugin's recommended config seems to me like a breaking change.

babel-eslint still seems to work fine, even with recent babels, but it's been a year since it's had updates and I assume something will break eventually.

wilt-rally avatar Mar 24 '21 14:03 wilt-rally

Maybe update as new major version and then specify a peerDependency in package.json so that consumers know they need this?

Brianzchen avatar Mar 27 '21 21:03 Brianzchen

+1 for this!

maicol07 avatar Sep 28 '21 13:09 maicol07