DEV Community

loading...

Discussion on: Getting On with ES6 & NodeJS & eslint (without Babel !)

Collapse
bronhy profile image
bronhy • Edited

Nice article, thank you for the post.

You could add an update to the post. Now in 2021 we do not need es6 and globals lines in the .eslintrc.json.

eslint.org/docs/user-guide/configu... - es2021 - adds all ECMAScript 2021 globals and automatically sets the ecmaVersion parser option to 12.