Closed Bug 1339042 Opened 7 years ago Closed 7 years ago

eslint rule values are not easy to interpret in eslint-plugin-mozilla/lib/index.js

Categories

(Developer Infrastructure :: Lint and Formatting, defect)

3 Branch
defect
Not set
normal

Tracking

(firefox55 fixed)

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: florian, Assigned: standard8)

References

Details

Filed per bug 1338585 comment 4.

+++ This bug was initially created as a clone of Bug #1316096 +++

We should change the eslint configuration to use string values for rules instead of integers, making it easier for others who are reading the rules to know if a rule is set to off, warn, or error.

0 is the same as "off"
1 is the same as "warn"
2 is the same as "error"
Mentor: standard8
Keywords: good-first-bug
Whiteboard: [lang=js]
I'm fixing this in bug 1347712.
Assignee: nobody → standard8
Mentor: standard8
Depends on: 1347712
Keywords: good-first-bug
Whiteboard: [lang=js]
Fixed by bug 1347712.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Product: Testing → Firefox Build System
Version: Version 3 → 3 Branch
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.