Skip to content

Fix false positives with no-jasmine-globals#205

Merged
SimenB merged 4 commits intojest-community:masterfrom
jdelStrother:no-globals
Nov 25, 2018
Merged

Fix false positives with no-jasmine-globals#205
SimenB merged 4 commits intojest-community:masterfrom
jdelStrother:no-globals

Conversation

@jdelStrother
Copy link
Copy Markdown
Contributor

See #156. WDYT?

Not that exciting right now, but the upcoming commit needs the grouped if-block anyway.
Want to re-use it for no-jasmine-globals
@jdelStrother
Copy link
Copy Markdown
Contributor Author

jdelStrother commented Nov 17, 2018

Travis is upset about my commit message:

⧗   input: 
fix(no-jasmine-globals): Fix false positives for pending/fail/spyOn
Prior to this, similarly named local variables & parameters would trigger the
no-jasmine-globals warning
Fixes #156
✖   subject must not be sentence-case, start-case, pascal-case, upper-case [subject-case]

Is that because of the capital "O" in spyOn?

[Update: Oh, it's the capital F in Fix]

Prior to this, similarly named local variables & parameters would trigger the
no-jasmine-globals warning

Fixes jest-community#156
@SimenB
Copy link
Copy Markdown
Member

SimenB commented Nov 19, 2018

This is great, thanks! I left a nit, but would love for @macklinu to chime in as well before merging 🙂

@SimenB
Copy link
Copy Markdown
Member

SimenB commented Nov 20, 2018

@macklinu could you take a look when you find the time? Feel free to merge (squash merge, make sure the commit message is semantic) if it's OK 🙂

@SimenB SimenB merged commit edbd1a2 into jest-community:master Nov 25, 2018
@SimenB
Copy link
Copy Markdown
Member

SimenB commented Nov 25, 2018

🎉 This PR is included in version 22.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

@macklinu
Copy link
Copy Markdown
Collaborator

@SimenB sorry I didn’t get a chance to look before merging. Have been away from the computer for Thanksgiving holiday. This change looks great though! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants