-
Notifications
You must be signed in to change notification settings - Fork 31
Ignore option doesn't work. #66
Comments
Can we get a non-trimmed version of the first picture please? |
I'm actually not sure why that option is even in there. The documentation basically says it is meant for when you are running I think what is going on here is that it sees the ignore option... but then ignores it since we explicitly told it to lint that file. In this case I would either put the code described in the link above at the top of the file, or change the type of the file to not be PHP (but then you lose syntax highlighting, so that is most definitely not ideal). I'm going to close this issue and submit a PR soon to remove that option as I have no idea how it would ever be relevant in this usage. |
This option worked fine 1/2 weeks ago. I remember it was me who added this option in a936699. Something has broke it. |
@Xety possibly broken on (I still don't see how that setting is relevant for a single file...) |
Okay, did some testing here, it works on the command line with v2.3.4, but not within Atom under |
I just tested previous version and |
It's a bug in So the options are either:
As I personally use lintOnFly I'm not going to disable that, which leaves us the first two options. Does anyone want to submit a PR for the second? |
I could implement option two using isaacs/minimatch, for example. Should I? |
Go for it 😄, as long as it works properly I'd be happy to merge it. |
I had to turn off linter-phpcs because of this bug. Eagerly awaiting a fix. |
Fixed version published in v1.2.1, enjoy and please report any further issues you find! |
It work well now, thanks ! |
👍 |
Hello,
I have the following settings :
But it doesn't work :
The text was updated successfully, but these errors were encountered: