Turn on ESLint in all of comm-central
Categories
(Thunderbird :: General, task)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(3 files)
|
9.71 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
|
11.36 KB,
patch
|
aceman
:
review+
|
Details | Diff | Splinter Review |
|
2.94 KB,
patch
|
darktrojan
:
review+
|
Details | Diff | Splinter Review |
I'm going to use this bug for a few clean-up tasks remaining. All that's left to be linted is mailnews (bug 1515877), ldap, and mail/test/mozmill.
After that I'm going to clean up the .eslintignore file and adjust the top config file to eliminate all the identical config files I've left in test directories everywhere.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
|
||
This is the most difficult directory.
Comment 2•6 years ago
|
||
| Assignee | ||
Comment 3•6 years ago
|
||
You need this? The mailbox URL test doesn't have that import.
It has a head file which imports Services.
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/e344d6227471
Turn on ESLint in ldap; r=jorgk
| Assignee | ||
Comment 5•6 years ago
|
||
This is a copy of the patch in bug 1415265.
| Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Chat tests use slightly different paths, so this adds another path entry to the root .estlintrc.js and deletes a bunch more .eslintrc.js files from chat.
| Assignee | ||
Comment 9•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
Comment 10•6 years ago
|
||
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/9efee8d57a4c
Use centralized ESLint configuration for chat tests. r=darktrojan
Comment 11•6 years ago
|
||
https://hg.mozilla.org/releases/comm-beta/rev/f86e8e7e79023267bbf1b1e7e6db9c21ca3f5a4d
The last patch joined its friends on beta, also to trigger a build which didn't happen after the merge.
Comment 12•6 years ago
|
||
Just to make it clear, the bug summary mentions all of comm-central, but in none of the bugs I have seen changes to Seamonkey (/suite subfolder). So it should probably be stated that that was an explicit non-goal of this cleanup and /suite is NOT being eslinted.
Comment 13•6 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #9)
Nice one, thanks Patrick. I wanted to remove these files but didn't have a
reasonable way to do it. This is as good as anything I came up with.
It isn't perfect, but it was the best I could come up with! Thanks for the review (and thanks for checking in / uplifting Jorg!)
Description
•