-
Notifications
You must be signed in to change notification settings - Fork 78
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
notEndWith should not trigger on 1 char strings #137
Conversation
Because its not just ending with that, but starting with that. Fixes #134
@@ -66,9 +66,11 @@ describe('Linter', () => { | |||
getLinterErrors(runLinter('something', input, args.key)).should.be.deepEqual(expectedErrors); | |||
} | |||
|
|||
const lintAndExpectValid = async (rule, input, args = {}) => { |
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.
No need to have this function be async, and it was making failures show up as unhandled promise warnings (false green on test suite)
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.
👍
@philsturgeon Any chance to get a release for this? I can't upgrade to 0.8 until then. Thanks! |
I’m currently in a field for WeWork Summer Camp, but I’ll get that done on Monday.
—
Phil Sturgeon
… On Aug 16, 2018, at 20:33, Harrison Heck ***@***.***> wrote:
@philsturgeon Any chance to get a release for this? I can't upgrade to 0.8 until then. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Because its not just ending with that, but starting with that.
Fixes #134