Mark Banner
330c125649
Bug 1415265 - Implement a central configuration for setting ESLint environments for test directories. r=mossop
...
Differential Revision: https://phabricator.services.mozilla.com/D23849
2019-03-28 09:38:02 +00:00
Ian Moody
b39e6f8ed0
Bug 1246594 - Enable ESLint rule no-throw-literal by default. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D24088
2019-03-19 22:02:42 +00:00
Myk Melez
5ecc2c1225
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
2019-01-30 17:26:25 +00:00
Coroiu Cristina
9396e3b0da
Merge mozilla-central to inbound a=merge on a CLOSED TREE
2018-08-31 19:35:06 +03:00
Mark Banner
bb6de90251
Bug 1486739 - Enable ESLint rule comma-dangle for browser/, services/, taskcluster/ and toolkit/ directories. r=mossop
...
Enable globally by default by blacklist directories outside of the ones we're enabling. Remove now unnecessary existing configurations.
Differential Revision: https://phabricator.services.mozilla.com/D4440
2018-08-31 06:06:08 +00:00
Dave Townsend
b9bdbeacdf
Bug 1487246: Enable the eslint no-sequences rule. r=Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D4681
2018-08-29 16:15:33 -07:00
Mark Banner
29e56bce9b
Bug 1434869 - Automatically mark EXPORTED_SYMBOLS as used, so that we don't need to ignore it in ESLint's no-unused-vars rule. r=florian.
...
MozReview-Commit-ID: IVMeZHGdVBk
2018-03-06 12:01:59 +00:00
Mark Banner
910da570a0
Bug 1440379 - Tidy up ESlint no-unused-vars definitions wrt Ci/Cu/Cr/Cc usage for varsIgnorePattern. r=florian
...
MozReview-Commit-ID: HmliR8iNRDq
2018-02-22 16:55:36 +00:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Mark Banner
31b1fb7d6d
Bug 1436389 - Update complexity rules to adapt for the algorithm in the new ESLint. r=mossop
...
MozReview-Commit-ID: 1LlfamNvBEM
2018-02-07 16:16:09 +00:00
Sam R-T, Joseph F, Robin H
0be01d2d28
Bug 1432062 - Require dangling commas via eslint for the migration component. r=MattN
2018-01-22 15:22:35 -08:00
Dan Banner
503979c95a
Bug 1367704 - Enable the semi ESLint rule across the tree. r=standard8
...
MozReview-Commit-ID: GrlcOI9K2hJ
2017-05-28 19:57:46 +01:00
Mark Banner
45ac338c2f
Bug 1371293 - Upgrade ESLint to version 4.8.0, configuration changes. r=mossop
...
MozReview-Commit-ID: 2YHYOLTtqxu
2017-10-09 10:54:16 +01:00
Rajesh Kathiriya
fefc455410
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
1326418a49
Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout
2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Rajesh Kathiriya
993895141d
Bug 1370225 - Enabled the ESLint comma-style rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: 9OhLgBpYS4L
2017-06-15 18:24:17 +01:00
Rajesh Kathiriya
7c0507b30e
Bug 1370232 - Enabled the ESLint no-unneeded-ternary rule across mozilla-central. r=standard8
...
MozReview-Commit-ID: AH9ArRkjh78
2017-06-13 00:23:54 +05:30
Mark Banner
9916415caf
Bug 1371292 - Clean up more ESLint global definitions in configuration files in toolkit/ and browser/. r=mossop
...
MozReview-Commit-ID: 5KC23kzaCFN
2017-06-08 10:59:12 +01:00
Mark Banner
1b7222fed5
Bug 1370240 - Enable the ESLint no-control-regex rule across mozilla-central. r=mossop
...
MozReview-Commit-ID: IN7YMk7yhAO
2017-06-05 15:43:09 +01:00
Dan Banner
4055021839
Bug 1368041 - Enable no-array-constructor across mozilla-central r=standard8
...
MozReview-Commit-ID: EXJNufdKKhJ
2017-05-27 15:17:29 +01:00
tiago
56615c1d5e
Bug 1367198 - Remove duplicate ESLint rule definitions from various .eslintrc.js files. r=standard8
...
MozReview-Commit-ID: AUz5l7XPfwY
2017-05-24 13:55:24 -03:00
Chris Peterson
b8cbaadf9e
Bug 1358041 - Hoist some eslint rules from browser/ subdirectories to browser/.eslintrc. r=standard8
...
All of browser/ JS code passes these eslint rules, so we can hoist them from subdirectories' .eslintrc to the common browser/.eslintrc.
MozReview-Commit-ID: GMidHq0UIlH
2017-04-19 16:53:43 -07:00
Dan Banner
7116301bc3
Bug 1354512 - De-duplicate already ESLint recommended rules in browser/components/migration/. r=standard8
...
MozReview-Commit-ID: 66hJ6BvTrzY
2017-04-13 11:57:08 +01:00
Mark Banner
7945b07153
Bug 1342459 - Enable no-undef on browser/base, and clean up unnecessary no-undef references. r=mossop
...
MozReview-Commit-ID: KVrAnAjMD1E
2017-04-03 11:46:56 +01:00
Mark Banner
c5921108d5
Bug 1347884 - Enable eslint cyclomatic complexity rule at existing levels. r=jaws
...
Enable the rule with the maximums set to avoid current failures, except for test_form_autocomplete which is very
high (82). The levels are set per major area, with existing warnings being changed to errors.
MozReview-Commit-ID: 37M6Ry0Mr1c
2017-03-16 11:04:39 +00:00
Jared Wein
e10047cd07
Bug 1326479 - Enable more options for the 'indent' rule. r=Gijs
...
MozReview-Commit-ID: EuxayyLNHNt
2016-12-30 18:32:56 -05:00
Jared Wein
2dfc7371c2
Bug 1316096 - Change 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. r=mossop
...
MozReview-Commit-ID: 2Xuj5nxuQdO
2016-11-08 15:14:19 -05:00
Gijs Kruitbosch
bbf79f28ea
Bug 1311043 - make eslint much more strict in browser/components/migration/, and fix issues, r=mikedeboer
...
MozReview-Commit-ID: RXO68w3Kv3
2016-10-18 16:03:06 +01:00