Skip to content
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

feat(no-standalone-expect): support additionalTestBlockFunctions #585

Merged
merged 2 commits into from Jun 21, 2020

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented May 16, 2020

closes #551
closes #354

I've attempted to make this rules implementation a bit nicer too, since it had a slowly growing if condition that I think at least reads a bit better now since it "flows" downwards a bit nicer (imo).

@SimenB would you object to adding padding-line-between-statements with the config used here?

(it requires a newline to be before a return, and after assignment blocks i.e const).

I don't think we have any big offenders, but I find it makes things a lot more readable

@G-Rath G-Rath force-pushed the improve-no-standalone-expect branch 2 times, most recently from 15ede3f to 6c3e0b9 Compare May 17, 2020 09:16
@G-Rath G-Rath force-pushed the improve-no-standalone-expect branch from 6c3e0b9 to 74c9523 Compare June 20, 2020 22:31
@G-Rath G-Rath merged commit ed220b2 into master Jun 21, 2020
@G-Rath G-Rath deleted the improve-no-standalone-expect branch June 21, 2020 04:41
github-actions bot pushed a commit that referenced this pull request Jun 21, 2020
# [23.15.0](v23.14.0...v23.15.0) (2020-06-21)

### Features

* **no-standalone-expect:** support `additionalTestBlockFunctions` ([#585](#585)) ([ed220b2](ed220b2))
@github-actions
Copy link

🎉 This PR is included in version 23.15.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant