-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add fixer for no-skip-test
rule
#183
Conversation
Includes refactorings to reuse code introduced with making `ino-only-test` fixable.
This is necessary to enable node 4 compliance.
Ready to 🚢 |
Don't commit Line 1 in 8e5d631
|
util.js
Outdated
while (source.charAt(dotPosition) !== '.') { | ||
dotPosition -= 1; | ||
} | ||
let snippet = source.substring(dotPosition, range[1]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you use slice
instead of substring
? I know it was like this already, but better for consistency. I always use slice
over substring
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course - i am happily copying (most of) your habits.. 😸
I really have no clue, how the package-lock was generated - i'm not using more commands than |
Aehm - |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @florianb :)
Thank you @florianb :) |
Introduces fixes for the
no-skip-test
-rule as requested in #21.This work is based on the implementation of the fix for the
no-only-test
-rule.