-
Notifications
You must be signed in to change notification settings - Fork 40
fix: add prefer-in-document to recommended config #112
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #112 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 12 12
Lines 247 247
Branches 37 37
=========================================
Hits 247 247
Continue to review full report at Codecov.
|
7a27e87
to
6f24739
Compare
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.
I agree it should be recommended. I'll leave it up to Ben to decide though.
@nickmccurdy before adding this rule as recommended check the latest added smoke tests, PR. Rule: prefer-in-document
event.type === `LOG_ACTION` &&
event.action.type === `ACTIVITY_END` &&
event.action.payload.id === `createPages`
)
expect(createPagesEndActivityEvent).toBeDefined()
expect(createPagesEndActivityEvent.action.payload.status).toBe(`FAILED`)
})
;[`success`, `info`, `warn`, `log`, `error`].forEach(level => {
// success, info and log all emit `INFO`
const mapActionToLevel = {
|
let's hold off on merging this until #107 is implemented and we've had a chance to smoke test it more to make sure there's nothing crazy out there. |
all the smoke test issues have been resolved. changing to recommended. 👍 |
🎉 This PR is included in version 3.4.2 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What: add prefer-in-document to recommended config
Why: this is a useful rule that's in line with other best practices that the recommended config follows
How: enabled recommended flag
Checklist: