Closed Bug 1249595 Opened 4 years ago Closed 4 years ago

Enable 11 more ESLint rules for PSM

Categories

(Core :: Security: PSM, defect)

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: Cykesiopka, Assigned: Cykesiopka)

References

Details

Attachments

(1 file)

Misc rules that don't require too many changes to turn on, and seem worth the effort enough.
10 -> 11 rules because I found another rule that we already pass, and seems worthwhile to have on.
Summary: Enable 10 more ESLint rules for PSM → Enable 11 more ESLint rules for PSM
Comment on attachment 8723829 [details]
MozReview Request: Bug 1249595 - Enable 11 more ESLint rules for PSM. r=keeler

https://reviewboard.mozilla.org/r/36749/#review33477

LGTM.

::: security/manager/ssl/tests/unit/head_psm.js:49
(Diff revision 1)
>  const SEC_ERROR_CERT_NOT_IN_NAME_SPACE                  = SEC_ERROR_BASE + 112; // -8080

Why get rid of some of these comments but not others?
Attachment #8723829 - Flags: review?(dkeeler) → review+
https://reviewboard.mozilla.org/r/36749/#review33477

Thanks for the review!

> Why get rid of some of these comments but not others?

It was a "while I'm here" thing, but I guess it's better to be consistent. I removed the other comments as well.
Comment on attachment 8723829 [details]
MozReview Request: Bug 1249595 - Enable 11 more ESLint rules for PSM. r=keeler

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/36749/diff/1-2/
Attachment #8723829 - Attachment description: MozReview Request: Bug 1249595 - Enable 11 more ESLint rules for PSM. → MozReview Request: Bug 1249595 - Enable 11 more ESLint rules for PSM. r=keeler
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3f72a4ea4554
Keywords: checkin-needed
OS: Unspecified → All
Hardware: Unspecified → All
https://hg.mozilla.org/mozilla-central/rev/b8e89af2e6f0
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.