eslint not working (linter-eslint-node) #257
bunyevacz
started this conversation in
Community Packages
Replies: 1 comment 2 replies
-
Have you tried clicking “Yes” on that popup? If so, what happens? That's where it typically installs I wrote most of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I would like to use eslint for my javascript project to ease development. I tried every eslint package, but only
linter-eslint-node
worked, although briefly.Now at every pulsar start I get the following popup error:
I don't want to install eslint globally, I much prefer to use it local to the project.
Software details:
There is a linter debug output (
Linter Eslint Node: Debug
):Here is how I created the project:
I made an obvious error in source file, to test if esling works:
So I started pulsar, it worked once (there where 3 clickable buttons in status bar: 2 errors, 0 warning), I could click in the statusbar and I get a nice linter panel.
But it is not working anymore. I get the annoying popup at each start, and it does not work.
Looking at the
linter-eslint-node
sourcecode it looks like there is a key role of.eslintignore
file, so I created one in project directory, but nothing changed.Couple of interesting things:
.eslintrc
file, eslint now uses.eslintrc.cjs
/eslintrc.js
/.eslintrc.json
. And with upcoming eslint version 9.0, the configuration filename will change yet again (eslint.config.js
/eslint.config.mjs
)I'm a little bit stuck how to debug further. Any pointer is much appreciated.
Beta Was this translation helpful? Give feedback.
All reactions