-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotation-based configuration #707
Comments
Since you are within a tag context, try the tag-style comment <!--- ---> |
Ah yes, wasn't the best example. However I used this and still the same
Used combinations of |
I write mostly in CFScript and have found that the annotations do not work at all and the rules themselves have a lot of false positives.
|
Yeah, it seems the same with me. The tag comment only works for the whole file as long as it's before a component/function, doesn't support individual lines. The cfscript comments support seems like it supports some annotations and not others. For example with this mixed snippet: Works
Doesn't work
Note the addition of the |
I can confirm that (tag-based) annotations have to be the first thing to put in a file, before <cfcomponent ...>, for them to work on the whole file. |
Ok, I'm not crazy, I can't get the annotations to work for me, |
The option to use comments to ignore lines/specific rules doesn't seem to be working when running from the command line.
I'm running against the following code:
testa
is never ignored. I have tried multiple variations.Environment
Version: 1.5.0 (also tested 1.4.1)
Windows 10
The text was updated successfully, but these errors were encountered: