-
Notifications
You must be signed in to change notification settings - Fork 127
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
Ability to skip 'the following section' #27
Comments
Can you post a small example reproduce case? Are the imports es6 module syntax? |
Not a problem:
|
Thanks! Somewhat related to #26 I'll need to setup better detection of this kind of dependency-related code, as I've currently hardcoded checks for AMD/CommonJS/ES6 style modules. |
Great to hear. With istanbul I can add the following tag over a function/block-of-code and it will be ignored. I'd love this same ability.
|
Might be nice to have some config for this as well. Maybe skipping blocks that start with a given line? Since there's a pattern here, I'd like that better than having QA tools pollute lib code |
True. While I don't like adding a lot of tags to code, it does provide
|
Thinking about this again, would this feature ignore only the next line, or all nodes contained in that line? And thus potentially multiples lines if a node spans that many? |
Similar to istanbul it would be nice to skip sections with code inserts. In my angularjs app many of the modules start with a similar 'imports' section and they are all stating they are duplicates. Yes they are, but I accept these sections and would like to focus on the meat and potatoes
The text was updated successfully, but these errors were encountered: