-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
IgnoreResultAction.py: Can use multiline_comment_delimiter as a fallback when comment_delimiter doesn't exist for a language #3441
Comments
Can I try this? |
Unless @hemangsk wants to do it... |
here you go :) |
Sorry I just saw this now 🙈 |
Hey @nemaniarjun please feel free to ping me if there's any hindrance in reproducing this issue |
So I have successfully added the ignore comment using the multiline comment delimiter. |
Ignore the above comment :P Found the mistake. |
Adds support for using multiline comment delimiters, if the language does not have singleline delimiters. If no delimiters are found, emits a warning. Closes #coala#3441
Error in rultor? This did not get closed? @sils |
you had a # before the URL, typo |
Okay will keep in mind 👍 |
Adds support for using multiline comment delimiters, if the language does not have singleline delimiters. If no delimiters are found, emits a warning. Closes #coala#3441
Initial discussion
Presently IgnoreResultAction.py uses
comment_delimiter
attribute to add ignore comments.Some bears such as CSSLintBear have
multiline_comment_delimiter
attribute and not acomment_delimiter
and therefore this causes failure to add ignore comment in css files.Steps for reproduction:
coala --bears CSSLintBear --files style.css
It is asking for the parameter 'language' from the user and then if there is no language found with name
css
, it returnsPossible Solution
We can add an option in IgnoreResultAction,
The text was updated successfully, but these errors were encountered: