DEV Community

Discussion on: Setting up ESLint to work with new or proposed JavaScript features such as private class fields.

Collapse
lcrespilho profile image
Leonardo Lourenço Crespilho

Hi George.
Thanks for the article. I felt contemplated by your article and have the same feelings about babel, webpack and eslint configurations. It'is simply a mess.

About the jest ReferenceError: regeneratorRuntime is not defined error, I think I can help in some way. For me, adding "transform: {}" property on jest configuration did the trick - i.e., I was able to follow your article without renaming .babelrc or creating "babelOptions" in .estlintrc.

Regards.