Closed dangreenisrael closed 5 years ago
@dangreenisrael nice!
What do you think about adding a test case to see what happens when there are two beforeAll
s right next to each other? (I'm curious if we've got the double padding line situation covered.)
Something like...
beforeAll(() => {
// stuff
});
beforeAll(() => {
// more stuff
});
I don't think it will double up because it should detect that there is already one added from the first, but I'm not 100% positive.
This adds a
padding-around-before-all-blocks
to supersedepadding-before-before-all-blocks
Examples of incorrect code for this rule:
Examples of correct code for this rule: