Closed
Bug 1310003
Opened 8 years ago
Closed 8 years ago
Rename and lint deprecated .eslintrc files
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
FIXED
5.4
People
(Reporter: Fallen, Assigned: Fallen)
Details
Attachments
(3 files)
35.33 KB,
patch
|
MakeMyDay
:
review+
|
Details | Diff | Splinter Review |
12.43 KB,
patch
|
Details | Diff | Splinter Review | |
865 bytes,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
This is a mirror of bug 1251003, with the addition of actually having eslint lint the config file.
Assignee | ||
Comment 1•8 years ago
|
||
Assignee | ||
Comment 2•8 years ago
|
||
For convenience, here is the same patch but with whitespace changes ignored.
Comment 3•8 years ago
|
||
Comment on attachment 8800847 [details] [diff] [review] Fix - v1 Review of attachment 8800847 [details] [diff] [review]: ----------------------------------------------------------------- Thanks, I always was wondering why the deprecated fromat was used.
Attachment #8800847 -
Flags: review?(makemyday) → review+
Assignee | ||
Comment 4•8 years ago
|
||
https://hg.mozilla.org/comm-central/rev/b0d4176aaa7a033ce5e725a922a0d9159728c7d4
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → 5.4
Comment 5•8 years ago
|
||
Since bug 1251003 landed, we need to cope for the changes in the toolkit eslintrc files. When linting, I get a lot of indentation errors. Have these been there before?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 6•8 years ago
|
||
This change the filenames in the config files of calendar
Attachment #8803608 -
Flags: review?(philipp)
Assignee | ||
Comment 7•8 years ago
|
||
Comment on attachment 8803608 [details] [diff] [review] Fix V2 Good catch, thanks. r=philipp For the indent changes, this is a pending issue. I've fixed most of the xbl processor issues, but the one missing is to detect indent correctly. m-c uses two space indent in xbl files, even in the code. We use two space for the xml and four space for the code. I have a patch pending that uses the closing tag indent to check what the base indent would be. This works pretty well for both m-c and c-c, as long as we indent all our xbl method bodies by two more spaces. In the meanwhile, go to mozilla/tools/lint/eslint/node_modules/eslint-plugin-mozilla/lib/processors/xbl-bindings.js and change INDENT from 2 to 4. This will reset as soon as you mach eslint --setup again, if that is annoying to you then you could also change it in the source (drop node_modules from above path) and then run mach eslint --setup again.
Attachment #8803608 -
Flags: review?(philipp) → review+
Assignee | ||
Comment 8•8 years ago
|
||
https://hg.mozilla.org/comm-central/rev/da9bb0d96cc8487f057e1fe1c7e06b2e5b0b359e
Status: REOPENED → RESOLVED
Closed: 8 years ago → 8 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•8 years ago
|
||
Filed bug 1312191 for the indent issue btw
You need to log in
before you can comment on or make changes to this bug.
Description
•