Граф коммитов

43 Коммитов

Автор SHA1 Сообщение Дата
Mark Banner 499ca20f31 Bug 1421968 - Enable ESLint rule mozilla/use-services by default, but whitelist it for various directories still to be fixed. r=mossop
MozReview-Commit-ID: KOZWr7FiDQZ

--HG--
extra : rebase_source : 92c9bc236c9043f6ce25cc2ba45264918eb2ac15
2017-11-28 19:24:12 +00:00
Mark Banner efaca11893 Bug 1420422 - Enable ESLint rule mozilla/use-services for services/. r=markh
MozReview-Commit-ID: LQiMr3ppDuG

--HG--
extra : rebase_source : f509b5360e92db58f14b0f6a41c06e10fe7dd170
2017-11-24 14:46:33 +00:00
Nicolas Ouellet-Payeur 250eef68d6 Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
MozReview-Commit-ID: KquBcbNhBEN

--HG--
extra : rebase_source : 172bcad2eb178092bc7d49940db61e8cb5ad6572
2017-07-22 18:55:43 -07:00
Mark Banner 0ce286101c Bug 1359011 - Make the mozilla/recommended eslint configuration the default for the whole tree. r=mossop
MozReview-Commit-ID: HtUW43tCli1

--HG--
extra : rebase_source : 6496bc47860d9c1ab522a78e73b41550700021cb
2017-04-25 20:12:21 +01:00
Dan Banner f2a6a685fe Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO

--HG--
extra : rebase_source : 8e4c319c7fb8b727ac0193e5dd78411e1ec2785c
2017-04-27 17:24:18 +01:00
Carsten "Tomcat" Book 8cb9279791 Backed out changeset e6177d883f37 (bug 1359540) for eslint failures 2017-05-02 09:25:45 +02:00
Dan Banner 0c2aa823c9 Bug 1359540 - Enable the Mozilla ESlint recommended rules for services/. r=markh
MozReview-Commit-ID: D6qH5XtEtHO

--HG--
extra : rebase_source : 3d8d878810c60dc339e196eaac0215f9f72cc829
2017-04-27 17:24:18 +01:00
Mark Hammond cd73a70071 Bug 1340357 - remove all special eslint rules in services/. r=eoger
MozReview-Commit-ID: 6zMOBoWLOhJ

--HG--
extra : rebase_source : cf546abd9a52230746c0c05f7bb716cae42815bf
2017-02-17 12:34:45 +11:00
Mark Banner 8cf0d4744c Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 72df6ddc457431ae77f953a00712462e4902b5f1
2017-01-23 15:15:05 +00:00
Carsten "Tomcat" Book a6178c3af9 Backed out changeset 9c6b98edac72 (bug 1333044)
--HG--
extra : rebase_source : e81a05f7fa7ffca19ced3e0aca62ada7bde935b2
2017-01-25 15:29:33 +01:00
Mark Banner eb102a103e Bug 1333044 - Enable no-undef eslint rule for services/. r=markh
MozReview-Commit-ID: IrtWclENDth

--HG--
extra : rebase_source : 19e5895756579ecf88d5be70e8aaaf8c3166ada1
2017-01-23 15:15:05 +00:00
Jared Wein a1b9179389 Bug 1330791 - Enable the no-native-reassign rule for eslint in /services and fix the associated error. r=markh
MozReview-Commit-ID: 65EsZGCJPMD

--HG--
extra : rebase_source : 4dc9dddaa26d1c10f859dc7a08b64168a1d0fdd5
2017-01-12 18:28:48 -05:00
Jared Wein 95fba3cca3 Bug 1330791 - Enable the no-ex-assign rule for eslint in /services. There are no associated errors with enabling this rule. r=markh
MozReview-Commit-ID: 8AsaN1gyjkm

--HG--
extra : rebase_source : 7f35d170620ce24fff5920d9376f46fc02e3817e
2017-01-12 18:27:39 -05:00
Jared Wein 02c3be3118 Bug 1330791 - Enable the no-cond-assign rule for eslint in /services. There are no associated errors with enabling this rule. r=markh
MozReview-Commit-ID: BM83kDZJpZ3

--HG--
extra : rebase_source : 3769dc72cfe5d0b328926d94bd7d45fc4d02a215
2017-01-12 18:27:00 -05:00
Jared Wein 285bebb13e Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: Ebl3bODX14z

--HG--
extra : rebase_source : 20fe1d8043b04c53b9521bc0ad30b72ebf253062
2017-01-12 18:24:52 -05:00
Jared Wein bcf58381e1 Bug 1330791 - Enable the no-octal rule for eslint and fix the associated error. r=markh
MozReview-Commit-ID: LLYKmP7HOei

--HG--
extra : rebase_source : 7c4dbf5fa57f7ef38460a9bc071475a6ad70f18d
2017-01-12 18:21:43 -05:00
Jared Wein 516a926c6e Bug 1330791 - Enable the no-redeclare rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: 7ADLmPB4eSu

--HG--
extra : rebase_source : 94a966d6cbc5c2b6b6097355fc3aa84dd50e27f5
2017-01-12 18:19:47 -05:00
Jared Wein 49ca473486 Bug 1330791 - Enable the no-unreachable rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: e60hfjiUmS

--HG--
extra : rebase_source : 3a8687fcfe76687581dd8a43f3e7fc7089c5553a
2017-01-12 18:18:31 -05:00
Jared Wein 377910a84e Bug 1330791 - Enable the no-unsafe-finally rule for eslint in /services. There are no associated errors with this rule. r=markh
MozReview-Commit-ID: E057aetXRv

--HG--
extra : rebase_source : 161f178337636e55b10b232cd4e9cfe3fc3aa4d7
2017-01-12 18:16:34 -05:00
Jared Wein ac53e1b8be Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: 7Os4uZQCDox

--HG--
extra : rebase_source : 2a1d9ef6fb6510f7f3b02b6c727bc706e56637b0
2017-01-12 18:14:54 -05:00
Jared Wein cd4fc8120a Bug 1330791 - Enable the no-empty rule for eslint. There were no associated errors with this rule. r=markh
MozReview-Commit-ID: JlhO0F45cYL

--HG--
extra : rebase_source : 66e0cd06a7af1712d609f11adc438d26cd79da25
2017-01-12 18:09:24 -05:00
Jared Wein d019dbcaa8 Bug 1330791 - Enable the no-useless-call eslint rule for /services and fix associated errors. r=markh
MozReview-Commit-ID: Ixd7jk5G5CB

--HG--
extra : rebase_source : 0f5817cb03f26c28d401706069ba9aa23f6acce3
2017-01-12 18:08:10 -05:00
Jared Wein 7cb8b041fe Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb

--HG--
extra : rebase_source : c6abc288124c1c47480cc73db8294195d8832fa2
2017-01-12 18:02:08 -05:00
Jared Wein 6d19607e67 Bug 1330791 - Enable the no-irregular-whitespace rule for /services and fix the associated errors. r=markh
MozReview-Commit-ID: 5rledRlxUl2

--HG--
extra : rebase_source : 4612dacb80a5f11041fccc3a3edee6b121cdd2ff
2017-01-12 17:27:34 -05:00
Jared Wein 8b1f142e1f Bug 1330791 - Enable the no-mixed-spaces-and-tabs rule and fix the associated errors. r=markh
MozReview-Commit-ID: D1CTiez7BDy

--HG--
extra : rebase_source : b1a972925bf220cc7a5e550ce89fad705d2e8c44
2017-01-12 17:24:41 -05:00
Wes Kocher 20dc006d88 Backed out 14 changesets (bug 1330791) for various android failures a=backout
Backed out changeset eada8de7256f (bug 1330791)
Backed out changeset a3c656a9f3ca (bug 1330791)
Backed out changeset e0cbc754e841 (bug 1330791)
Backed out changeset 49d8016fab12 (bug 1330791)
Backed out changeset 53d4b83ccd22 (bug 1330791)
Backed out changeset b35cbfcd801f (bug 1330791)
Backed out changeset 25a6356de622 (bug 1330791)
Backed out changeset 46f9c247550d (bug 1330791)
Backed out changeset ef7356099bd3 (bug 1330791)
Backed out changeset a5fe483288db (bug 1330791)
Backed out changeset 4902107b7568 (bug 1330791)
Backed out changeset 5b2b2be2e389 (bug 1330791)
Backed out changeset 610ec89e98bb (bug 1330791)
Backed out changeset 631adda26a21 (bug 1330791)

MozReview-Commit-ID: GGUFW29U3TL
2017-01-17 17:06:36 -08:00
Jared Wein 4bca295e61 Bug 1330791 - Enable the no-native-reassign rule for eslint in /services and fix the associated error. r=markh
MozReview-Commit-ID: 65EsZGCJPMD

--HG--
extra : rebase_source : 716697450e8506240a50a29508bf4943c37f48ef
2017-01-12 18:28:48 -05:00
Jared Wein 2da3b5c9e4 Bug 1330791 - Enable the no-ex-assign rule for eslint in /services. There are no associated errors with enabling this rule. r=markh
MozReview-Commit-ID: 8AsaN1gyjkm

--HG--
extra : rebase_source : b6dd88509994bd402bc976916bd155f6552f4996
2017-01-12 18:27:39 -05:00
Jared Wein 5736b2a7b2 Bug 1330791 - Enable the no-cond-assign rule for eslint in /services. There are no associated errors with enabling this rule. r=markh
MozReview-Commit-ID: BM83kDZJpZ3

--HG--
extra : rebase_source : e458f2990fea6a9374237c5d1d128c3b71075d4b
2017-01-12 18:27:00 -05:00
Jared Wein 3ebade8189 Bug 1330791 - Enable the brace-style rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: Ebl3bODX14z

--HG--
extra : rebase_source : f708038a1e3d27f7397d2ff6ac8981d1e5fa5d43
2017-01-12 18:24:52 -05:00
Jared Wein 40ff88887b Bug 1330791 - Enable the no-octal rule for eslint and fix the associated error. r=markh
MozReview-Commit-ID: LLYKmP7HOei

--HG--
extra : rebase_source : f10d3c6fe0816cea4054132833736182f60ac555
2017-01-12 18:21:43 -05:00
Jared Wein 16f3cc90b4 Bug 1330791 - Enable the no-redeclare rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: 7ADLmPB4eSu

--HG--
extra : rebase_source : 2305e778e5a37a6c32753b021789c3a8c0077c69
2017-01-12 18:19:47 -05:00
Jared Wein e4956c0ce7 Bug 1330791 - Enable the no-unreachable rule for eslint in /services and fix the associated errors. r=markh
MozReview-Commit-ID: e60hfjiUmS

--HG--
extra : rebase_source : 5d6d804683d45c7e08bac19ffa7d04a56c298adb
2017-01-12 18:18:31 -05:00
Jared Wein 41155f0fea Bug 1330791 - Enable the no-unsafe-finally rule for eslint in /services. There are no associated errors with this rule. r=markh
MozReview-Commit-ID: E057aetXRv

--HG--
extra : rebase_source : 26b2b0e92bcd0bfbf4e5ecbae9f82fccbcc07558
2017-01-12 18:16:34 -05:00
Jared Wein d3dba448bd Bug 1330791 - Enable no-else-return rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: 7Os4uZQCDox

--HG--
extra : rebase_source : 8d14b02c97b8024268b5625a633393e75efed117
2017-01-12 18:14:54 -05:00
Jared Wein f60caed47a Bug 1330791 - Enable the no-empty rule for eslint. There were no associated errors with this rule. r=markh
MozReview-Commit-ID: JlhO0F45cYL

--HG--
extra : rebase_source : deda15122cb9b34f1f177e19cb1d08613468e90b
2017-01-12 18:09:24 -05:00
Jared Wein e1a3fb1d47 Bug 1330791 - Enable the no-useless-call eslint rule for /services and fix associated errors. r=markh
MozReview-Commit-ID: Ixd7jk5G5CB

--HG--
extra : rebase_source : a4c226744a30df49d408a8c904fefa27b1439388
2017-01-12 18:08:10 -05:00
Jared Wein 42349d27b4 Bug 1330791 - Enable the no-unused-vars rule for eslint in /services and fix associated errors. r=markh
MozReview-Commit-ID: DFcvEllwGSb

--HG--
extra : rebase_source : 24dc56342d6b1a95df64c0c7c5a1819344cfe603
2017-01-12 18:02:08 -05:00
Jared Wein 0a92e3f3d3 Bug 1330791 - Enable the no-irregular-whitespace rule for /services and fix the associated errors. r=markh
MozReview-Commit-ID: 5rledRlxUl2

--HG--
extra : rebase_source : 662cd590663b6fb5d8efa091704343bd180fabb2
2017-01-12 17:27:34 -05:00
Jared Wein 6e7a183d9a Bug 1330791 - Enable the no-mixed-spaces-and-tabs rule and fix the associated errors. r=markh
MozReview-Commit-ID: D1CTiez7BDy

--HG--
extra : rebase_source : ef904deee535d301d0cf33d9d941d254036ba442
2017-01-12 17:24:41 -05:00
Jared Wein 65605f286e Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8

--HG--
extra : rebase_source : cbfc8d4474b6c3d46eb21374e33fd3341403444f
2017-01-10 12:09:02 -05:00
Iris Hsiao 55313b4bc9 Backed out changeset 7e0a0bd74199 (bug 1330014) 2017-01-13 11:06:43 +08:00
Jared Wein 81cb5e57b9 Bug 1330014 - Add .eslintrc.js file to /services and run eslint --fix to automatically fix most of the errors. --fix brings the error count down from 4083 to 321 errors. r=markh,standard8
MozReview-Commit-ID: EjyAssqiQk8

--HG--
extra : rebase_source : d783829bc7fced3044d0d076c4786a6957d29bb6
2017-01-10 12:09:02 -05:00