-
So, do we still need to use babel parser to get support for javascript class fields? Using v9.2.0 and getting error for
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
@proko Class fields are fully supported by the default parser in ESLint v8 and v9, so the error you see is probably caused by something else. What does the file where the error occurs look like? |
Beta Was this translation helpful? Give feedback.
-
Figured it out. It was because of extending the cypress plugin at the end of the config 🤦🏼 . Moving it at the beginning fixed the merge order. Thanks again @fasttime |
Beta Was this translation helpful? Give feedback.
Figured it out. It was because of extending the cypress plugin at the end of the config 🤦🏼 . Moving it at the beginning fixed the merge order. Thanks again @fasttime