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

24 Коммитов

Автор SHA1 Сообщение Дата
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
Geoff Lankow 69481e6cfe No bug - Restore linting rules in place before mozilla-central enabled Prettier; rs=linting-only DONTBUILD
This change reverses the effects of https://hg.mozilla.org/mozilla-central/rev/d8ba04c4c323b0bb6bdc6f5a4b1ac7853209e0e5
2019-07-08 15:09:05 +12:00
Geoff Lankow 4e84373d81 Port bug 1464007 - Specify the 'html' plugin in .eslintrc.js by default for better editor integration. rs=bustage-fix DONTBUILD 2019-06-24 12:40:02 +12:00
Geoff Lankow 0899339e5b No bug - Disable ESLint plugin "prettier" for now; rs=bustage-fix DONTBUILD
Also, fix a linting error that emerged while linting was broken
2019-06-10 14:17:18 +12:00
Patrick Cloke 25b74fc170 Bug 1549166 - Use centralized ESLint configuration for chat tests. r=darktrojan 2019-05-20 13:29:08 -04:00
Geoff Lankow 3195c35104 Bug 1549166 - Centralise configuration of ESLint environments for test directories; r=aceman 2019-05-20 14:09:54 +12:00
Geoff Lankow 2529e6be03 Bug 1509779 - Codify unwritten rules in ESLint configuration; r=aceman 2018-11-29 12:04:40 +13:00
Geoff Lankow 514a5dcf91 Bug 1509779 - Stop ignoring mozilla/use-cc-etc linting rule, and other linting mistakes; r=aceman 2018-11-29 12:04:38 +13:00
Geoff Lankow d125d3b7f8 Bug 1504130 - Set environment of .eslintrc.js files to node; also fix two warnings; rs=NPOTB 2018-11-02 21:04:58 +13:00
Jorg K c00eb010f9 Bug 1487832 - Port 1486739 - fix up .eslintrc.js and commom/ for eslint comma-dangle rule. rs=bustage-fix 2018-09-01 00:53:28 +02:00
Geoff Lankow 0a780f7712 Bug 1478572 - Fix eslint bustage by re-adding missing exceptions; a=bustage DONTBUILD 2018-07-27 11:13:15 +12:00
Geoff Lankow c69b23a2d6 Bug 1478572 - Turn on ESLint in mail/components/about-support. r=jorgk 2018-07-26 22:57:39 +12:00
Philipp Kewisch f7cb625104 Bug 1436605 - Disable eslint mozilla/use-cc-etc rule for the time being. r=jorgk
MozReview-Commit-ID: EjPX8tHEA81
2018-02-08 10:43:53 +01:00
eslint 6105d979dd Bug 1417450 - Fix eslint after upgrade to v4. r=MakeMyDay
MozReview-Commit-ID: Ao9ccbj1jQ8

--HG--
extra : rebase_source : 20da198c5e85eaef0c1fd8811e83337acdb26592
2017-11-15 15:24:49 +01:00
eslint eb92da1bbe Bug 1410672 - Fix remaining minor eslint issues. r=MakeMyDay
MozReview-Commit-ID: CWodzlcADFj
2017-10-24 22:11:31 +02:00
eslint ca8aac3ec5 Bug 1346797 - Fix calendar eslint issues. r=MakeMyDay
MozReview-Commit-ID: AdhLRaAKMQs

--HG--
extra : rebase_source : eb5e2e1df6f48c4912cfd48920ae0bae4e048fea
2017-03-13 15:30:50 +01:00
eslint c737acba11 Bug 1310003 - Rename and lint deprecated .eslintrc files. r=MakeMyDay
MozReview-Commit-ID: CXzogLQ0gY0

--HG--
rename : .eslintrc => .eslintrc.js
rename : calendar/.eslintrc => calendar/.eslintrc.js
rename : calendar/test/mozmill/.eslintrc => calendar/test/mozmill/.eslintrc.js
rename : calendar/test/unit/.eslintrc => calendar/test/unit/.eslintrc.js
extra : rebase_source : c06174873d4c4575587c80ceed485867a9e7074f
2016-10-13 22:43:16 +02:00