Can't get Atom Linter to work

I'm new to Atom, the text edit, and I installed many packages, including Linter

https://github.com/AtomLinter/Linter

But it's not showing errors or highlighting code, it's just getting ignored.

Do any of you know what I should do to get this to work?


Solution 1:

You have to additionally install a linter package for your desired language.

Here is a list: https://atomlinter.github.io/

Solution 2:

I needed to remove atom config and start from scratch to make linter working

mv ~/.atom ~/.atom.bak

Solution 3:

Instead of opening atom from the terminal like I normally do, I opened it from the application icon. Then atom asks if it was ok to install linter dependencies and presto it was working.

Hope this helps.

Solution 4:

My problem with linter-eslint was because I accidentally installed eslint 8 which is not yet supported by atom linter or linter-eslint. After I installed eslint ^7.32.0 and typed npm i, restarted Atom and changed ecmaversion from 13 to 12 everything started working fine!

Solution 5:

When I start Atom up, the small UI panel in bottom left is present, but shows zero values for the 3 severities.

If I then do a CTRL-s/save (even with no changes), it starts working..

In my package settings, I have "Lint on Open" (which doesn't seem to work at all) and "Lint on Change" (which is "only for supported providers" so could be that) ticked.