benmatselby / sublime-phpcs

🔍 PHP CodeSniffer, PHP Coding Standard Fixer, Linter, and Mess Detector Support for Sublime Text
Other
814 stars 126 forks source link

Why is phpcs catching .html files? #149

Closed corysimmons closed 8 years ago

corysimmons commented 8 years ago

image

benmatselby commented 8 years ago

Hi @corysimmons Probably because it thinks it is a PHP file as per https://github.com/benmatselby/sublime-phpcs/blob/master/phpcs.py#L622

Can you provide your config please?

corysimmons commented 8 years ago

I'm pretty sure it's just whatever config phpcs 2.5.1 defaults to.

corysimmons commented 8 years ago

Oh I'm so sorry, I'm not even using your plugin, I'm using SublimeLinter.

Thoughts on trying to get this merged into https://github.com/SublimeLinter/SublimeLinter-phpcs ?

Your project definitely seems more robust/better.

benmatselby commented 8 years ago

Hi @corysimmons Sorry, I'm unsure what you are asking me here? You want this plugin to merge with SublimeLinter? Not sure what benefit that would add, it's your choice to use either?

corysimmons commented 8 years ago

Sorry, does your plugin allow for automatic linting?

image

Or do you have to click on each file individually?

benmatselby commented 8 years ago

Hi @corysimmons

This plugin does not auto lint and I have no plans to support that.

corysimmons commented 8 years ago

Okay, no problem. Thanks.