None of the linters are working


#1

I am trying to install a couple of the different Linters, specifically the php linter. I installed the Linter package, and the linter-php package through the Atom package manager. I have edited by config.cson page as follows:

"linter-php":{
phpExecutablePath: "/Applications/mamp/bin/php/php5.6.2/bin/php"
}

However, nothing seems to be working. I have not noticed any errors being displayed on my php files. Am I missing something?

Thanks in advance for the help!!


#2

CSON is indentation-sensitive, even when you include the braces. This should work better:

"linter-php":
  phpExecutablePath: "/Applications/mamp/bin/php/php5.6.2/bin/php"

Assuming that the above settings are correct that is.


#3

Did you restart Atom? I had the same problem, but it was solved by restarting.


#4

@olmokramer This was actually the solution. So simpleā€¦