Copy link to clipboard
Copied
I have been unable to set eslint to recognize public class fields.
I set ecmaversion to 6 in the eslintrc.js, and I also tried deleting the file and set version to 6 in the site configuration and I still get an error with code like:
class MyClass {
var1 = 5
...
Any idea?
Copy link to clipboard
Copied
JS Linters are rarely perfect. Take the good with the bad.