gajus / eslint-plugin-flowtype

Flow type linting rules for ESLint.
Other
1.08k stars 153 forks source link

'babel-eslint' deprecation and rename #474

Open wilt-rally opened 3 years ago

wilt-rally commented 3 years ago

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

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.

Brianzchen commented 3 years ago

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

maicol07 commented 2 years ago

+1 for this!