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

66 Коммитов

Автор SHA1 Сообщение Дата
Geoff Lankow de7d74bcdd Bug 1925771 - Port bug 1881696 - Add ESLint flat config support to eslint-plugin-mozilla. r=aleca
Port of https://hg.mozilla.org/mozilla-central/rev/1489623017f8

Differential Revision: https://phabricator.services.mozilla.com/D226262

--HG--
extra : amend_source : 717c966d73c21146a55fec9a0f175d493a4ed7ce
2024-10-21 11:10:20 +13:00
Magnus Melin 806fe422be Bug 1918951 - Fix shadow/redeclare linting errors in comm/mail/components (directories other than subdirectory extensions/test). r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D225977

--HG--
extra : moz-landing-system : lando
2024-10-17 20:59:22 +00:00
Magnus Melin 0cf6669629 Bug 1918952 - Fix shadow/redeclare linting errors in mailnews, mail/modules and mail/test. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D224826

--HG--
extra : amend_source : b36ae3e66056a27ee4b97e5549ed31a84114b012
2024-10-17 11:09:37 +01:00
Magnus Melin c77d095c79 Bug 1918950 - Fix shadow/redeclare linting errors in comm/mail/components/extensions. r=john.bieling
Differential Revision: https://phabricator.services.mozilla.com/D224755
2024-10-09 18:39:27 +00:00
Magnus Melin 6869385f25 Bug 1918949 - Fix shadow/redeclare linting errors in comm/mail/base. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D224736

--HG--
extra : rebase_source : d1dc66da4e5307f96347ef6c1c82eabce2ac6f25
extra : amend_source : a638122f14edbc558de94c3763357e3e5a0437e7
2024-10-08 13:03:44 +03:00
Magnus Melin 16337b85cd Bug 1918947 - Fix shadow/redeclare linting errors in comm/calendar. r=tobyp
Differential Revision: https://phabricator.services.mozilla.com/D224640

--HG--
extra : rebase_source : 696d8f5c36cb6beb66d4909c5ff59646037f6202
extra : amend_source : d73147e6c721bed57116dece3733039765cf7a92
2024-10-08 13:03:18 +03:00
Magnus Melin 1ccdf9bb3f Bug 1918948 - Fix shadow/redeclare linting errors in comm/chat. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D224639

--HG--
extra : rebase_source : dd2774c1f315b9fc76e5c9e74cfdc728cf802066
extra : amend_source : d369a506b196d3f07d39cd25b76c18c71df95038
2024-10-07 13:44:14 +03:00
Daniel Darnell eb8e0d7838 Bug 1920537 - Port bug 1919709: Move ESLint CI runners to use node from the toolchains. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D223625

--HG--
extra : amend_source : 93a67f1e270fbd9d2470a63971d90c7c93d35818
2024-09-26 09:55:18 +03:00
Geoff Lankow 4dc1b36e9b Bug 1920595 - Port bug 1920531: Remove html, json and prettier plugin dependencies from eslint-plugin-mozilla. r=aleca DONTBUILD
Port of https://hg.mozilla.org/mozilla-central/rev/df73766cfce5807446d4800f927423f7e05f74de

Differential Revision: https://phabricator.services.mozilla.com/D223222

--HG--
extra : amend_source : 84fa155102dc681f30c040fd0936cfea83fbbf9c
2024-09-24 11:00:14 +12:00
Kai Engert 27d2c2cf3f Bug 1918946 - Fix shadow/redeclare linting errors in openpgp code. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D222239

--HG--
extra : rebase_source : b36da7c509bb34f291747d63ae97a1f1e896c2e1
2024-09-16 10:16:44 +02:00
Martin Giger 4ccaff45e6 Bug 1918630 - Fix some of the new eslint failures, EventUtils and MailTestUtils. r=kaie
Remaining pieces of Revision: https://phabricator.services.mozilla.com/D222147

--HG--
extra : amend_source : a8bb1c112998a0847bbedd5192161b1c957e6419
2024-09-14 18:01:39 +02:00
Martin Giger 85ad8ae333 Bug 1918630 - Port bug 1575506: Fix some of the new eslint failures. r=kaie
Subset of the patch, excluding
- mailnews/test/resources/MailTestUtils.sys.mjs
- mail/test/browser/shared-modules/EventUtils.sys.mjs

Differential Revision: https://phabricator.services.mozilla.com/D222147

--HG--
extra : rebase_source : 69e22acc3233034f4337548726d37ff1fe56fcc9
2024-09-13 16:32:33 +00:00
Kai Engert 2f43b70b9d Bug 1918630 - Enable no-shadow/no-redeclare rules for a first set of files. r=#thunderbird-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D222187

--HG--
extra : rebase_source : d7482c4950bf285a4d67f2021b59132145376e41
2024-09-14 00:08:12 +02:00
Kai Engert b2304277eb Bug 1918630 - Keep allowing redeclare and shadow in eslint. r=#thunderbird-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D222186

--HG--
extra : rebase_source : 1e30a2db6175d420cba3c8d119fc36e92ecbaaf5
2024-09-13 23:38:37 +02:00
Martin Giger da22f0d89f Bug 1801529 - Enable valid-jsdoc linter on inappnotifications component. rs=me 2024-07-03 18:42:03 +02:00
Magnus Melin feb3742036 Bug 1897884 - Port bug 1897770 - Improve sjs environment definitions in ESLint. r=aleca
The rule needed to move up now.

Differential Revision: https://phabricator.services.mozilla.com/D211020

--HG--
extra : amend_source : 2d85494ad3305f8937c90239d54d05745d9e4e9b
2024-05-22 10:44:17 +12:00
Geoff Lankow 92b434dbe2 Bug 1896844 part 2/2 - Remove old calendar import dialog. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D210600

--HG--
extra : moz-landing-system : lando
2024-05-20 10:30:30 +00:00
Martin Giger 3294d46297 Bug 1873860 - Clean up QuickFilterManager JSDocs. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D208609

--HG--
extra : amend_source : d7354cf793d0fb19cdfdff850bd53e58eec05942
2024-04-26 19:20:10 +02:00
Martin Giger 20dee105ec Bug 1801529 - Enable mozilla/valid-jsdoc on chat imContentSink.sys.mjs. rs=me
--HG--
extra : amend_source : 099126da2b58426d0d0321daf5d32b0f684b0eb6
2024-04-15 17:57:23 +02:00
Martin Giger 0e05108b31 Bug 1890300 - Enable linter rule to never allow import of JSMs. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D206906

--HG--
extra : rebase_source : fac8eba1b856b229050afa60d92503d3ba743c5f
2024-04-08 13:40:41 +00:00
Magnus Melin bf0cc3ae17 Bug 1824260 - Update outdated .jsm references. r=freaktechnik
Update outdated .jsm references in the tree.

Depends on D204766

Differential Revision: https://phabricator.services.mozilla.com/D204769

--HG--
extra : rebase_source : cdf8c1367702bb00c51a750cc712e156db65d371
extra : amend_source : 5f2256fc97ae8f3de2086ffbe99acde9fdef0473
2024-03-21 19:44:49 +02:00
Daniel Darnell 2c5b33e213 Bug 1801529 - Fix all known JSDoc syntax errors in calendar/base/. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D203372

--HG--
extra : amend_source : 079eddcebdd60ef387a7ed05967e0720061aab85
2024-03-15 03:08:23 -07:00
Magnus Melin aa7951fdc0 Bug 1883846 - Port bug 1883371 - Enable ESLint rule no-console on production code. r=aleca
Remove some of things that shoudn't really be logged.
Some usage were in try-catches that should not reasonably throw.
Upgraded many debug/logs to warn - when appropriate.

Differential Revision: https://phabricator.services.mozilla.com/D203750

--HG--
extra : rebase_source : 73d8f0ba2ad7ebf0f82e71bed603f90e45dac0ce
extra : amend_source : 0824f75948689237cc7d49715a23603ce0f654a3
2024-03-07 11:51:32 +02:00
Magnus Melin e757d645f0 Bug 1882579 - Port bug 1864896 to Thunderbird - Turn on argument linting from no-unused-vars. r=freaktechnik
Differential Revision: https://phabricator.services.mozilla.com/D203266

--HG--
extra : moz-landing-system : lando
2024-03-01 17:03:01 +00:00
Magnus Melin 925a73db54 Bug 1872974 - back out global enabling of mozilla/valid-jsdoc. rs=bustage-fix 2024-02-07 10:33:13 +02:00
Daniel Darnell 5417f1cbba Bug 1872974 - Add sphinx-js to in-tree docs. r=rjl
Differential Revision: https://phabricator.services.mozilla.com/D197744

--HG--
extra : amend_source : 1afc791e3b91ce300002deada6966aafb72013c1
extra : absorb_source : 483d75fe9c4fa08e57a9badac33a1120c62da3d1
2024-02-03 11:09:04 +00:00
Geoff Lankow 426d7ccb49 Bug 1878576 - Port bug 1878009: Remove Babel integration with ESLint. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D200597

--HG--
extra : rebase_source : 838ce13b0681b98c2d6e1bcb08eb8bf5b76dce47
extra : amend_source : fd5deff9dfad56360ddb644ecf2d866a4ca8e354
2024-02-05 11:23:54 +13:00
Geoff Lankow c4bade9274 Bug 1851536 - Move tests of widgets into their own directory. r=mkmelin
This patch moves tests that are generally independent of the primary UI into their own directory,
which should help with reliability and efficiency of test development.

Differential Revision: https://phabricator.services.mozilla.com/D199317

--HG--
rename : mail/base/test/browser/browser_formPickers.js => mail/base/test/widgets/browser_formPickers.js
rename : mail/base/test/browser/browser_linkHandler.js => mail/base/test/widgets/browser_linkHandler.js
rename : mail/base/test/browser/browser_menulist.js => mail/base/test/widgets/browser_menulist.js
rename : mail/base/test/browser/browser_orderableTreeListbox.js => mail/base/test/widgets/browser_orderableTreeListbox.js
rename : mail/base/test/browser/browser_paneSplitter.js => mail/base/test/widgets/browser_paneSplitter.js
rename : mail/base/test/browser/browser_searchBar.js => mail/base/test/widgets/browser_searchBar.js
rename : mail/base/test/browser/browser_selectionWidgetController.js => mail/base/test/widgets/browser_selectionWidgetController.js
rename : mail/base/test/browser/browser_treeListbox.js => mail/base/test/widgets/browser_treeListbox.js
rename : mail/base/test/browser/browser_treeView.js => mail/base/test/widgets/browser_treeView.js
rename : mail/base/test/browser/files/links.html => mail/base/test/widgets/files/links.html
rename : mail/base/test/browser/files/menulist.xhtml => mail/base/test/widgets/files/menulist.xhtml
rename : mail/base/test/browser/files/orderableTreeListbox.xhtml => mail/base/test/widgets/files/orderableTreeListbox.xhtml
rename : mail/base/test/browser/files/paneSplitter.xhtml => mail/base/test/widgets/files/paneSplitter.xhtml
rename : mail/base/test/browser/files/sampleContent.html => mail/base/test/widgets/files/sampleContent.html
rename : mail/base/test/browser/files/searchBar.xhtml => mail/base/test/widgets/files/searchBar.xhtml
rename : mail/base/test/browser/files/selectionWidget.js => mail/base/test/widgets/files/selectionWidget.js
rename : mail/base/test/browser/files/selectionWidget.xhtml => mail/base/test/widgets/files/selectionWidget.xhtml
rename : mail/base/test/browser/files/tree-element-test-common.js => mail/base/test/widgets/files/tree-element-test-common.js
rename : mail/base/test/browser/files/tree-element-test-header.js => mail/base/test/widgets/files/tree-element-test-header.js
rename : mail/base/test/browser/files/tree-element-test-header.xhtml => mail/base/test/widgets/files/tree-element-test-header.xhtml
rename : mail/base/test/browser/files/tree-element-test-levels.js => mail/base/test/widgets/files/tree-element-test-levels.js
rename : mail/base/test/browser/files/tree-element-test-levels.xhtml => mail/base/test/widgets/files/tree-element-test-levels.xhtml
rename : mail/base/test/browser/files/tree-element-test-no-header.js => mail/base/test/widgets/files/tree-element-test-no-header.js
rename : mail/base/test/browser/files/tree-element-test-no-header.xhtml => mail/base/test/widgets/files/tree-element-test-no-header.xhtml
rename : mail/base/test/browser/files/treeListbox.xhtml => mail/base/test/widgets/files/treeListbox.xhtml
rename : mail/base/test/browser/head.js => mail/base/test/widgets/head.js
extra : rebase_source : a6ac9ee6e1f21e506fd0e487a6b954c91ff44580
extra : __touch-noise__ : 349023483
extra : amend_source : 76be5aebc6c1275e212d73d9d104021f217bde1f
2024-01-23 21:20:12 +13:00
Alessandro Castellani 37a1c0c3ff Bug 1854255 - Enforce prefer-const eslint rule globally. r=john.bieling,ikey
Differential Revision: https://phabricator.services.mozilla.com/D192298

--HG--
extra : moz-landing-system : lando
2023-11-21 11:02:13 +00:00
Alessandro Castellani 991fae5d76 Bug 1854255 - Enable `prefer-const` as linting rule for some tests head files. r=vineet
Differential Revision: https://phabricator.services.mozilla.com/D188765

--HG--
extra : moz-landing-system : lando
2023-09-21 05:40:50 +00:00
Rob Lemley abcec1eac4 Bug 1831588 - Teach ESLint to ignore paths from ThirdPartyPaths.txt. r=aleca
Copy code from m-c's .eslintrc.js that reads ThirdPartyPaths.txt (and Generated.txt)
and adds the contents to ignorePatterns.
Since those files are prefixed with "comm/", ESLint needs to drop the prefix
because `commlint -l eslint` always runs from ``$topsrcdir/comm` so that the
correct .eslintignore and .prettierignore files are found.

Differential Revision: https://phabricator.services.mozilla.com/D177274

--HG--
extra : moz-landing-system : lando
2023-05-06 09:40:40 +00:00
Martin Giger 6c4e0fce2e Bug 1802915 - Follow Bug 1778107: Migrate storybook to .mjs files. r=aleca
Differential Revision: https://phabricator.services.mozilla.com/D163229

--HG--
rename : mail/components/storybook/.storybook/preview.js => mail/components/storybook/.storybook/preview.mjs
rename : mail/components/storybook/stories/colors.stories.js => mail/components/storybook/stories/colors.stories.mjs
rename : mail/components/storybook/stories/pane-splitter.stories.js => mail/components/storybook/stories/pane-splitter.stories.mjs
extra : moz-landing-system : lando
2022-11-28 21:23:35 +00:00
Rob Lemley 828db85a4b Bug 1793859 - Update ESLint config with upstream ESMify changes. r=freaktechnik,#thunderbird-reviewers
Include "eslint-plugin-import" and copy some rules from upstream. This plugin
lints ES6+ import/export statements.

Depends on D158724

Differential Revision: https://phabricator.services.mozilla.com/D158725

--HG--
extra : rebase_source : a0f65a6cd50bb94a3545504450d62a685062f13a
extra : histedit_source : 573475f6768769ddcd241cd35455320d988cbae3
2022-10-06 02:10:16 +00:00
Geoff Lankow 9cd4f074a8 Port bug 1733549 - Remove uses of ChromeUtils.import(..., null) in enterprise policy code. rs=bustage-fix
Port of https://hg.mozilla.org/mozilla-central/rev/c4f862d825ca.

--HG--
extra : amend_source : 7b9b3f495a714912064b560bfed84cd7fdf53cf5
extra : histedit_source : ee97f19bbbf9fd5c1d1be471210d7c8704f3b965
2021-11-08 11:18:49 +13:00
Geoff Lankow 1a60517efa Bug 1729638 - Stop applying browser-test rules to JSMs in test directories. r=mkmelin
I broke the tests with the first patch for this bug because ESLint thought that Services was defined where it wasn't. This is because we apply a special set of rules to Mochitests, but those rules shouldn't also apply to JSMs in Mochitest directories.

Differential Revision: https://phabricator.services.mozilla.com/D125013

--HG--
extra : rebase_source : a4c6d3bcb2bd71ecdd2d2e01be546c470e8ac8c7
2021-09-09 14:27:19 +12:00
Geoff Lankow e03570af7e Bug 1721526 - Update test paths in ESLint config. rs=me 2021-07-21 16:43:35 +12:00
Magnus Melin 9afd700403 Bug 1702166 - adjust comm-central for "Update ESLint, Babel and associated modules to the latest versions". rs=bustage-fix DONTBUILD
--HG--
extra : rebase_source : fb75af2ba5c3a5c7117621072cd089e3271c3099
2021-04-05 12:41:39 +03:00
Geoff Lankow 3375e3259f Bug 1692419 - Port bug 1608272 - Remove 'this' as the second argument to 'ChromeUtils.import'. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D104972

--HG--
extra : amend_source : b43b05b6c5193f7170d1a5722ce3ed77e3a807b0
2021-02-12 11:54:09 +02:00
Mark Banner f71dcf35c6 Bug 1660706 - Add a mochitest performance test to ensure modules are not loaded too early on startup. r=mkmelin
Differential Revision: https://phabricator.services.mozilla.com/D87975

--HG--
extra : moz-landing-system : lando
2020-08-26 10:22:36 +00:00
Geoff Lankow e9c232ba47 Bug 1639814 - Port bug 1617959: Switch to the babel-eslint parser. r=mkmelin
--HG--
extra : rebase_source : a171c0aa3f57abe0cf5c01f3d11beca0e979c99c
extra : histedit_source : 502a016f84ca92275fb8240e4215530418565509
2020-05-21 20:15:08 +12:00
Geoff Lankow 63baa60279 Bug 1616608 - Remove separate ESLint rules in calendar. r=mkmelin,pmorris,fallen
--HG--
extra : rebase_source : 5042b09cb7b5a489b73252a65c64fabc0b8d7eb3
extra : histedit_source : 4a89a83e1f054e061bec9f7a1fb78c1925c0a728
2020-02-20 11:24:47 +13:00
Geoff Lankow 774dc83e56 Bug 1616608 - Remove ESLint rules that conflict with Prettier. r=mkmelin
--HG--
extra : rebase_source : 008202a34cf60f1b439c48ad37e22a54e8ff0203
extra : histedit_source : 6cb6b1eb015e49c663b4f1eb6b846d54c21ee7dc
2020-02-20 11:14:59 +13:00
Geoff Lankow 0add81ce54 Bug 1594964 - Unify linting rules for test directories. r=pmorris
--HG--
rename : mailnews/mime/jsmime/test/data/base64-1 => mailnews/mime/jsmime/test/unit/data/base64-1
rename : mailnews/mime/jsmime/test/data/base64-2 => mailnews/mime/jsmime/test/unit/data/base64-2
rename : mailnews/mime/jsmime/test/data/basic1 => mailnews/mime/jsmime/test/unit/data/basic1
rename : mailnews/mime/jsmime/test/data/bug505221 => mailnews/mime/jsmime/test/unit/data/bug505221
rename : mailnews/mime/jsmime/test/data/bugmail11 => mailnews/mime/jsmime/test/unit/data/bugmail11
rename : mailnews/mime/jsmime/test/data/charsets => mailnews/mime/jsmime/test/unit/data/charsets
rename : mailnews/mime/jsmime/test/data/message-encoded => mailnews/mime/jsmime/test/unit/data/message-encoded
rename : mailnews/mime/jsmime/test/data/mime-torture => mailnews/mime/jsmime/test/unit/data/mime-torture
rename : mailnews/mime/jsmime/test/data/multipart-base64-1 => mailnews/mime/jsmime/test/unit/data/multipart-base64-1
rename : mailnews/mime/jsmime/test/data/multipart-base64-2 => mailnews/mime/jsmime/test/unit/data/multipart-base64-2
rename : mailnews/mime/jsmime/test/data/multipart-base64-3 => mailnews/mime/jsmime/test/unit/data/multipart-base64-3
rename : mailnews/mime/jsmime/test/data/multipart-complex1 => mailnews/mime/jsmime/test/unit/data/multipart-complex1
rename : mailnews/mime/jsmime/test/data/multipart-complex2 => mailnews/mime/jsmime/test/unit/data/multipart-complex2
rename : mailnews/mime/jsmime/test/data/multipart1 => mailnews/mime/jsmime/test/unit/data/multipart1
rename : mailnews/mime/jsmime/test/data/multipart2 => mailnews/mime/jsmime/test/unit/data/multipart2
rename : mailnews/mime/jsmime/test/data/multipart3 => mailnews/mime/jsmime/test/unit/data/multipart3
rename : mailnews/mime/jsmime/test/data/multipart4 => mailnews/mime/jsmime/test/unit/data/multipart4
rename : mailnews/mime/jsmime/test/data/multipartmalt-detach => mailnews/mime/jsmime/test/unit/data/multipartmalt-detach
rename : mailnews/mime/jsmime/test/data/shift-jis-image => mailnews/mime/jsmime/test/unit/data/shift-jis-image
rename : mailnews/mime/jsmime/test/head_xpcshell_glue.js => mailnews/mime/jsmime/test/unit/head_xpcshell_glue.js
rename : mailnews/mime/jsmime/test/mock_date.js => mailnews/mime/jsmime/test/unit/mock_date.js
rename : mailnews/mime/jsmime/test/test_custom_headers.js => mailnews/mime/jsmime/test/unit/test_custom_headers.js
rename : mailnews/mime/jsmime/test/test_header.js => mailnews/mime/jsmime/test/unit/test_header.js
rename : mailnews/mime/jsmime/test/test_header_emitter.js => mailnews/mime/jsmime/test/unit/test_header_emitter.js
rename : mailnews/mime/jsmime/test/test_mime_tree.js => mailnews/mime/jsmime/test/unit/test_mime_tree.js
rename : mailnews/mime/jsmime/test/test_structured_header_emitters.js => mailnews/mime/jsmime/test/unit/test_structured_header_emitters.js
rename : mailnews/mime/jsmime/test/test_structured_headers.js => mailnews/mime/jsmime/test/unit/test_structured_headers.js
rename : mailnews/mime/jsmime/test/xpcshell.ini => mailnews/mime/jsmime/test/unit/xpcshell.ini
2019-11-05 16:48:02 +13:00
Geoff Lankow 80d89968b8 Bug 1591009 - Restore overridden linting configuration for tests. r=mkmelin 2019-10-24 22:12:17 +13:00
Geoff Lankow 5b81edc94e No bug - Disable mozilla/prefer-boolean-length-check ESLint rule; rs=me 2019-10-17 21:45:54 +13:00
Geoff Lankow 68c44d3246 Bug 1585162 - Convert calendar Mozmill tests to Mochitest; r=pmorris
--HG--
rename : calendar/test/mozmill/testBasicFunctionality.js => calendar/test/browser/browser_basicFunctionality.js
rename : calendar/test/mozmill/testLocalICS.js => calendar/test/browser/browser_localICS.js
rename : calendar/test/mozmill/testTimezones.js => calendar/test/browser/browser_timezones.js
rename : calendar/test/mozmill/testTodayPane.js => calendar/test/browser/browser_todayPane.js
rename : calendar/test/browser/browser.ini => calendar/test/browser/eventDialog/browser.ini
rename : calendar/test/mozmill/eventDialog/testAlarmDialog.js => calendar/test/browser/eventDialog/browser_alarmDialog.js
rename : calendar/test/mozmill/eventDialog/testEventDialog.js => calendar/test/browser/eventDialog/browser_eventDialog.js
rename : calendar/test/mozmill/eventDialog/testEventDialogModificationPrompt.js => calendar/test/browser/eventDialog/browser_eventDialogModificationPrompt.js
rename : calendar/test/mozmill/eventDialog/testEventDialogSize.js => calendar/test/browser/eventDialog/browser_eventDialogSize.js
rename : calendar/test/mozmill/eventDialog/testUTF8.js => calendar/test/browser/eventDialog/browser_utf8.js
rename : calendar/test/browser/browser.ini => calendar/test/browser/invitations/browser.ini
rename : calendar/test/mozmill/invitations/test-imip-bar-eml.js => calendar/test/browser/invitations/browser_imipBarEmail.js
rename : calendar/test/mozmill/invitations/message-containing-event.eml => calendar/test/browser/invitations/message-containing-event.eml
rename : calendar/test/browser/browser.ini => calendar/test/browser/preferences/browser.ini
rename : calendar/test/mozmill/preferences/testAlarmDefaultValue.js => calendar/test/browser/preferences/browser_alarmDefaultValue.js
rename : calendar/test/mozmill/preferences/testCategoryColors.js => calendar/test/browser/preferences/browser_categoryColors.js
rename : calendar/test/browser/browser.ini => calendar/test/browser/recurrence/browser.ini
rename : calendar/test/mozmill/cal-recurrence/testAnnualRecurrence.js => calendar/test/browser/recurrence/browser_annual.js
rename : calendar/test/mozmill/cal-recurrence/testBiweeklyRecurrence.js => calendar/test/browser/recurrence/browser_biweekly.js
rename : calendar/test/mozmill/cal-recurrence/testDailyRecurrence.js => calendar/test/browser/recurrence/browser_daily.js
rename : calendar/test/mozmill/cal-recurrence/testLastDayOfMonthRecurrence.js => calendar/test/browser/recurrence/browser_lastDayOfMonth.js
rename : calendar/test/mozmill/cal-recurrence/testWeeklyNRecurrence.js => calendar/test/browser/recurrence/browser_weeklyN.js
rename : calendar/test/mozmill/cal-recurrence/testWeeklyUntilRecurrence.js => calendar/test/browser/recurrence/browser_weeklyUntil.js
rename : calendar/test/mozmill/cal-recurrence/testWeeklyWithExceptionRecurrence.js => calendar/test/browser/recurrence/browser_weeklyWithException.js
rename : calendar/test/browser/browser.ini => calendar/test/browser/recurrenceRotated/browser.ini
rename : calendar/test/mozmill/recurrenceRotated/testAnnualRecurrence.js => calendar/test/browser/recurrenceRotated/browser_annual.js
rename : calendar/test/mozmill/recurrenceRotated/testBiweeklyRecurrence.js => calendar/test/browser/recurrenceRotated/browser_biweekly.js
rename : calendar/test/mozmill/recurrenceRotated/testDailyRecurrence.js => calendar/test/browser/recurrenceRotated/browser_daily.js
rename : calendar/test/mozmill/recurrenceRotated/testLastDayOfMonthRecurrence.js => calendar/test/browser/recurrenceRotated/browser_lastDayOfMonth.js
rename : calendar/test/mozmill/recurrenceRotated/testWeeklyNRecurrence.js => calendar/test/browser/recurrenceRotated/browser_weeklyN.js
rename : calendar/test/mozmill/recurrenceRotated/testWeeklyUntilRecurrence.js => calendar/test/browser/recurrenceRotated/browser_weeklyUntil.js
rename : calendar/test/mozmill/recurrenceRotated/testWeeklyWithExceptionRecurrence.js => calendar/test/browser/recurrenceRotated/browser_weeklyWithException.js
rename : calendar/test/browser/browser.ini => calendar/test/browser/views/browser.ini
rename : calendar/test/mozmill/views/testDayView.js => calendar/test/browser/views/browser_dayView.js
rename : calendar/test/mozmill/views/testMonthView.js => calendar/test/browser/views/browser_monthView.js
rename : calendar/test/mozmill/views/testMultiweekView.js => calendar/test/browser/views/browser_multiweekView.js
rename : calendar/test/mozmill/views/testTaskView.js => calendar/test/browser/views/browser_taskView.js
rename : calendar/test/mozmill/views/testWeekView.js => calendar/test/browser/views/browser_weekView.js
rename : calendar/test/mozmill/shared-modules/CalendarUtils.jsm => calendar/test/modules/CalendarUtils.jsm
rename : calendar/test/mozmill/shared-modules/ItemEditingHelpers.jsm => calendar/test/modules/ItemEditingHelpers.jsm
extra : rebase_source : 8479fe06a943576ed7f78c82c7e617ff5e0c72d5
extra : amend_source : d9c6975c52320e351a85a759d39950045f56522c
2019-09-27 16:00:10 +12:00
Paul Morris f5098a97d5 Bug 1582782 - Enable 'brace-style' eslint rule. r=mkmelin 2019-09-20 12:06:32 -04:00
Paul Morris 1bd77215b1 Bug 1577835 - Reformat the .eslintrc.js files with Prettier. r=mkmelin
# ignore-this-changeset

These changes were achieved by deleting the .eslintrc.js
line from the .prettierignore file and running:
|mach eslint --fix|
2019-08-31 08:56:13 -04:00
Paul Morris f316bfebd3 Bug 1577835 - Adjust eslint config for reformatting. r=mkmelin 2019-08-30 13:22:44 -04:00
Paul Morris 9bcc5607c2 Bug 1577606 - Turn on Prettier but ignore all directories. r=darktrojan 2019-08-12 13:53:43 -04:00