Closed Bug 1383995 Opened 7 years ago Closed 7 years ago

Run eslint fix over calendar.

Categories

(Calendar :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1346797

People

(Reporter: tomprince, Assigned: tomprince)

Details

Attachments

(1 obsolete file)

      No description provided.
Comment on attachment 8889739 [details]
Bug 1383995 - Run eslint fix over calendar.

Thanks for taking the effort to run the linter. However, the indentation rule is applied too stricktly in numerous cases. We use a little more relaxed rule here, the way the indentation is reduced for several files e.g.

calendar/base/content/calendar-task-tree.js or
calendar/base/content/calendar-ui-utils.js

is not wanted. Maybe the rule definition needs to be applied to respect that, especially if the linter will be easier to run in future. I didn't look at each change, but also some of the test code reformattings seem to be not wanted.
Attachment #8889739 - Flags: feedback-
Comment on attachment 8889739 [details]
Bug 1383995 - Run eslint fix over calendar.

https://reviewboard.mozilla.org/r/160818/#review168122

I'm going to take MakeMyDay's comment as r-, I would have probably mentioned similar things. I'm going to clean up and land bug 1346797 now which should fix a few issues. I am surprised eslint is complaining so much about indent, I suspect that toolkit changed some of their rules which we inherit from.
Attachment #8889739 - Flags: review?(philipp) → review-
Taking care in bug 1346797
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Attachment #8889739 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: