SamVerschueren / clinton

Project style linter
MIT License
122 stars 9 forks source link

Remove `esnext` recommendation from XO rule #62

Closed sindresorhus closed 7 years ago

sindresorhus commented 7 years ago

Enforce ES2015+ rules with the esnext option.

It's going to be true by default in the next XO version: https://github.com/sindresorhus/xo/commit/61c046cab3d908c4c0582211d215e4c7f0d7cf20

SamVerschueren commented 7 years ago

Maybe we should reverse it then. If node <=0.12 is still supported, set it to false.

But maybe that doesn't make sense. The latest XO doesn't support those anymore right? So the latest XO wouldn't run on those versions...

sindresorhus commented 7 years ago

Yup, doesn't make sense. Latest XO requires Node.js 4.