Commit Graph

15 Commits

Author SHA1 Message Date
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
Chris Peterson
7d1190a6fd Bug 1358041 - Fix no-aArgs eslint warning about Hungarian Notation in browser/extensions/formautofill/. r=standard8
This eslint warning is a regression from bug 1340468:

browser/extensions/formautofill/content/FormAutofillFrameScript.js
warning  Parameter 'aMessage' uses Hungarian Notation, consider using 'message' instead.  mozilla/no-aArgs (eslint)

MozReview-Commit-ID: LqEZT0RNp7K
2017-04-20 00:05:12 -07:00
Rajesh Kathiriya
a6c28641dd Bug 1354513 - Removed duplicate ESLint recommended rules in formautofill r=standard8
MozReview-Commit-ID: EI7C0nnfqUl
2017-04-18 00:24:38 +05:30
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
Matthew Noorenberghe
921026d089 Bug 1338075 - formautofill: Enable no-cpows-in-tests and var-only-at-top-level. r=lchang
MozReview-Commit-ID: 4oYbRAMxZvH
2017-02-10 15:14:55 +08:00
Matthew Noorenberghe
d8df0dc1b1 Bug 1338075 - formautofill: Inherit all eslint rules where off is currently specified. r=lchang
MozReview-Commit-ID: HHAzuSHMwju
2017-02-10 15:12:32 +08:00
Matthew Noorenberghe
0800401272 Bug 1338075 - formautofill: Enable object-shorthand. r=lchang
MozReview-Commit-ID: 1y2B2jxmsaC
2017-02-09 16:28:56 +08:00
Matthew Noorenberghe
6c7d8f0d42 Bug 1338075 - formautofill: Remove eslint rules that match or are less strict than inheritted ones. r=lchang
MozReview-Commit-ID: FD0r0TKXDSO
2017-02-09 16:29:53 +08:00
Matthew Noorenberghe
70ade53a43 Bug 1338075 - formautofill: Remove eslint rules that match inheritted values. r=lchang
MozReview-Commit-ID: 9ArZh71ck0j
2017-02-09 16:30:26 +08:00
steveck-chung
41aee8d40d Bug 1300992 - Part 1: Communication between processes, r=MattN
MozReview-Commit-ID: IfeRsX9ErBj
2016-12-30 17:00:27 +08:00
Kit Cambridge
b5156e7a2a Bug 1322954 - Replace deprecated no-negated-in-lhs ESLint option with no-unsafe-negation. r=markh
MozReview-Commit-ID: 3PnGSH0wzyi
2016-12-11 20:53:18 -08: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
Mark Banner
d4b538c2b7 Bug 1240165 - Expand the eslint rule 'mark-test-function-used' to cover xpcshell tests as well as gecko tests and apply to the whole tree. r=miker
MozReview-Commit-ID: FlbJ8yzWXlw
2016-10-26 09:46:40 +01:00
Mark Banner
233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00