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

368 Коммитов

Автор SHA1 Сообщение Дата
Tim Nguyen 3c755128db Bug 1316723 - Fix more eslint errors in devtools/client/shared/. r=tromey
MozReview-Commit-ID: IzXyqkQECKb

--HG--
extra : rebase_source : dee2c883181474a33a9afcd1c9cb73afd4122a8c
2016-11-11 09:09:50 +00:00
Tom Tromey c0406c7342 Bug 1316700 - make developer-toolbar.js eslint-clean; r=jryans
MozReview-Commit-ID: FgvsY8PTpCj

--HG--
extra : rebase_source : f2ad123ecee242547371fd7e8482cf1e9c6bb02f
2016-11-10 14:07:02 -07:00
Gabriel Luong 4095709c00 Bug 1308257 - Part 2: Implement LayoutActor and GridActor r=pbro, jryans 2016-11-08 20:51:13 +09:00
Mark Banner 7e8abd3ad9 Bug 1314373 - Fix parser issues raised by eslint for nsSearchService.js. r=mak
MozReview-Commit-ID: FRTCMgRtjTG

--HG--
extra : rebase_source : 6d8600f7f8943817b63d943076eafdafe1f6305e
2016-11-01 18:35:46 +00:00
Tom Tromey 29513a9331 Bug 1312041 - make loader-plugin-raw.jsm eslint-clean; r=jryans
MozReview-Commit-ID: 4Lkua3ZMslL

--HG--
extra : rebase_source : e5f48a31d6f4f3cb1d3a4a80642adf477deb3a36
2016-10-25 21:24:13 -06:00
Wes Kocher 41f7647994 Backed out 2 changesets (bug 1312041) for mass failures a=backout
Backed out changeset c4f42d7d5453 (bug 1312041)
Backed out changeset 9bfbc8480d43 (bug 1312041)
2016-11-01 10:30:45 -07:00
Tom Tromey 74d7569a65 Bug 1312041 - make loader-plugin-raw.jsm eslint-clean; r=jryans
MozReview-Commit-ID: 4Lkua3ZMslL

--HG--
extra : rebase_source : 0af01c48c93e8006fcbe28ed198076e5ecd74c21
2016-10-25 21:24:13 -06:00
jordan9769 5f63c00b0b Bug 1311343 - Enable eslint of browser/components/feeds/; r=standard8
MozReview-Commit-ID: 6c4nzNeeurk

--HG--
extra : rebase_source : 1f0c1ef423594c6d780c56ab95e0b8f4dd0de47e
2016-10-27 12:02:52 +05:30
jordan9769 64c26ae7b4 Bug 1311349 - Enable eslint of browser/components/translation/; r=florian,standard8
MozReview-Commit-ID: 4hIAnfs3qL0

--HG--
extra : rebase_source : 3290875db3979197f053c733e4364989c70d0407
2016-10-27 01:41:58 +05:30
Mark Banner 4952fc62f5 Bug 1303525 - Ignore pref js files for eslint in browser/branding. r=Gijs
MozReview-Commit-ID: HuR5jvFC6rB

--HG--
extra : rebase_source : 2424bb0faef6719833cb240266425930fbbd1975
2016-10-25 16:35:05 +01:00
Mark Banner b2464f8fa0 Bug 1311315 - General small fixes for no-undef eslint issues in browser/. r=jaws
Drop linting of the .eslintrc.js config files.
Fix some minor errors in the code (missing let/const, undefined vars).
Let eslint know that some files get their globals from other places (typically via xul script tags).

MozReview-Commit-ID: CwxuwPtRUr6

--HG--
rename : browser/components/contextualidentity/test/browser/.eslintrc.js => browser/components/syncedtabs/test/browser/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc.js => browser/extensions/webcompat/test/browser/.eslintrc.js
extra : rebase_source : 9026aac49953d941853022cbab3e33d7d2f2fa21
2016-10-18 12:34:35 +01:00
Mark Banner 56a7b3961a Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I

--HG--
rename : .eslintrc => .eslintrc.js
rename : accessible/.eslintrc => accessible/.eslintrc.js
rename : accessible/tests/browser/.eslintrc => accessible/tests/browser/.eslintrc.js
rename : browser/.eslintrc => browser/.eslintrc.js
rename : browser/base/content/test/alerts/.eslintrc => browser/base/content/test/alerts/.eslintrc.js
rename : browser/base/content/test/chrome/.eslintrc => browser/base/content/test/chrome/.eslintrc.js
rename : browser/base/content/test/general/.eslintrc => browser/base/content/test/general/.eslintrc.js
rename : browser/base/content/test/newtab/.eslintrc => browser/base/content/test/newtab/.eslintrc.js
rename : browser/base/content/test/plugins/.eslintrc => browser/base/content/test/plugins/.eslintrc.js
rename : browser/base/content/test/popupNotifications/.eslintrc => browser/base/content/test/popupNotifications/.eslintrc.js
rename : browser/base/content/test/referrer/.eslintrc => browser/base/content/test/referrer/.eslintrc.js
rename : browser/base/content/test/social/.eslintrc => browser/base/content/test/social/.eslintrc.js
rename : browser/components/contextualidentity/test/browser/.eslintrc => browser/components/contextualidentity/test/browser/.eslintrc.js
rename : browser/components/customizableui/test/.eslintrc => browser/components/customizableui/test/.eslintrc.js
rename : browser/components/dirprovider/tests/unit/.eslintrc => browser/components/dirprovider/tests/unit/.eslintrc.js
rename : browser/components/downloads/test/browser/.eslintrc => browser/components/downloads/test/browser/.eslintrc.js
rename : browser/components/downloads/test/unit/.eslintrc => browser/components/downloads/test/unit/.eslintrc.js
rename : browser/components/extensions/.eslintrc => browser/components/extensions/.eslintrc.js
rename : browser/components/extensions/test/browser/.eslintrc => browser/components/extensions/test/browser/.eslintrc.js
rename : browser/components/extensions/test/xpcshell/.eslintrc => browser/components/extensions/test/xpcshell/.eslintrc.js
rename : browser/components/feeds/test/.eslintrc => browser/components/feeds/test/.eslintrc.js
rename : browser/components/feeds/test/chrome/.eslintrc => browser/components/feeds/test/chrome/.eslintrc.js
rename : browser/components/feeds/test/unit/.eslintrc => browser/components/feeds/test/unit/.eslintrc.js
rename : browser/components/migration/tests/unit/.eslintrc => browser/components/migration/tests/unit/.eslintrc.js
rename : browser/components/newtab/tests/browser/.eslintrc => browser/components/newtab/tests/browser/.eslintrc.js
rename : browser/components/newtab/tests/xpcshell/.eslintrc => browser/components/newtab/tests/xpcshell/.eslintrc.js
rename : browser/components/originattributes/test/browser/.eslintrc => browser/components/originattributes/test/browser/.eslintrc.js
rename : browser/components/places/tests/browser/.eslintrc => browser/components/places/tests/browser/.eslintrc.js
rename : browser/components/places/tests/chrome/.eslintrc => browser/components/places/tests/chrome/.eslintrc.js
rename : browser/components/places/tests/unit/.eslintrc => browser/components/places/tests/unit/.eslintrc.js
rename : browser/components/preferences/in-content/tests/.eslintrc => browser/components/preferences/in-content/tests/.eslintrc.js
rename : browser/components/privatebrowsing/test/browser/.eslintrc => browser/components/privatebrowsing/test/browser/.eslintrc.js
rename : browser/components/safebrowsing/content/test/.eslintrc => browser/components/safebrowsing/content/test/.eslintrc.js
rename : browser/components/search/test/.eslintrc => browser/components/search/test/.eslintrc.js
rename : browser/components/selfsupport/test/.eslintrc => browser/components/selfsupport/test/.eslintrc.js
rename : browser/components/sessionstore/test/.eslintrc => browser/components/sessionstore/test/.eslintrc.js
rename : browser/components/sessionstore/test/unit/.eslintrc => browser/components/sessionstore/test/unit/.eslintrc.js
rename : browser/components/shell/test/.eslintrc => browser/components/shell/test/.eslintrc.js
rename : browser/components/shell/test/unit/.eslintrc => browser/components/shell/test/unit/.eslintrc.js
rename : browser/components/tests/browser/.eslintrc => browser/components/tests/browser/.eslintrc.js
rename : browser/components/translation/test/.eslintrc => browser/components/translation/test/.eslintrc.js
rename : browser/components/translation/test/unit/.eslintrc => browser/components/translation/test/unit/.eslintrc.js
rename : browser/components/uitour/test/.eslintrc => browser/components/uitour/test/.eslintrc.js
rename : browser/experiments/test/xpcshell/.eslintrc => browser/experiments/test/xpcshell/.eslintrc.js
rename : browser/extensions/formautofill/.eslintrc => browser/extensions/formautofill/.eslintrc.js
rename : browser/extensions/formautofill/test/browser/.eslintrc => browser/extensions/formautofill/test/browser/.eslintrc.js
rename : browser/extensions/pdfjs/test/.eslintrc => browser/extensions/pdfjs/test/.eslintrc.js
rename : browser/modules/test/.eslintrc => browser/modules/test/.eslintrc.js
rename : browser/modules/test/unit/social/.eslintrc => browser/modules/test/unit/social/.eslintrc.js
rename : browser/modules/test/xpcshell/.eslintrc => browser/modules/test/xpcshell/.eslintrc.js
rename : devtools/.eslintrc => devtools/.eslintrc.js
rename : devtools/.eslintrc.mochitests => devtools/.eslintrc.mochitests.js
rename : devtools/.eslintrc.xpcshell => devtools/.eslintrc.xpcshell.js
rename : devtools/client/aboutdebugging/test/.eslintrc => devtools/client/aboutdebugging/test/.eslintrc.js
rename : devtools/client/animationinspector/test/.eslintrc => devtools/client/animationinspector/test/.eslintrc.js
rename : devtools/client/animationinspector/test/unit/.eslintrc => devtools/client/animationinspector/test/unit/.eslintrc.js
rename : devtools/client/canvasdebugger/test/.eslintrc => devtools/client/canvasdebugger/test/.eslintrc.js
rename : devtools/client/commandline/test/.eslintrc => devtools/client/commandline/test/.eslintrc.js
rename : devtools/client/debugger/new/test/mochitest/.eslintrc => devtools/client/debugger/new/test/mochitest/.eslintrc.js
rename : devtools/client/debugger/test/.eslintrc => devtools/client/debugger/test/.eslintrc.js
rename : devtools/client/dom/.eslintrc => devtools/client/dom/.eslintrc.js
rename : devtools/client/dom/test/.eslintrc => devtools/client/dom/test/.eslintrc.js
rename : devtools/client/framework/test/.eslintrc => devtools/client/framework/test/.eslintrc.js
rename : devtools/client/inspector/.eslintrc => devtools/client/inspector/.eslintrc.js
rename : devtools/client/inspector/components/test/.eslintrc => devtools/client/inspector/components/test/.eslintrc.js
rename : devtools/client/inspector/computed/test/.eslintrc => devtools/client/inspector/computed/test/.eslintrc.js
rename : devtools/client/inspector/fonts/test/.eslintrc => devtools/client/inspector/fonts/test/.eslintrc.js
rename : devtools/client/inspector/markup/test/.eslintrc => devtools/client/inspector/markup/test/.eslintrc.js
rename : devtools/client/inspector/rules/test/.eslintrc => devtools/client/inspector/rules/test/.eslintrc.js
rename : devtools/client/inspector/shared/test/.eslintrc => devtools/client/inspector/shared/test/.eslintrc.js
rename : devtools/client/inspector/test/.eslintrc => devtools/client/inspector/test/.eslintrc.js
rename : devtools/client/jsonview/.eslintrc => devtools/client/jsonview/.eslintrc.js
rename : devtools/client/jsonview/test/.eslintrc => devtools/client/jsonview/test/.eslintrc.js
rename : devtools/client/memory/test/browser/.eslintrc => devtools/client/memory/test/browser/.eslintrc.js
rename : devtools/client/memory/test/unit/.eslintrc => devtools/client/memory/test/unit/.eslintrc.js
rename : devtools/client/netmonitor/.eslintrc => devtools/client/netmonitor/.eslintrc.js
rename : devtools/client/netmonitor/har/test/.eslintrc => devtools/client/netmonitor/har/test/.eslintrc.js
rename : devtools/client/netmonitor/test/.eslintrc => devtools/client/netmonitor/test/.eslintrc.js
rename : devtools/client/performance/test/.eslintrc => devtools/client/performance/test/.eslintrc.js
rename : devtools/client/performance/test/unit/.eslintrc => devtools/client/performance/test/unit/.eslintrc.js
rename : devtools/client/projecteditor/test/.eslintrc => devtools/client/projecteditor/test/.eslintrc.js
rename : devtools/client/promisedebugger/test/.eslintrc => devtools/client/promisedebugger/test/.eslintrc.js
rename : devtools/client/responsive.html/test/browser/.eslintrc => devtools/client/responsive.html/test/browser/.eslintrc.js
rename : devtools/client/responsive.html/test/unit/.eslintrc => devtools/client/responsive.html/test/unit/.eslintrc.js
rename : devtools/client/responsivedesign/test/.eslintrc => devtools/client/responsivedesign/test/.eslintrc.js
rename : devtools/client/scratchpad/test/.eslintrc => devtools/client/scratchpad/test/.eslintrc.js
rename : devtools/client/shadereditor/test/.eslintrc => devtools/client/shadereditor/test/.eslintrc.js
rename : devtools/client/shared/components/.eslintrc => devtools/client/shared/components/.eslintrc.js
rename : devtools/client/shared/components/test/browser/.eslintrc => devtools/client/shared/components/test/browser/.eslintrc.js
rename : devtools/client/shared/components/test/mochitest/.eslintrc => devtools/client/shared/components/test/mochitest/.eslintrc.js
rename : devtools/client/shared/shim/test/.eslintrc => devtools/client/shared/shim/test/.eslintrc.js
rename : devtools/client/shared/test/.eslintrc => devtools/client/shared/test/.eslintrc.js
rename : devtools/client/shared/test/unit/.eslintrc => devtools/client/shared/test/unit/.eslintrc.js
rename : devtools/client/sourceeditor/.eslintrc => devtools/client/sourceeditor/.eslintrc.js
rename : devtools/client/sourceeditor/test/.eslintrc => devtools/client/sourceeditor/test/.eslintrc.js
rename : devtools/client/storage/test/.eslintrc => devtools/client/storage/test/.eslintrc.js
rename : devtools/client/styleeditor/test/.eslintrc => devtools/client/styleeditor/test/.eslintrc.js
rename : devtools/client/webaudioeditor/test/.eslintrc => devtools/client/webaudioeditor/test/.eslintrc.js
rename : devtools/client/webconsole/net/.eslintrc => devtools/client/webconsole/net/.eslintrc.js
rename : devtools/client/webconsole/net/test/mochitest/.eslintrc => devtools/client/webconsole/net/test/mochitest/.eslintrc.js
rename : devtools/client/webconsole/net/test/unit/.eslintrc => devtools/client/webconsole/net/test/unit/.eslintrc.js
rename : devtools/client/webconsole/new-console-output/test/.eslintrc => devtools/client/webconsole/new-console-output/test/.eslintrc.js
rename : devtools/client/webconsole/test/.eslintrc => devtools/client/webconsole/test/.eslintrc.js
rename : devtools/client/webide/test/.eslintrc => devtools/client/webide/test/.eslintrc.js
rename : devtools/server/tests/browser/.eslintrc => devtools/server/tests/browser/.eslintrc.js
rename : devtools/server/tests/mochitest/.eslintrc => devtools/server/tests/mochitest/.eslintrc.js
rename : devtools/server/tests/unit/.eslintrc => devtools/server/tests/unit/.eslintrc.js
rename : devtools/shared/heapsnapshot/tests/unit/.eslintrc => devtools/shared/heapsnapshot/tests/unit/.eslintrc.js
rename : devtools/shared/platform/content/.eslintrc => devtools/shared/platform/content/.eslintrc.js
rename : devtools/shared/platform/content/test/.eslintrc => devtools/shared/platform/content/test/.eslintrc.js
rename : devtools/shared/security/tests/unit/.eslintrc => devtools/shared/security/tests/unit/.eslintrc.js
rename : devtools/shared/tests/browser/.eslintrc => devtools/shared/tests/browser/.eslintrc.js
rename : devtools/shared/tests/unit/.eslintrc => devtools/shared/tests/unit/.eslintrc.js
rename : devtools/shared/transport/tests/unit/.eslintrc => devtools/shared/transport/tests/unit/.eslintrc.js
rename : devtools/shared/webconsole/test/unit/.eslintrc => devtools/shared/webconsole/test/unit/.eslintrc.js
rename : devtools/shared/worker/tests/browser/.eslintrc => devtools/shared/worker/tests/browser/.eslintrc.js
rename : mobile/android/components/extensions/.eslintrc => mobile/android/components/extensions/.eslintrc.js
rename : mobile/android/components/extensions/test/mochitest/.eslintrc => mobile/android/components/extensions/test/mochitest/.eslintrc.js
rename : security/manager/.eslintrc.json => security/manager/.eslintrc.js
rename : security/manager/ssl/tests/.eslintrc.json => security/manager/ssl/tests/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/browser/.eslintrc.json => security/manager/ssl/tests/mochitest/browser/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.json => security/manager/ssl/tests/mochitest/mixedcontent/.eslintrc.js
rename : security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.json => security/manager/ssl/tests/mochitest/stricttransportsecurity/.eslintrc.js
rename : security/manager/ssl/tests/unit/.eslintrc.json => security/manager/ssl/tests/unit/.eslintrc.js
rename : security/manager/tools/.eslintrc.json => security/manager/tools/.eslintrc.js
rename : storage/.eslintrc => storage/.eslintrc.js
rename : testing/mochitest/browser.eslintrc => testing/mochitest/browser.eslintrc.js
rename : testing/mochitest/chrome.eslintrc => testing/mochitest/chrome.eslintrc.js
rename : testing/mochitest/mochitest.eslintrc => testing/mochitest/mochitest.eslintrc.js
rename : testing/xpcshell/xpcshell.eslintrc => testing/xpcshell/xpcshell.eslintrc.js
rename : toolkit/.eslintrc => toolkit/.eslintrc.js
rename : toolkit/components/aboutmemory/tests/.eslintrc => toolkit/components/aboutmemory/tests/.eslintrc.js
rename : toolkit/components/aboutperformance/tests/browser/.eslintrc => toolkit/components/aboutperformance/tests/browser/.eslintrc.js
rename : toolkit/components/addoncompat/tests/browser/.eslintrc => toolkit/components/addoncompat/tests/browser/.eslintrc.js
rename : toolkit/components/alerts/test/.eslintrc => toolkit/components/alerts/test/.eslintrc.js
rename : toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc => toolkit/components/asyncshutdown/tests/xpcshell/.eslintrc.js
rename : toolkit/components/autocomplete/tests/unit/.eslintrc => toolkit/components/autocomplete/tests/unit/.eslintrc.js
rename : toolkit/components/captivedetect/test/unit/.eslintrc => toolkit/components/captivedetect/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit/.eslintrc => toolkit/components/commandlines/test/unit/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_unix/.eslintrc => toolkit/components/commandlines/test/unit_unix/.eslintrc.js
rename : toolkit/components/commandlines/test/unit_win/.eslintrc => toolkit/components/commandlines/test/unit_win/.eslintrc.js
rename : toolkit/components/contentprefs/tests/mochitest/.eslintrc => toolkit/components/contentprefs/tests/mochitest/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit/.eslintrc => toolkit/components/contentprefs/tests/unit/.eslintrc.js
rename : toolkit/components/contentprefs/tests/unit_cps2/.eslintrc => toolkit/components/contentprefs/tests/unit_cps2/.eslintrc.js
rename : toolkit/components/crashes/tests/xpcshell/.eslintrc => toolkit/components/crashes/tests/xpcshell/.eslintrc.js
rename : toolkit/components/crashmonitor/test/unit/.eslintrc => toolkit/components/crashmonitor/test/unit/.eslintrc.js
rename : toolkit/components/ctypes/tests/chrome/.eslintrc => toolkit/components/ctypes/tests/chrome/.eslintrc.js
rename : toolkit/components/ctypes/tests/unit/.eslintrc => toolkit/components/ctypes/tests/unit/.eslintrc.js
rename : toolkit/components/downloads/test/unit/.eslintrc => toolkit/components/downloads/test/unit/.eslintrc.js
rename : toolkit/components/extensions/.eslintrc => toolkit/components/extensions/.eslintrc.js
rename : toolkit/components/extensions/test/mochitest/.eslintrc => toolkit/components/extensions/test/mochitest/.eslintrc.js
rename : toolkit/components/extensions/test/xpcshell/.eslintrc => toolkit/components/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/components/feeds/test/.eslintrc => toolkit/components/feeds/test/.eslintrc.js
rename : toolkit/components/filepicker/test/unit/.eslintrc => toolkit/components/filepicker/test/unit/.eslintrc.js
rename : toolkit/components/filewatcher/tests/xpcshell/.eslintrc => toolkit/components/filewatcher/tests/xpcshell/.eslintrc.js
rename : toolkit/components/formautofill/test/browser/.eslintrc => toolkit/components/formautofill/test/browser/.eslintrc.js
rename : toolkit/components/formautofill/test/chrome/.eslintrc => toolkit/components/formautofill/test/chrome/.eslintrc.js
rename : toolkit/components/formautofill/test/xpcshell/.eslintrc => toolkit/components/formautofill/test/xpcshell/.eslintrc.js
rename : toolkit/components/jsdownloads/test/browser/.eslintrc => toolkit/components/jsdownloads/test/browser/.eslintrc.js
rename : toolkit/components/jsdownloads/test/data/.eslintrc => toolkit/components/jsdownloads/test/data/.eslintrc.js
rename : toolkit/components/jsdownloads/test/unit/.eslintrc => toolkit/components/jsdownloads/test/unit/.eslintrc.js
rename : toolkit/components/lz4/tests/xpcshell/.eslintrc => toolkit/components/lz4/tests/xpcshell/.eslintrc.js
rename : toolkit/components/mediasniffer/test/unit/.eslintrc => toolkit/components/mediasniffer/test/unit/.eslintrc.js
rename : toolkit/components/narrate/.eslintrc => toolkit/components/narrate/.eslintrc.js
rename : toolkit/components/narrate/test/.eslintrc => toolkit/components/narrate/test/.eslintrc.js
rename : toolkit/components/osfile/tests/mochi/.eslintrc => toolkit/components/osfile/tests/mochi/.eslintrc.js
rename : toolkit/components/osfile/tests/xpcshell/.eslintrc => toolkit/components/osfile/tests/xpcshell/.eslintrc.js
rename : toolkit/components/passwordmgr/.eslintrc => toolkit/components/passwordmgr/.eslintrc.js
rename : toolkit/components/passwordmgr/test/.eslintrc => toolkit/components/passwordmgr/test/.eslintrc.js
rename : toolkit/components/passwordmgr/test/browser/.eslintrc => toolkit/components/passwordmgr/test/browser/.eslintrc.js
rename : toolkit/components/passwordmgr/test/unit/.eslintrc => toolkit/components/passwordmgr/test/unit/.eslintrc.js
rename : toolkit/components/perf/.eslintrc => toolkit/components/perf/.eslintrc.js
rename : toolkit/components/perfmonitoring/tests/browser/.eslintrc => toolkit/components/perfmonitoring/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/.eslintrc => toolkit/components/places/tests/.eslintrc.js
rename : toolkit/components/places/tests/bookmarks/.eslintrc => toolkit/components/places/tests/bookmarks/.eslintrc.js
rename : toolkit/components/places/tests/browser/.eslintrc => toolkit/components/places/tests/browser/.eslintrc.js
rename : toolkit/components/places/tests/chrome/.eslintrc => toolkit/components/places/tests/chrome/.eslintrc.js
rename : toolkit/components/places/tests/expiration/.eslintrc => toolkit/components/places/tests/expiration/.eslintrc.js
rename : toolkit/components/places/tests/favicons/.eslintrc => toolkit/components/places/tests/favicons/.eslintrc.js
rename : toolkit/components/places/tests/history/.eslintrc => toolkit/components/places/tests/history/.eslintrc.js
rename : toolkit/components/places/tests/migration/.eslintrc => toolkit/components/places/tests/migration/.eslintrc.js
rename : toolkit/components/places/tests/network/.eslintrc => toolkit/components/places/tests/network/.eslintrc.js
rename : toolkit/components/places/tests/queries/.eslintrc => toolkit/components/places/tests/queries/.eslintrc.js
rename : toolkit/components/places/tests/unifiedcomplete/.eslintrc => toolkit/components/places/tests/unifiedcomplete/.eslintrc.js
rename : toolkit/components/places/tests/unit/.eslintrc => toolkit/components/places/tests/unit/.eslintrc.js
rename : toolkit/components/promiseworker/tests/xpcshell/.eslintrc => toolkit/components/promiseworker/tests/xpcshell/.eslintrc.js
rename : toolkit/components/prompts/test/.eslintrc => toolkit/components/prompts/test/.eslintrc.js
rename : toolkit/components/remotebrowserutils/tests/browser/.eslintrc => toolkit/components/remotebrowserutils/tests/browser/.eslintrc.js
rename : toolkit/components/satchel/test/.eslintrc => toolkit/components/satchel/test/.eslintrc.js
rename : toolkit/components/satchel/test/browser/.eslintrc => toolkit/components/satchel/test/browser/.eslintrc.js
rename : toolkit/components/satchel/test/unit/.eslintrc => toolkit/components/satchel/test/unit/.eslintrc.js
rename : toolkit/components/search/tests/xpcshell/.eslintrc => toolkit/components/search/tests/xpcshell/.eslintrc.js
rename : toolkit/components/social/test/xpcshell/.eslintrc => toolkit/components/social/test/xpcshell/.eslintrc.js
rename : toolkit/components/sqlite/tests/xpcshell/.eslintrc => toolkit/components/sqlite/tests/xpcshell/.eslintrc.js
rename : toolkit/components/startup/tests/browser/.eslintrc => toolkit/components/startup/tests/browser/.eslintrc.js
rename : toolkit/components/startup/tests/unit/.eslintrc => toolkit/components/startup/tests/unit/.eslintrc.js
rename : toolkit/components/telemetry/tests/unit/.eslintrc => toolkit/components/telemetry/tests/unit/.eslintrc.js
rename : toolkit/components/terminator/tests/xpcshell/.eslintrc => toolkit/components/terminator/tests/xpcshell/.eslintrc.js
rename : toolkit/components/thumbnails/test/.eslintrc => toolkit/components/thumbnails/test/.eslintrc.js
rename : toolkit/components/timermanager/tests/unit/.eslintrc => toolkit/components/timermanager/tests/unit/.eslintrc.js
rename : toolkit/components/url-classifier/tests/mochitest/.eslintrc => toolkit/components/url-classifier/tests/mochitest/.eslintrc.js
rename : toolkit/components/url-classifier/tests/unit/.eslintrc => toolkit/components/url-classifier/tests/unit/.eslintrc.js
rename : toolkit/components/urlformatter/tests/unit/.eslintrc => toolkit/components/urlformatter/tests/unit/.eslintrc.js
rename : toolkit/components/viewsource/test/.eslintrc => toolkit/components/viewsource/test/.eslintrc.js
rename : toolkit/components/viewsource/test/browser/.eslintrc => toolkit/components/viewsource/test/browser/.eslintrc.js
rename : toolkit/components/workerloader/tests/.eslintrc => toolkit/components/workerloader/tests/.eslintrc.js
rename : toolkit/components/xulstore/tests/chrome/.eslintrc => toolkit/components/xulstore/tests/chrome/.eslintrc.js
rename : toolkit/components/xulstore/tests/xpcshell/.eslintrc => toolkit/components/xulstore/tests/xpcshell/.eslintrc.js
rename : toolkit/content/tests/browser/.eslintrc => toolkit/content/tests/browser/.eslintrc.js
rename : toolkit/content/tests/chrome/.eslintrc => toolkit/content/tests/chrome/.eslintrc.js
rename : toolkit/content/tests/unit/.eslintrc => toolkit/content/tests/unit/.eslintrc.js
rename : toolkit/content/tests/widgets/.eslintrc => toolkit/content/tests/widgets/.eslintrc.js
rename : toolkit/crashreporter/test/browser/.eslintrc => toolkit/crashreporter/test/browser/.eslintrc.js
rename : toolkit/crashreporter/test/unit/.eslintrc => toolkit/crashreporter/test/unit/.eslintrc.js
rename : toolkit/crashreporter/test/unit_ipc/.eslintrc => toolkit/crashreporter/test/unit_ipc/.eslintrc.js
rename : toolkit/forgetaboutsite/test/browser/.eslintrc => toolkit/forgetaboutsite/test/browser/.eslintrc.js
rename : toolkit/forgetaboutsite/test/unit/.eslintrc => toolkit/forgetaboutsite/test/unit/.eslintrc.js
rename : toolkit/identity/tests/chrome/.eslintrc => toolkit/identity/tests/chrome/.eslintrc.js
rename : toolkit/identity/tests/unit/.eslintrc => toolkit/identity/tests/unit/.eslintrc.js
rename : toolkit/modules/addons/.eslintrc => toolkit/modules/addons/.eslintrc.js
rename : toolkit/modules/subprocess/.eslintrc => toolkit/modules/subprocess/.eslintrc.js
rename : toolkit/modules/subprocess/test/xpcshell/.eslintrc => toolkit/modules/subprocess/test/xpcshell/.eslintrc.js
rename : toolkit/modules/tests/browser/.eslintrc => toolkit/modules/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/chrome/.eslintrc => toolkit/modules/tests/chrome/.eslintrc.js
rename : toolkit/modules/tests/mochitest/.eslintrc => toolkit/modules/tests/mochitest/.eslintrc.js
rename : toolkit/modules/tests/xpcshell/.eslintrc => toolkit/modules/tests/xpcshell/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/chrome/.eslintrc => toolkit/mozapps/downloads/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/downloads/tests/unit/.eslintrc => toolkit/mozapps/downloads/tests/unit/.eslintrc.js
rename : toolkit/mozapps/extensions/.eslintrc => toolkit/mozapps/extensions/.eslintrc.js
rename : toolkit/mozapps/extensions/test/browser/.eslintrc => toolkit/mozapps/extensions/test/browser/.eslintrc.js
rename : toolkit/mozapps/extensions/test/mochitest/.eslintrc => toolkit/mozapps/extensions/test/mochitest/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpcshell/.eslintrc => toolkit/mozapps/extensions/test/xpcshell/.eslintrc.js
rename : toolkit/mozapps/extensions/test/xpinstall/.eslintrc => toolkit/mozapps/extensions/test/xpinstall/.eslintrc.js
rename : toolkit/mozapps/update/tests/chrome/.eslintrc => toolkit/mozapps/update/tests/chrome/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_aus_update/.eslintrc => toolkit/mozapps/update/tests/unit_aus_update/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_base_updater/.eslintrc => toolkit/mozapps/update/tests/unit_base_updater/.eslintrc.js
rename : toolkit/mozapps/update/tests/unit_service_updater/.eslintrc => toolkit/mozapps/update/tests/unit_service_updater/.eslintrc.js
rename : toolkit/profile/test/.eslintrc => toolkit/profile/test/.eslintrc.js
rename : toolkit/themes/osx/mochitests/.eslintrc => toolkit/themes/osx/mochitests/.eslintrc.js
rename : toolkit/xre/test/.eslintrc => toolkit/xre/test/.eslintrc.js
rename : tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc.js
extra : rebase_source : 60affc4b9bf436bba7e0e21a8da3a85d16c9fc06
2016-10-18 08:38:10 +01:00
Mark Banner 975effef47 Bug 1309842 - Fix eslint/espree parsing errors for ignored directories in browser/. r=jaws
Change functions definitions to generators where yield is used, and drop of non-standards if statement in catch.
List translation/cld2/cld-worker.js as ignored now, as it is a generated file.

MozReview-Commit-ID: wbkjx67fox

--HG--
extra : rebase_source : 80a5171b75b314ce81a0d87cdce6ec7ab5443075
2016-10-13 11:48:35 +01:00
Vangelis Katsikaros bf3e007488 Bug 1307705 - [ESLint] Re-add devtools/client/webconsole/ to .eslintignore. r=linclark
--HG--
extra : amend_source : 853e310adcbdaad1120d5326faeb831e49b1af08
2016-10-04 23:59:00 -04:00
Vangelis Katsikaros bfdf9eb8b5 Bug 1256796 - "[ESLint] Fix ESLint issues in devtools/client/webconsole/test/browser_console_variables_view_dom_nodes.js". r=lclark 2016-09-29 02:37:00 +02:00
tdraebing 523c563b92 Bug 1251728 - Make devtools/client/memory/ eslint clean. r=ntim
MozReview-Commit-ID: KlM4HF81imy
2016-12-21 15:21:24 +01:00
Carsten "Tomcat" Book dd33962ca2 Merge mozilla-central to fx-team 2016-09-21 12:08:57 +02:00
Shane Caraveo caf8a7af28 Bug 1304142 pocket a/b test updates, r=Gijs
MozReview-Commit-ID: ChBRc81QQ7Y

--HG--
extra : rebase_source : 56c0a97d4cd56e9a9f2b6307b23d4a1f3e0f31d1
2016-09-20 16:06:37 -07:00
Julian Descottes 48ae3f1a79 Bug 1297113 - Fix eslint errors in toolbox.js;r=ochameau
MozReview-Commit-ID: 3q53J5L1bOk

--HG--
extra : rebase_source : 9a453e8484092df3eb52ff350e3289b339e8c6c7
2016-09-12 16:51:40 +02:00
Franziskus Kiefer 5162ef8799 Bug 1296266 - NSS 3.27 tip d9f7136f2ae3, r=ttaubert
--HG--
extra : rebase_source : 44fbdcc69ba19a91ca6dcc9f2a3f1610ffad7e89
2016-09-16 10:00:57 -07:00
Franziskus Kiefer 81909c04b4 Backed out changeset d2b50233313c (bug 1296266) - h2 breakage 2016-09-16 13:27:39 -07:00
Franziskus Kiefer a50cf23e57 Bug 1296266 - NSS 3.27 tip d9f7136f2ae3, r=ttaubert
--HG--
extra : rebase_source : 81827c237adce9e4ae6128ce9200344a228a817b
2016-09-16 10:00:57 -07:00
Greg Tatum 1e5a5a50e2 Bug 1290988 - Collect devtools/shared/css-* files into a folder. r=tromey
In preparation for the additional files in the `mach generate-css-db`
command, collect the CSS files into a folder.

MozReview-Commit-ID: 9JRVsC2NMK8

--HG--
rename : devtools/shared/css-color-db.js => devtools/shared/css/color-db.js
rename : devtools/shared/css-color.js => devtools/shared/css/color.js
rename : devtools/shared/css-lexer.js => devtools/shared/css/lexer.js
rename : devtools/shared/css-parsing-utils.js => devtools/shared/css/parsing-utils.js
rename : devtools/shared/css-properties-db.js => devtools/shared/css/properties-db.js
extra : rebase_source : 51d8d92db0ae91a7368b109aae9a509ba8012b3f
extra : histedit_source : ee3409615461cba0c656b32fee7f80d4b72a09d1
2016-09-14 10:00:27 -05:00
Matthew Wein 1b4f1f0386 Bug 1300808 - Enable eslint for browser/mobile/chrome. r=kmag
MozReview-Commit-ID: CtOPpYG4Uvz

--HG--
extra : transplant_source : %20%D8%C6%D1%ABd%9Dj%3En%A25%DAZ%1F%5D%FA%3B%97%96
2016-09-14 14:18:40 -07:00
Jared Wein a182a61bce Bug 1298559 - Enable eslint for /browser/base/content/test/ r=mattn
MozReview-Commit-ID: BZlkPTcLJMB
2016-08-31 12:53:24 -04:00
Julian Descottes fa1078eae2 Bug 1298012 - move l10n.js from devtools/client/shared to devtools/shared;r=bgrins
MozReview-Commit-ID: 1HX0g7AoJwt

--HG--
rename : devtools/client/shared/l10n.js => devtools/shared/l10n.js
rename : devtools/client/shared/vendor/NODE_PROPERTIES_UPGRADING => devtools/shared/node-properties/UPGRADING.md
rename : devtools/client/shared/vendor/node-properties.js => devtools/shared/node-properties/node-properties.js
rename : devtools/client/shared/vendor/SPRINTF_JS_UPGRADING => devtools/shared/sprintfjs/UPGRADING.md
rename : devtools/client/shared/vendor/sprintf.js => devtools/shared/sprintfjs/sprintf.js
extra : rebase_source : 9ace2a98a0a158db502087954775971dc962a168
extra : intermediate-source : 69f9cf04d5c89d498a589e03dee73217c4adec7d
extra : source : 6b4cada962aaa543279112b01ed800f3ca9315e4
2016-08-25 17:51:42 +02:00
Makoto Kato 9a8b60ffca Bug 1284283 - Remove MozContact API Android backend. r=sebastian
MozReview-Commit-ID: GLhrA1cc1Rq

--HG--
extra : rebase_source : 73efab6d9468388a6ba0be489250d8dd3d185cd6
2016-08-08 15:40:19 +09:00
Jared Wein 503f4fa827 Bug 1297239 - Enable eslint for browser/components/shell. r=Gijs
MozReview-Commit-ID: 9mCR495fwEn

--HG--
extra : rebase_source : d426e0520c71d903276158d440106f1db488abb7
2016-08-23 15:39:18 -04:00
Gabriel Luong 48cab5785e Bug 1282726 - Simple CSS Grid highlighter that displays grid lines r=pbro
This adds a new highlighter in devtools/server/actors/highlighters.
For now this highlighter isn't used and can only display grid lines
as provided by node.getGridFragments().
2016-08-19 10:26:39 -07:00
Jared Wein 8d45b8762e Bug 1294989 - Enable eslint for browser/components/preferences. r=Gijs
MozReview-Commit-ID: 62ymdZhluHx

--HG--
extra : rebase_source : 330d512f91d840a47e48f39c21d70d13b2953d2d
2016-08-13 21:58:42 -04:00
Jared Wein 797f4c4fe4 Bug 1233198 - Remove preprocessing from toolkit/content/widgets/videocontrols.xml. r=Gijs
MozReview-Commit-ID: LXAxCTf4OEg

--HG--
extra : rebase_source : 068f9c8d4fdef276115cd5a9fcd25aca8b381c68
2016-08-13 19:04:09 -04:00
Tom Tromey 39f7f2c862 Bug 1287910 - move devtools stack-related APIs to per-platform require; r=jryans
MozReview-Commit-ID: CgT1VGJnJqB

--HG--
extra : rebase_source : 14c52fe412675d9442d8d723cc3e8da55b169079
2016-08-05 13:17:17 -06:00
Tom Tromey 2906b38502 Bug 1281931 - make framework/selection.js eslint-clean; r=gregtatum
MozReview-Commit-ID: AhPQwws4WaQ

--HG--
extra : rebase_source : 2704e01bdda77937c3af0baf4a6c61a2293e4573
2016-07-26 13:26:10 -06:00
Tom Tromey 947c17e208 Bug 1291834 - make devtools/shared/async-storage.js eslint-clean; r=jryans
MozReview-Commit-ID: LswJRCUrejy

--HG--
extra : rebase_source : 8bc8fc48c264ab331d8e42a9f632115cbd100270
2016-08-03 13:21:11 -06:00
Wes Kocher 005ac12647 Merge fx-team to m-c a=merge 2016-08-07 00:16:15 -07:00
Wes Kocher 0201cd41e9 Merge m-c to fx-team, a=merge 2016-08-05 14:06:23 -07:00
Tom Tromey 0ffbda8268 Bug 1292591 - use reject-some-requires eslint rule in sourceeditor; r=gregtatum
MozReview-Commit-ID: LdPU8bdSGd5

--HG--
extra : rebase_source : a650e325a168b563022c474e0bdb0044f5ee8c1a
2016-08-05 09:09:27 -06:00
Tom Tromey c99878c1ab Bug 1292245 - remove some unnecessary imports of chrome from devtools; r=gregtatum
MozReview-Commit-ID: JVVVHAImsko

--HG--
extra : rebase_source : 939fbeb84405bf3740202eb5c0f1ba6c8aae9d92
2016-08-04 11:55:40 -06:00
Jarda Snajdr 9af5d7880e Bug 1286281 - Part 4: WebSocket-based debugger transport r=jryans
MozReview-Commit-ID: G4h7Z3KJTMA
2016-08-03 00:50:00 -07:00
Jarda Snajdr 06b68bac22 Bug 1286281 - Part 3: WebSocket server for WebSocket remote debugger transport r=jryans
MozReview-Commit-ID: DFcPTayju7m
2016-08-05 05:00:00 -07:00
Greg Tatum 34824c4105 Bug 1290142 - Lint devtools/client/performance/test/; r=jsantell
MozReview-Commit-ID: FprlN3Vm9H7

--HG--
extra : rebase_source : f9b225e5a4464b7e6f937e4670a0bfbf472dc916
2016-08-02 17:18:01 -05:00
Greg Tatum 0e9ac53382 Bug 1290142 - Lint devtools/client/performance/modules/; r=jsantell
MozReview-Commit-ID: 5Q71TImHlgW

--HG--
extra : rebase_source : f32af3bc22238c61d4abeafa596845809d808f34
2016-07-28 11:53:20 -05:00
Greg Tatum 72753529ec Bug 1290142 - Lint devtools/client/performance/legacy; r=jsantell
MozReview-Commit-ID: 9zX19SxK8rw

--HG--
extra : rebase_source : 54d96b55046b6447e60b2d194989dc7da3b5718d
2016-07-28 10:47:12 -05:00
Greg Tatum 92f73e196a Bug 1290142 - Lint devtools/client/performance/components; r=jsantell
MozReview-Commit-ID: E418yPtONiX

--HG--
extra : rebase_source : 53f70dcefae586f5bb95c7cc21035a0aab71930e
2016-07-28 08:58:05 -05:00
Tom Tromey dcacc7afac Bug 1287915 - support webpack "raw!" requires in devtools loader; r=jryans
MozReview-Commit-ID: 1H6ogaMrZPV

--HG--
extra : rebase_source : b5e35bb035a2bf9927d4ee6416e4b8b86c38006b
2016-07-28 12:11:42 -06:00
Mark Banner 0d47d718ce Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-30 08:48:29 +01:00
Mark Banner 08ab3adda4 Backed out changeset 1a8114aa64c1 (bug 1287827) for breaking tests 2016-07-29 18:17:18 +01:00
Mark Banner 08a2b46865 Bug 1287827 - Part 2. Build changes for removing Loop. r=glandium 2016-07-29 12:00:25 +01:00
Luca Greco 99aed59d84 Bug 1285557 - eslint should lint the selected devtools actors. r=jryans
MozReview-Commit-ID: LJbWHYed9gH

--HG--
extra : rebase_source : 4eb86a5977ca43b8c3548733a4b4ec4344230b98
2016-07-25 13:21:06 +02:00
Luca Greco d01ad0fefd Bug 1285557 - Create a WebExtensionAddonActor based on ChromeActor and TabActor. r=jryans
MozReview-Commit-ID: 70sLUzqHHsl

--HG--
rename : devtools/server/actors/chrome.js => devtools/server/actors/webextension.js
extra : rebase_source : 4e15cd90658dcc28e8cb90414c55cd66865c711e
2016-07-25 16:28:49 +02:00
Greg Tatum 4a28de030e Bug 1288830 - Start to lint parts of the performance tool. r=jsantell 2016-07-22 13:55:00 -04:00
Patrick Brosset 4b2d233450 Bug 1262439 - 3 - inspector and eye-dropper eslint cleanup; r=me
MozReview-Commit-ID: KZsd47QSvue

--HG--
extra : rebase_source : fb6b4feec4be295cb4494be66d0b188d6b538579
2016-06-06 15:11:27 +02:00
J. Ryan Stinnett efa881ac27 Bug 1240907 - Clean up code style in test-actor-registry.js. r=ochameau
MozReview-Commit-ID: GKAKgnVDimD
2016-07-21 12:20:55 -05:00
J. Ryan Stinnett 79af73828e Bug 1283583 - Clean up code style in devtools/server/main.js. r=ochameau
MozReview-Commit-ID: 48Jr1Si8oUh
2016-07-01 18:35:25 -05:00
J. Ryan Stinnett 89a70c452d Bug 1283583 - Clean up code style in devtools/server/child.js. r=ochameau
MozReview-Commit-ID: GoHv6jvX6M1
2016-07-01 18:35:25 -05:00
Julian Descottes 7e1c46f37f Bug 1278823 - fix eslint issues in StyleEditorUI.jsm;r=tromey
MozReview-Commit-ID: 7rI0Kw56Vp4

--HG--
extra : rebase_source : d030b22894b646ba2677cc8929b630cae392d151
2016-06-21 12:21:47 +02:00
Tom Tromey 469cee9bad Bug 1225254 - split css-logic.js into server and shared files; r=pbro
MozReview-Commit-ID: BTFVQJcVI5d

--HG--
extra : transplant_source : n%A3%EF0e%9F%8E%09%FC4%95%F8%60l3%B73%BDS%C7
2016-06-24 08:26:21 -06:00
Tom Tromey af5e8f9ef5 Backed out changeset 3518b484f82d (bug 1275637) for errors in browser_se_first-run.js; CLOSED TREE; r=me, a=KWierso
MozReview-Commit-ID: HumbpXccwrF
2016-06-22 14:19:19 -06:00
Tom Tromey ba0f9d2892 Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G
2016-06-20 06:38:39 -06:00
J. Ryan Stinnett ca7fb511f8 Bug 1193390 - Remove single arg Cu.import from /devtools. r=tromey
A few miscellaneous linting issues also addressed near the lines involved.

MozReview-Commit-ID: 9t1RwxdSS2X
2016-06-09 14:10:07 -05:00
Wes Kocher 07d01350a8 Merge fx-team to central, a=merge 2016-06-08 17:06:18 -07:00
Andrew Halberstadt fc24b11e43 Bug 1271734 - Move all eslint related infrastructure to tools/lint, r=miker
This commit simply moves 'testing/eslint' to 'tools/lint/eslint' and the eslint related
mach command from 'python/mach_commands.py' to 'tools/lint/mach_commands.py'. It shouldn't
have any functional change on running eslint, either through mach or taskcluster.

This is in preparation for bug 1258341, to make the diffs there a little easier to read.

MozReview-Commit-ID: K03sn9lv9Lv

--HG--
rename : testing/eslint/eslint-plugin-mozilla/LICENSE => tools/lint/eslint/eslint-plugin-mozilla/LICENSE
rename : testing/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/balanced-listeners.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-browserjs-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/import-headjs-globals.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/index.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/index.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/mark-test-function-used.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/no-aArgs.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/no-cpows-in-tests.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/reject-importGlobalProperties.rst
rename : testing/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst => tools/lint/eslint/eslint-plugin-mozilla/docs/var-only-at-top-level.rst
rename : testing/eslint/eslint-plugin-mozilla/lib/globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/helpers.js => tools/lint/eslint/eslint-plugin-mozilla/lib/helpers.js
rename : testing/eslint/eslint-plugin-mozilla/lib/index.js => tools/lint/eslint/eslint-plugin-mozilla/lib/index.js
rename : testing/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js => tools/lint/eslint/eslint-plugin-mozilla/lib/processors/xbl-bindings.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/.eslintrc
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/balanced-listeners.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-browserjs-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/import-headjs-globals.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/mark-test-function-used.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-aArgs.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/no-cpows-in-tests.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/reject-importGlobalProperties.js
rename : testing/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js => tools/lint/eslint/eslint-plugin-mozilla/lib/rules/var-only-at-top-level.js
rename : testing/eslint/eslint-plugin-mozilla/moz.build => tools/lint/eslint/eslint-plugin-mozilla/moz.build
rename : testing/eslint/eslint-plugin-mozilla/package.json => tools/lint/eslint/eslint-plugin-mozilla/package.json
rename : testing/eslint/manifest.tt => tools/lint/eslint/manifest.tt
rename : testing/eslint/npm-shrinkwrap.json => tools/lint/eslint/npm-shrinkwrap.json
rename : testing/eslint/package.json => tools/lint/eslint/package.json
rename : testing/eslint/update => tools/lint/eslint/update
extra : rebase_source : bb44b6285acf4625079cb6a3aaca7d9ada778c3a
2016-06-02 15:38:36 -04:00
J. Ryan Stinnett b48b79960b Bug 1278413 - Clean up code style in worker.js, event-emitter.js. r=tromey
MozReview-Commit-ID: LVbo9i0rPqI
2016-06-07 22:32:40 -05:00
J. Ryan Stinnett e1d147bbfc Bug 1278357 - Clean up code style in transport.js. r=tromey
MozReview-Commit-ID: 3uFu6AhOfbg
2016-06-06 17:39:50 -05:00
Julian Descottes 01e9c7d987 Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L

--HG--
extra : rebase_source : 0e9686790c15cf1e1e0ec6e8fddfe6cd441ef070
extra : source : 49d7963e43d890488ad0ad9b1a592c57bdc2be49
2016-06-02 10:35:03 +02:00
Carsten "Tomcat" Book d08f21c9a8 Backed out changeset 49d7963e43d8 (bug 1202458) for test failures in test_inspector-mutations-value.html
--HG--
extra : rebase_source : daf55daa5c2f5c0a47babdcf86fb8d81f6ce4b99
2016-06-02 16:30:08 +02:00
Julian Descottes cd86158629 Bug 1202458 - part2: fix eslint errors in string actor;r=pbro
MozReview-Commit-ID: 1nguzarA57L

--HG--
extra : rebase_source : 4861bf47e31ea6d1d0193663a8c92f16eef12214
extra : histedit_source : 28d396641f0c8f12d9f28bc321a72e0666dd2db8
2016-06-02 10:35:03 +02:00
Tom Tromey e27f135b3b Bug 1277243 - rename promise_defer.js to defer.js; r=jryans
MozReview-Commit-ID: 9TSQ0Cw82B

--HG--
rename : devtools/shared/promise_defer.js => devtools/shared/defer.js
rename : devtools/shared/tests/unit/test_promise_defer.js => devtools/shared/tests/unit/test_defer.js
extra : transplant_source : %20Kh%D2%21%E9%F9%D1%17L%BD%AC%E5%29%1A%11%06%A9.%98
2016-05-27 13:08:48 -06:00
gasolin 9bccc8284f Bug 1256767 - Fix ESLint errors/warnings in devtools/client/webconsole/console-commands.js; r=linclark
MozReview-Commit-ID: A5L5DqtHjGe

--HG--
extra : transplant_source : %C0%A4wAu%23%83%7Fp%BA%2A%C5%0C%F6%3E4%1B%08%07%D4
2016-04-20 18:06:01 +08:00
Ryan VanderMeulen b0934aa13f Backed out changeset 75bb440d7525 (bug 1275637) for browser_se_first-run.js failures.
CLOSED TREE
2016-05-26 19:51:33 -04:00
Tom Tromey c8fa47521b Bug 1275637 - Fix eslint errors in webgl-utils.js. r=jryans
MozReview-Commit-ID: 1T2vOPMAj8G

--HG--
extra : transplant_source : %F0%00%02%AF%1C%C7%C80O%7D%0B%C5%DE%01%80%CF%ED%86%A5%12
2016-05-25 13:39:18 -06:00
Jason Laster fae5df8bb3 Bug 1265885 - Add devtools module to replace promise.defer. r=jryans
MozReview-Commit-ID: 1Paf8cfkh5Q
2016-05-25 12:40:00 -04:00
Patrick Brosset 4f864f4ffd Bug 1274964 - ESLint cleanup of devtools/client/inspector; r=jryans
MozReview-Commit-ID: HCRVzU6NdM4

--HG--
extra : rebase_source : 375d55c7688599d57615a04f68ed7230cab856c2
extra : amend_source : a0fa5104ef3fbd7ba98512979cfb2396645c07e9
2016-05-23 10:41:02 +02:00
Wes Kocher 78f5e4c770 Bug 1270994 - Re-add webgl-utils.js to .eslineignore because I just intentionally re-broke it CLOSED TREE 2016-05-23 14:08:10 -07:00
Tom Tromey 50ab4ddfdd Bug 1270994 - Fix ESLint errors in devtools/client/shared/*.js; r=jryans
MozReview-Commit-ID: 1od43gBnUq1
2016-05-19 08:35:45 -06:00
Tom Tromey 0d398a243a Bug 1265869 - Add task.js and use in devtools. r=jryans
MozReview-Commit-ID: G5UuAh2RiZZ

--HG--
rename : toolkit/modules/Task.jsm => devtools/shared/task.js
extra : transplant_source : %B8h%8A%8C%BD%91%8A%81%1D%F4%F5%2Ap%CFv%BC%963u0
2016-05-17 13:07:55 -06:00
J. Ryan Stinnett cea8e5072a Bug 1271084 - Explicitly ignore files with specific style. r=tromey
MozReview-Commit-ID: DOvplOCJIAl
2016-05-18 12:49:23 -05:00
J. Ryan Stinnett b13c5a9153 Bug 1271084 - Remove missing files from .eslintignore. r=tromey
MozReview-Commit-ID: 5NsTjhMbDe9
2016-05-18 12:49:23 -05:00
Ryan VanderMeulen 54c922ca84 Merge inbound to m-c. a=merge
CLOSED TREE
2016-05-18 12:02:42 -04:00
Tim Nguyen 75f63a4458 Bug 1273653 - Fix ESLint errors in devtools/client/shared/(components|redux). r=tromey
MozReview-Commit-ID: 5hY0uII6wf8
2016-05-17 23:20:14 +02:00
Patrick Brosset e4149a2ab9 Bug 1267015 - ESLint cleanup of devtools/client/styleinspector/shared/test; r=bgrins
MozReview-Commit-ID: GKnRmlqIBxb

--HG--
extra : rebase_source : 69109deafb0af8113a31832b604208817a224dbb
2016-05-13 10:16:45 +02:00
Patrick Brosset 96dddc3634 Bug 1260630 - ESLint cleanup of devtools/client/inspector/computed/; r=bgrins
MozReview-Commit-ID: BreSVf4bPf

--HG--
extra : rebase_source : 5ff6e97ba85c5d3bcd14db42aba10e5ee0a469e9
2016-05-13 13:09:17 +02:00
Tom Tromey 439e22f050 Bug 1266826 - Turn Templater.jsm into a .js. r=jryans
MozReview-Commit-ID: 4T4YiOiU0oZ

--HG--
rename : devtools/shared/gcli/Templater.jsm => devtools/shared/gcli/templater.js
extra : transplant_source : N%7B%B7%E9%91%F7%CC%87%22%D0%1E%7BZ%05%16%ED%A3q%99F
2016-05-12 09:06:38 -06:00
Patrick Brosset 45c01647ea Bug 1264907 - Don't show the firstChild of the current selection in breadcrumbs; r=jdescottes
The breadcrumbs widget used to have a feature where it would show the first
child of the current selection even the DOM tree hadn't been expanded that
far yet.
This was to allow keyboard navigating the DOM through the breadcrumbs.
The breadcrumbs is a very rarely used widget and this code was unnecessarily
making things complex.
It was decided that this feature would be removed.
Instead, the breadcrumbs now act as simple linear elements in a toolbar and
you can keyboard navigate them with LEFT/RIGHT only. TAB/shift-TAB simply go
in/out of the breadcrumbs widget.

MozReview-Commit-ID: BmcaLnVBOBn

--HG--
extra : rebase_source : 1673a6c9da02cf8b3b542e4ce905ccb239250aa7
2016-04-15 12:03:33 +02:00
Tom Tromey d448361566 Bug 1271709 - fix eslint-plugin-mozilla .eslintrc; r=pbro
testing/eslint-plugin-mozilla/lib/rules/.eslintrc used the obsolete
"keyword-spacing" rule.  This patch fixes that and changes the top-level
.eslintignore so that local eslint rules are now checked.

MozReview-Commit-ID: KjVLasvPKh7

--HG--
extra : transplant_source : %AB%A2g%9F%26%E4%892%29%5Bs%7E%11%A67%00v%A2I%CC
2016-05-10 11:03:54 -06:00
Patrick Brosset 7dfb735bf9 Bug 1069829 - 3 - Clean styles.js off of eslint errors; r=me
MozReview-Commit-ID: JxEJRM3KUPQ
2016-05-10 13:29:55 +02:00
Tim Nguyen 90210699e7 Bug 1271048 - Fix eslint issues in devtools/bootstrap.js. r=pbro
MozReview-Commit-ID: J5BXwB4dXhD
2016-05-10 00:15:03 +02:00
Tom Tromey bf4a51cc20 Bug 1270203 - make css-angle eslint-clean; r=nchevobbe
MozReview-Commit-ID: IfCMc8ewLDu

--HG--
extra : transplant_source : %3F%DB%40%99I%5B%81%F4%99%9Bo%CC%3F%08%E5d%C8%11x%A7
2016-05-05 12:26:24 -06:00
Tom Tromey b266a392fe Bug 1265787 - Add javascript CSS lexer to devtools. r=pbro
MozReview-Commit-ID: BgbACHTTMtX

--HG--
extra : transplant_source : %0B%F5%A3%AE%D8U%AB%5D%DF%D4%8A%90%21%22%0E%C6%BDW%06%88
2016-04-29 11:21:22 -06:00
Tom Tromey 71073210e9 Bug 1268974 - make css-parsing-utils eslint-clean; r=pbro
MozReview-Commit-ID: 4iPN37XMbIy
2016-05-04 07:57:33 -06:00
Carsten "Tomcat" Book b64ae72562 Backed out changeset f54c4f5fd0ed (bug 1265787) 2016-05-04 12:27:37 +02:00
Carsten "Tomcat" Book 3db7c01bb7 Merge mozilla-central to fx-team 2016-05-04 12:01:17 +02:00
Carsten "Tomcat" Book ad9214381b merge mozilla-inbound to mozilla-central a=merge 2016-05-04 11:54:42 +02:00
Tom Tromey 8a9f366080 Bug 1266842 - replace rgbToColorName, colorToRGBA, isValidCSSColor in devtools; r=pbro
MozReview-Commit-ID: G5Zly0HPJuv

--HG--
extra : rebase_source : 85e0afd02cd676a2a7e0855a0b4956b7b9a2ac36
2016-04-28 08:46:19 -06:00
Tom Tromey 3ab72b1e0f Bug 1266842 - move css-color.js to devtools/client/shared; r=pbro
MozReview-Commit-ID: 9zS1Y4Ape2u

--HG--
rename : devtools/shared/css-color.js => devtools/client/shared/css-color.js
rename : devtools/shared/tests/unit/test_cssColor.js => devtools/client/shared/test/unit/test_cssColor.js
extra : rebase_source : fb9efd824bd025af2208b9d860f44ec67ece3de2
2016-04-28 08:41:40 -06:00
Tom Tromey 4383c1a8b1 Bug 1265787 - add javascript CSS lexer to devtools; r=pbro
MozReview-Commit-ID: BgbACHTTMtX

--HG--
extra : transplant_source : %A3iN%27%23%04g%91%06%2CsB%24%ABA%E9%81%D2%EA%8C
2016-04-29 11:21:22 -06:00
Jarda Snajdr 266d684430 Bug 1259743 - Part 2: Make devtools/server/actors/webbrowser.js eslint-clean. r=ochameau 2016-04-28 03:54:00 -04:00
Tom Tromey f16c510764 Bug 1267378 - fix eslint errors in css-color.js; r=miker
MozReview-Commit-ID: D1MM5Yk9IKv

--HG--
extra : amend_source : 9303a23cc67d4499567557140dacb9b74fa6da5d
2016-04-25 13:56:04 -06:00
gasolin 6935908bcd Bug 1256772 - Fix ESLint issues in devtools/client/webconsole/jsterm.js; r=linclark
MozReview-Commit-ID: 4fS6PsBGORI

--HG--
extra : transplant_source : eY%E9%C2%E4%D6%D4h%04%F0%EEFbX%8F%06%3C%C8c%7E
2016-04-07 14:43:39 +08:00
Phil 348c4c37ff Bug 1256773 - eslint issues fix for devtools/client/webconsole/panel.js. r=lclark 2016-04-06 15:35:00 +02:00
Dave Townsend 92b18b36e8 Bug 1257246: Update eslint rules for eslint 2. r=MattN
Rename the rules that ESLint 2 no longer supports to the new names. Ignore the
microformat test suite as it is external code.

MozReview-Commit-ID: BgIxFERjHp1

--HG--
extra : rebase_source : 9f02a87f9a843b427b021caa72db9eb766287151
extra : histedit_source : 954abc7e447ac6cdd36290ade7adec626f4fe4fb
2016-04-05 11:33:12 -07:00
Alexis Métaireau 88915017a0 Bug 1250104 - Import the "jsesc" library for escaping JavaScript strings. r=rnewman
--HG--
extra : rebase_source : 4aa4b917473d8a6d3ca9796c1bbb9d9d59b7b73a
2016-02-24 15:40:55 +01:00
Jan Odvarko 781ed5c343 Bug 1257173 - Make JSON viewer code eslint clean; r=linclark
MozReview-Commit-ID: LUzs6Pb4c3z

--HG--
extra : rebase_source : 72554e907dd29bb5ab60ed8b0b4c29facf1d4a85
2016-03-17 22:26:53 -07:00
Tom Tromey fbafa60ad1 Bug 1255799 - make devtools/client/webconsole eslint-clean; r=odvarko
MozReview-Commit-ID: AnaXFFHlNLM
2016-03-16 08:16:00 +01:00
Wes Kocher a80b3e7f67 Merge m-c to fx-team, a=merge
MozReview-Commit-ID: FyYG71q4yxf
2016-03-08 16:09:09 -08:00
Gijs Kruitbosch ac0ad4fb40 Bug 1245649 - ignore readability JS files when running eslint, rs=implied-by-mossop
MozReview-Commit-ID: JdD35U8ZKvu
2016-03-08 17:00:47 +00:00
Myk Melez db9a40ca42 Bug 1238079 - remove the desktop web runtime; r=fabrice,mossop,gps,jryans,jmaher,marco 2016-03-07 13:33:12 -08:00
Patrick Brosset 138604079b Bug 1252099 - Final eslint cleanups in devtools/client/inspector/markup/test; r=miker
Many event-bubble tests had max-len issues that would have been really
awkward to fix by wrapping the lines. So I decided to disable eslint for
those lines instead.

This patch fixes the last remaining eslint issues and un-ignores the
directory in .eslintignore.

MozReview-Commit-ID: KQ8qtrFceaf

--HG--
extra : rebase_source : d907de27c9d866af174ac8135f8317520c4d87a2
2016-03-02 16:14:16 +01:00
Alexandre Poirot ffdbd09825 Bug 1245875 - Remove Tilt from tree. r=vporof,jwalker 2016-03-03 02:27:22 -08:00
Brendan Dahl 2ece6215a9 Bug 1235869 - Remove web runtime from android. r=myk 2016-02-29 10:31:00 +01:00
Yury Delendik d3e1f74458 Bug 1250046 - Remove Shumway core files. r=till 2016-02-23 18:07:05 -06:00
Sebastian Hengst d34912b8e7 Bug 1251916 - Use standard JavaScript features in toolkit/components/passwordmgr to pass eslint checks: enable eslint. r=MattN
MozReview-Commit-ID: F8nvRExCbff

--HG--
extra : rebase_source : 07d5a9136de52a2af8f8591884f564f7c3284299
extra : amend_source : 5762ef9d2ddc1d1023a68a411a2f5584d0ee15e1
2016-02-28 14:12:00 -08:00
Sebastian Hengst 979f65c7b2 Bug 1251748 - Remove eslint exclusion of removed pocket directory. r=mixedpuppy
MozReview-Commit-ID: HwYV5HYkGYL
2016-02-26 23:22:03 +01:00
Tim Nguyen 5b9b9eda76 Bug 1251720 - Remove Storage Inspector directory from .eslintignore. r=pbro
MozReview-Commit-ID: 1J0FJcnF69v
2016-02-26 21:54:09 +01:00
Wes Kocher 1b22811473 Backed out changeset 26bbd4cee816 (bug 1250104) because the test it added is failing
MozReview-Commit-ID: 5RWr4L5CzV2
2016-02-26 09:52:24 -08:00
Alexis Métaireau 779b41d21f Bug 1250104 - Import the "jsesc" library for escaping JavaScript strings. r=rnewman 2016-02-24 15:40:55 +01:00
Patrick Brosset 3e2897155c Bug 1242898 - Clean devtools/client/animationinspector of eslint errors; r=me
MozReview-Commit-ID: 8kRnACID8A6
2016-02-26 12:55:57 +01:00
Patrick Brosset a31b063cce Bug 1246677 - 7 - Clean remaining ruleview and tests eslint warnings; r=jdescottes
MozReview-Commit-ID: BcyEv4fUWJZ

--HG--
extra : rebase_source : d589e9df51222df10db1e2095f5018d8c44bcb5a
2016-02-23 17:09:01 +01:00
Ryan VanderMeulen b92db8e975 Backed out 10 changesets (bug 1246677) for causing frequent OSX browser_rules_completion-existing-property_01.js failures (10.6 and 10.10).
Backed out changeset a6d3a7a5e4ea (bug 1246677)
Backed out changeset 5dcb51fcef15 (bug 1246677)
Backed out changeset e450c5329a06 (bug 1246677)
Backed out changeset a65e8badc4c4 (bug 1246677)
Backed out changeset 0cdde48161bb (bug 1246677)
Backed out changeset bab3de413d37 (bug 1246677)
Backed out changeset e4f6cc6197cb (bug 1246677)
Backed out changeset 34e6b56e419d (bug 1246677)
Backed out changeset 5067508e5db4 (bug 1246677)
Backed out changeset 913b4129466e (bug 1246677)
2016-02-24 21:04:31 -05:00
Patrick Brosset e8e084446b Bug 1246677 - 7 - Clean remaining ruleview and tests eslint warnings; r=jdescottes
MozReview-Commit-ID: BcyEv4fUWJZ

--HG--
extra : rebase_source : cb63ed3c966567fe298bf67cafdbf08e36118712
2016-02-23 17:09:01 +01:00
Dave Townsend 688e1344df Bug 1245916: Add additional browser window scripts to eslint globals. r=felipe
This adds more of the scripts that browser.js relies on and also makes
browser-chrome head files import the browser.js globals.

The MOZ_JSDOWNLOADS block in contentAreaUtils only seems to hide a single
function, I don't see any need to keep hiding that now we're on by default.

MozReview-Commit-ID: 5zvF3JtJrZG

--HG--
extra : rebase_source : 94daff602b51d7ad57a24872d9eba9b304cf2da9
extra : source : b554c7ce41c42f16c2279ae88fd9567da7509bff
2016-02-05 12:16:39 -08:00
Dave Townsend 9d6c28bf7c Bug 1245916: XBL bindings should support global declarations in comments. r=miker
To properly lint XBL files we need to support things like import-globals-from
and other ESlint comment directives so we have to pass comments through to the
code blocks that ESlint parses. Unfortunately the way the XBL processor works
now is by passing a separate code block for every method/property/etc. in the
XBL and ESlint doesn't retain state across the blocks so we would have to prefix
every block with every comment. Instead this change makes us output just a
single block that roughly looks like this:

<comments>
var bindings = {
  "<binding-id>": {
    <binding-part-name>: function() { ... }
  }
}

This has some interesting bonuses. Defining the same ID twice will cause a lint
failure. Same for the same field in a binding. The line mapping is a little
harder and there are still a few lines that won't map directly back to the
original file but they should be rare cases. The only downside is that since
some bindings have the same binding declared differently for different platforms
we have to exclude those from linting for now.

MozReview-Commit-ID: CAsPt5dtf6T

--HG--
extra : rebase_source : 91a60ef0359ef53093fe197ed63dbc4e1a9f10a5
extra : source : 01675e4828b524c04a9057d68b41e9cc01ca1bb9
2016-02-05 12:13:34 -08:00
Phil Ringnalda 9dc941a05d Backed out 5 changesets (bug 1245916) for browser-chrome and devtools bustages
CLOSED TREE

Backed out changeset 70eca07367f4 (bug 1245916)
Backed out changeset 04c1740aa499 (bug 1245916)
Backed out changeset b554c7ce41c4 (bug 1245916)
Backed out changeset 01675e4828b5 (bug 1245916)
Backed out changeset 878db4caf845 (bug 1245916)
2016-02-15 13:58:27 -08:00
Dave Townsend 8f0976db4f Bug 1245916: Add additional browser window scripts to eslint globals. r=felipe
This adds more of the scripts that browser.js relies on and also makes
browser-chrome head files import the browser.js globals.

The MOZ_JSDOWNLOADS block in contentAreaUtils only seems to hide a single
function, I don't see any need to keep hiding that now we're on by default.

MozReview-Commit-ID: 5zvF3JtJrZG

--HG--
extra : rebase_source : a99f752b053765b621cf03965bda0c586a9eb1cb
2016-02-05 12:16:39 -08:00
Dave Townsend 5425cecf02 Bug 1245916: XBL bindings should support global declarations in comments. r=miker
To properly lint XBL files we need to support things like import-globals-from
and other ESlint comment directives so we have to pass comments through to the
code blocks that ESlint parses. Unfortunately the way the XBL processor works
now is by passing a separate code block for every method/property/etc. in the
XBL and ESlint doesn't retain state across the blocks so we would have to prefix
every block with every comment. Instead this change makes us output just a
single block that roughly looks like this:

<comments>
var bindings = {
  "<binding-id>": {
    <binding-part-name>: function() { ... }
  }
}

This has some interesting bonuses. Defining the same ID twice will cause a lint
failure. Same for the same field in a binding. The line mapping is a little
harder and there are still a few lines that won't map directly back to the
original file but they should be rare cases. The only downside is that since
some bindings have the same binding declared differently for different platforms
we have to exclude those from linting for now.

MozReview-Commit-ID: CAsPt5dtf6T

--HG--
extra : rebase_source : 700db61686d5eac3f05f758ad1ce505bcdb6aa7f
2016-02-05 12:13:34 -08:00
Gijs Kruitbosch 1b8fd05302 Bug 1246591 - fix moz.build file and .eslintignore, r=MattN
--HG--
extra : commitid : JDnRUikojj9
extra : rebase_source : 7075c06b2ef03490728d752a8c754c97e5ed75dd
2016-02-08 12:58:28 +00:00
Patrick Brosset 02105f3428 Bug 1244755 - 3 - Remove CPOW usages and eslint warnings from devtools/client/inspector/layout; r=miker
--HG--
extra : commitid : C78quZjX7oH
extra : rebase_source : 86d67bf697d50ed162ae9c01d96329db3d87bcae
extra : histedit_source : 97e16f53f0c63e8265e603841cb73d751f74e69e
2016-02-04 20:56:32 +01:00
Joe Whitfield-Seed 135346b144 Bug 1245496 - Fix eslint errors in about:debugging. r=janx 2016-02-04 20:10:08 +00:00
Hector Zhao 9397ebc869 Bug 1242977 - Make services eslintable. r=markh
--HG--
extra : rebase_source : 55938ea80a97dc92df10c073cc45c54ff4cb94c7
2016-02-02 10:37:50 +08:00
Tom Tromey 2c8e61ac71 Bug 1240183 - make styleeditor eslint-clean; r=pbro 2016-01-29 08:25:26 -07:00
chaithanya 6a47f9e3eb Bug 1090880 - Remove FUEL.r=mak
--HG--
extra : commitid : C5SfTW1i0bJ
2016-01-28 16:47:26 +01:00
Carsten "Tomcat" Book 92b2943e68 Merge mozilla-central to mozilla-inbound 2016-01-27 12:10:56 +01:00
Cykesiopka 7ccd56ad60 Bug 1242254 - Enable initial set of eslint rules for PSM. r=dkeeler
These rules are copied from toolkit/.eslintrc (with non-passing rules excluded and previously commented out and passing rules included).

--HG--
extra : rebase_source : 0afa42350cc961cbb3cf6d985b3978f4dc5d3dcb
2016-01-24 02:35:36 -08:00
Patrick Brosset 985beb4e9c Bug 1242689 - Fix eslint errors in devtools/client/*.js and un-ignore the files; r=tromey
--HG--
extra : commitid : 76W5rnBhXFZ
extra : rebase_source : b8ab20a08648924fe8d508efed76ae46a0d99b1a
extra : histedit_source : 9e56a71166fc5017eaa22ad5aedccaa5d585ad68%2C6dc936e4406a7930ea0419b199c2f71f0fe94911
2016-01-26 10:53:45 +01:00
Gabriel Luong 9f804b7b10 Bug 1242278 - Eslint cleanup of Inspector markup view r=pbro 2016-01-25 15:00:04 -05:00
Jared Wein 3f6801477a Bug 1242137 - Fix eslint errors in /browser/components/customizableui. r=gijs
--HG--
extra : commitid : CTMv8KOMjRK
extra : rebase_source : 768fb80e4652c1f0e14eea9e32da8eff795f1659
extra : amend_source : bd695a57c00c8004b048ccd4673465d66bea22c6
extra : histedit_source : ca0c6fcb719d0e7f0895de1bd429fa9804833f65
2016-01-23 14:55:27 -05:00
Jared Wein 2dbe57ccdf Bug 1241993 - Fix eslint errors in nsBrowserGlue.js. r=gijs
--HG--
extra : commitid : 5XwsMNzJWOo
extra : rebase_source : 979ff3d416d2e56defbcae2416a33b2662c2d543
extra : amend_source : 8388277586649e30da71f469eab172b647e76265
extra : histedit_source : 39b723f2eeaa1aee216c80bc637994a0a2089881
2016-01-22 15:48:20 -05:00
Jared Wein 8bcdb781ff Bug 1242125 - Fix eslint errors in /browser/components/uitour. r=mattn
--HG--
extra : commitid : 9YOFmXUhUj9
2016-01-23 19:46:10 -05:00
Gijs Kruitbosch ef6c115cda Bug 1200639 - part 0: fix eslint issues in nsBrowserContentHandler.js, r=jaws
--HG--
extra : commitid : KiJuaeKR5Wl
extra : rebase_source : 7b09496e783d3c87b2c602314b3efc52e8e4a852
2016-01-19 22:03:11 +00:00
Patrick Brosset 1f6d47b1c1 Bug 1213651 - Avoid server round-trips when displaying animated dom nodes; r=tromey
The main change here is that nodeFronts that have already been displayed
in the timeline are stored in a WeakMap so they can be retrieved from it
next time they're displayed and avoid a server-side round trip which, in
turn, causes the UI to flicker.

The other change is that now, it is possible to tell the animations actor
what is the current walker actor, which allows animation player actors to
directly send the NodeActor ID as part of their forms. Which, in most cases,
completely eliminates the server round-trip, because the corresponding
NodeFronts are already known on the client, so we get them from there.

The last change done here is that AnimationTargetNode now becomes a thin
wrapper on top of the new DomNodePreview component that was extracted so
it can be reused in other places.

--HG--
extra : commitid : EBVS63soQOi
extra : rebase_source : ad57513f53bc9d8d3250deb0e5a3cd3817d5631b
extra : histedit_source : 6319eafeb82f34d5cfeff1f175483c47ff71725b%2C5a2b6464611eada9deb3351bbf3c2711cecf1cff
2016-01-21 13:19:58 +01:00
Marco Bonardo 7eb562e238 Bug 1230471 - Basic eslint fixes in places. r=mconley
--HG--
extra : commitid : 3qDaDd3cKSc
extra : rebase_source : 8dc99f1b7dc0bb7bb7b9059ff4d8527685a50291
2015-12-10 06:46:49 -05:00
Georg Fritzsche 154be33ae3 Bug 1240091 - Enable linting on more toolkit modules. r=Mossop 2016-01-15 19:20:44 +01:00
Mark Banner c7a6910039 Bug 1232707 - Build changes to support Loop imported as an add-on. r=mikedeboer,r=glandium 2016-01-14 17:53:32 +00:00
Dave Townsend f27556ce7d Bug 1231956: Add devtools to .eslintignore. r=pbrosset
Devtools has a lot of eslint failures right now that would block us from turning
on compile time eslint checks in bug 1229588. For now I'd like to just ignore
the directory and then you can work to clean up the warnings and re-enable
checks at whatever pace you like.

--HG--
extra : rebase_source : fa20216cecf457081fc6fc65a974a73b358d1ae2
2016-01-11 14:28:54 -08:00
Dave Townsend a1dcc24776 Bug 1238781: Add pre-processed pref file to .eslintignore. r=felipe
--HG--
extra : commitid : FulAh3Xj577
extra : rebase_source : 11cf6c7805968ae95428759148414211300c72c3
2016-01-11 15:35:50 -08:00
Dave Townsend 99e46fd0e0 Bug 1237340: Fix browser and toolkit eslint failures. r=Felipe
--HG--
extra : rebase_source : 3e1098fe6d387bed1edcad365e318c484e8989ea
2016-01-06 10:10:35 -08:00
Kris Maglione 8d948cbdfc Bug 1230776: Support scripts from HTML files in eslint. r=gps
Also removes related unused variables in mach_commands.py.

--HG--
extra : commitid : IiDVMuEZtA5
extra : rebase_source : 575a51dd0ad5450323b4da5f441f8e5d721e41d6
2015-12-05 13:17:49 -08:00
Gijs Kruitbosch c652fdb86e Bug 1233492 - make browser/experiments eslintable, r=felipe
--HG--
extra : commitid : AlqcGlqXwrj
extra : rebase_source : 2daaa302b04cef72b173265dccdba55a538e58eb
2015-12-17 19:42:24 +00:00
Gijs Kruitbosch 2a29a25860 Bug 1233470 - make browser/modules eslintable, r=Mossop
--HG--
extra : commitid : IZkQYhmLl9V
extra : rebase_source : 82bd0ac1e9f3b3267d60d127758fa5771a5e9fc9
extra : amend_source : aa17ba3c05cd56840df3c986ba04221beeac2026
2015-12-17 18:31:08 +00:00
Dave Townsend 92dfb90a5f Back out the videocontrols piece of bug 1231828 due to b2g breakage and add to the ignore list. r=backout
--HG--
extra : commitid : 82kdyIUHBLg
extra : rebase_source : 0fb71c46271e8616473c751d19845e13df5e7eea
2015-12-16 12:45:58 -08:00
Patrick Brosset b9206ee742 Bug 1229859 - Massively reduce the number of eslint errors in devtools by ignoring lib files, adding missing .eslintrc files and making some rules be warnings; r=Mossop
--HG--
extra : commitid : F4M9s89to3Y
extra : rebase_source : 768a99038b43f548d8e0f88248d1be1fe7e5c579
extra : histedit_source : 619e1e7f909a09a7f5731ad8cef9e9a714d76b5e%2Ca78d84e263764af29e9e9e42f419f8189b223d8c
2015-12-10 15:46:32 -05:00
Robert Helmer 865238c5a1 Bug 1230861 - remove add-ons manager from ESLint ignore file. r=mossop
--HG--
extra : transplant_source : B%C5/%B6%0E5H%89n%B2%CA%5E%9F%F7%0A%40_%11%C8%7C
2015-12-06 17:59:36 -08:00
Marco Bonardo 1006b4755f Bug 1230549 - Storage should pass more eslint rules. r=yoric
--HG--
extra : commitid : 9FE8bR3AhsJ
extra : rebase_source : 1d65cc419e9375facb1dc7265e05ee84195153e7
2015-12-04 17:00:03 +01:00
Kris Maglione b729a30707 Bug 1229874: Part 3 - Enable ESLint in WebExtension code. r=billm
The base .eslintrc is essentially a merge of the root Toolkit .eslintrc and
the devtools .eslintrc, with some minor changes to match our prevalent style.

For the most enforces the coding styles that we've been using most
consistently. There are a couple of significant differences, though:

 * The rule for opening brace alignment can only be applied globally, and
   doesn't make exceptions for top-level functions. I chose to turn it on, and
   change the brace style of existing top-level functions that violated it,
   since the rule seemed worth using, and that's the direction most Toolkit JS
   code has been headed anyway.

 * The rule for switch/case statements requires an added indentation level for
   case statements. Most of our switch statements did not use an extra level
   of indentation, and I initially wrote the rule to enforce that style, until
   I came across case statements that used blocks, and required the extra
   indentation level for sanity.

--HG--
rename : devtools/.eslintrc => toolkit/components/extensions/.eslintrc
extra : commitid : 4aDZOi5MNPc
extra : rebase_source : f34ba43aeb8046a0c971cb76b76410497bd12b42
extra : source : 2a7eb4ef7b375e5fd52d843ca206a071367a6475
2015-12-02 16:58:53 -08:00
Dave Townsend 6fcdc1e67d Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
--HG--
extra : commitid : 1iLsb7ZpSpI
extra : rebase_source : ed920934f04e520f5410454ec3930cd5992aa965
2015-12-03 10:02:45 -08:00
Dave Townsend 3f712c761e Backed out 5161ded671e0 for causing Mulet failures
--HG--
extra : commitid : AcnOYAhDWhq
extra : rebase_source : 74bdf37c69b2518534c77ea0d29bfbe4f1166f62
2015-12-03 20:01:43 -08:00
Dave Townsend 6bafb02444 Bug 1229519: Fix miscellaneous parts of toolkit to pass eslint checks. r=MattN
--HG--
extra : commitid : HgkrvB0uHPG
extra : rebase_source : f3ac923e3d621d45b70951fc33dccc68a07c228d
2015-12-03 10:02:45 -08:00
Wes Kocher 4582cabbf5 Merge m-c to fx-team, a=merge
--HG--
extra : commitid : DhYTrQryYUJ
2015-12-03 16:12:01 -08:00
Fabrice Desré 73cba43755 Bug 1229620 - Replace #ifdefs in b2g/ code by AppConstants r=timdream 2015-12-03 09:14:07 -08:00
Robert Helmer 29efc6f82d bug 1228792 - remove addons manager from eslint ignore r=mossop
--HG--
extra : commitid : KdM9mSmsxcJ
extra : rebase_source : a856987a05a67ca02dafa1a73c6c64072503262e
extra : histedit_source : 2134b25f630d9fe9976c7c81891b12525bf3044d
2015-12-02 18:41:58 -08:00
Felipe Gomes 2df6ae44b6 Bug 1229603 - Make most of browser/base lintable by removing non-standard syntax. r=Mossop
--HG--
extra : commitid : 5Dg6Q0MzXTN
2015-12-02 17:51:26 -02:00
Michael Comella a32de0940d Bug 1229433 - Ignore HomeProvider in eslint. r=nalexander
--HG--
extra : commitid : BU03tmoAA6r
extra : rebase_source : 95655b1fb084ec2b5206445be6eca56e9c9fe7d6
2015-12-01 10:06:52 -08:00
Mark Banner c3c17919f1 Bug 1229004 - Rename the libs directory to vendor in browser/extensions/loop/standalone/content. r=dmose
--HG--
rename : browser/extensions/loop/standalone/content/libs/l10n-gaia-02ca67948fe8.js => browser/extensions/loop/standalone/content/vendor/l10n-gaia-02ca67948fe8.js
rename : browser/extensions/loop/standalone/content/libs/l10n-gaia-upstream.txt => browser/extensions/loop/standalone/content/vendor/l10n-gaia-upstream.txt
2015-12-01 14:47:50 +00:00
Mark Banner c96e025e76 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-30 11:42:25 +00:00
Phil Ringnalda 82cfbc8176 Back out 343223ce6b34 (bug 1228628) for Experiments xpcshell bustage
CLOSED TREE
2015-11-27 20:55:17 -08:00
Mark Banner e8e5bab529 Bug 1228628 - Add a minimal .eslintrc configuration for browser and start linting a few browser files with basic rules. r=Mossop 2015-11-27 22:37:38 +00:00
Dave Townsend 3593419254 Bug 1228628: Move all eslintignore rules to the top-level of the tree. r=mconley
--HG--
extra : commitid : Dwq9c2G0xAV
extra : rebase_source : 29ef8c7dad0b0477933d82ea87fd157607cc7b14
extra : amend_source : f0353d9eab87d940d29377401b60606153644985
2015-11-27 09:39:59 -08:00
Yura Zenevich 94c96f680f Bug 1186029 - e10s compatible name caching, events and tree update tests. r=eeejay
MozReview-Commit-ID: 5Y5sYgGI2L9
---
 .eslintignore                                      |   1 -
 accessible/.eslintrc                               |  15 +
 accessible/jsat/OutputGenerator.jsm                |   7 +-
 accessible/moz.build                               |   2 +
 accessible/tests/browser/.eslintrc                 | 202 ++++++++++
 accessible/tests/browser/browser.ini               |  53 +++
 accessible/tests/browser/browser_caching_name.js   | 434 +++++++++++++++++++++
 .../tests/browser/browser_events_caretmove.js      |  21 +
 accessible/tests/browser/browser_events_hide.js    |  32 ++
 accessible/tests/browser/browser_events_show.js    |  17 +
 .../tests/browser/browser_events_statechange.js    |  60 +++
 .../tests/browser/browser_events_textchange.js     |  72 ++++
 .../tests/browser/browser_treeupdate_ariadialog.js |  42 ++
 .../tests/browser/browser_treeupdate_ariaowns.js   | 317 +++++++++++++++
 .../tests/browser/browser_treeupdate_canvas.js     |  25 ++
 .../browser/browser_treeupdate_cssoverflow.js      |  64 +++
 accessible/tests/browser/browser_treeupdate_doc.js | 303 ++++++++++++++
 .../tests/browser/browser_treeupdate_gencontent.js |  78 ++++
 .../tests/browser/browser_treeupdate_hidden.js     |  30 ++
 .../tests/browser/browser_treeupdate_imagemap.js   | 176 +++++++++
 .../tests/browser/browser_treeupdate_list.js       |  43 ++
 .../browser/browser_treeupdate_list_editabledoc.js |  39 ++
 .../tests/browser/browser_treeupdate_listener.js   |  43 ++
 .../tests/browser/browser_treeupdate_optgroup.js   |  91 +++++
 .../tests/browser/browser_treeupdate_removal.js    |  39 ++
 .../tests/browser/browser_treeupdate_table.js      |  51 +++
 .../tests/browser/browser_treeupdate_textleaf.js   |  34 ++
 .../tests/browser/browser_treeupdate_visibility.js | 196 ++++++++++
 .../tests/browser/browser_treeupdate_whitespace.js |  71 ++++
 .../tests/browser/doc_treeupdate_ariadialog.html   |  23 ++
 .../tests/browser/doc_treeupdate_ariaowns.html     |  44 +++
 .../tests/browser/doc_treeupdate_imagemap.html     |  21 +
 .../tests/browser/doc_treeupdate_removal.xhtml     |  11 +
 .../tests/browser/doc_treeupdate_visibility.html   |  78 ++++
 .../tests/browser/doc_treeupdate_whitespace.html   |  10 +
 accessible/tests/browser/events.js                 | 100 +++++
 accessible/tests/browser/head.js                   | 297 ++++++++++++++
 accessible/tests/mochitest/common.js               |  41 +-
 38 files changed, 3176 insertions(+), 7 deletions(-)
 create mode 100644 accessible/.eslintrc
 create mode 100644 accessible/tests/browser/.eslintrc
 create mode 100644 accessible/tests/browser/browser.ini
 create mode 100644 accessible/tests/browser/browser_caching_name.js
 create mode 100644 accessible/tests/browser/browser_events_caretmove.js
 create mode 100644 accessible/tests/browser/browser_events_hide.js
 create mode 100644 accessible/tests/browser/browser_events_show.js
 create mode 100644 accessible/tests/browser/browser_events_statechange.js
 create mode 100644 accessible/tests/browser/browser_events_textchange.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_ariadialog.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_ariaowns.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_canvas.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_cssoverflow.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_doc.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_gencontent.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_hidden.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_imagemap.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_list.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_list_editabledoc.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_listener.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_optgroup.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_removal.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_table.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_textleaf.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_visibility.js
 create mode 100644 accessible/tests/browser/browser_treeupdate_whitespace.js
 create mode 100644 accessible/tests/browser/doc_treeupdate_ariadialog.html
 create mode 100644 accessible/tests/browser/doc_treeupdate_ariaowns.html
 create mode 100644 accessible/tests/browser/doc_treeupdate_imagemap.html
 create mode 100644 accessible/tests/browser/doc_treeupdate_removal.xhtml
 create mode 100644 accessible/tests/browser/doc_treeupdate_visibility.html
 create mode 100644 accessible/tests/browser/doc_treeupdate_whitespace.html
 create mode 100644 accessible/tests/browser/events.js
 create mode 100644 accessible/tests/browser/head.js

--HG--
extra : rebase_source : c742ebc96467872847e0a82c6ff87b964fafb5b2
2016-05-02 11:09:28 -04:00