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

11 Коммитов

Автор SHA1 Сообщение Дата
Alessandro Castellani c919ceff4b Bug 1854255 - Enforce prefer-const eslint rule in calendar tests. r=leftmostcat,babolivier
Differential Revision: https://phabricator.services.mozilla.com/D188868

--HG--
extra : moz-landing-system : lando
2023-09-22 00:41:53 +00:00
Ben Campbell ef245cafd9 Bug 1682937 - Remove nsISimpleEnumerator use from calendar interfaces. r=darktrojan 2021-02-01 12:15:10 +02:00
Paul Morris ebeef1abf8 Bug 1577606 - Reformat calendar code with eslint and Prettier. r=darktrojan
# ignore-this-changeset

These changes were achieved by:

1. Using eslint to re-indent calendar code with 2 space
indent instead of 4.

Done by temporarily adding the following rule to the
calendar/.eslintrc.js file:

  "indent-legacy": [2, 2, { SwitchCase: 1, }],

Then temporarily turning off Prettier by adding to that
file the rule:

  "prettier/prettier": "off",

Then running |mach eslint calendar/ --fix|

2. Reformatting the calendar code using Prettier.

Done by removing those two temporary additions from the
calendar/.eslintrc.js file and running
|mach eslint calendar/ --fix|.
2019-08-29 15:15:53 -04:00
Martin Schroeder 957d0cd0bf Bug 1458367 - Mass replace the Components.interface/Components.utils uses with Ci/Cu in Calendar. r=MakeMyDay 2018-09-23 01:20:13 +02:00
eslint ae81b8058e Bug 1280898 - Set up eslint for calendar files - enable indent rule. r=MakeMyDay
MozReview-Commit-ID: CNVptKunJBx

--HG--
extra : rebase_source : 7cd4f8fef860621f225d1c392f2dff24411987cf
extra : source : f471d27c39cd3ed2d356d36b04f497537a194a9a
2016-07-09 12:38:40 +02:00
eslint eb30edd672 Bug 1280898 - Set up eslint for calendar files - enable prefer-arrow-callback rule. r=MakeMyDay
MozReview-Commit-ID: E3n4RPWNDWu

--HG--
extra : rebase_source : d293c64618bec734bababea034d7f7e0f2ee43c7
2016-07-08 14:10:46 +02:00
Kushan Joshi 65c4dd512f Fix bug 1022342 - Make use of Assert.jsm in xpcshell tests. r=philipp 2015-02-23 01:24:29 +01:00
aceman 1499389d09 Bug 1117060 - remove some deprecated let expressions in /calendar. r=Fallen, a=mkmelin 2015-01-20 21:59:51 +01:00
Gervase Markham d9160e1ab8 Bug 757018 - upgrade license to MPL 2. 2012-05-30 17:48:24 +01:00
Jae-Seong Lee-Russo 9553ed6d2a Fix bug 551231 - Make xpcshell-based unit tests pass in JavaScript strict mode. r=philipp
--HG--
extra : rebase_source : 9bdc29f7a5b19114d07a55193716284dac148715
2010-03-09 11:39:00 +01:00
Philipp Kewisch c1dddcb4b7 Fix bug 350845 - Implement relevant parameter methods (enumerate, exists, set). r=markus 2009-11-20 12:52:41 +01:00