2015-11-27 17:39:59 +00:00
|
|
|
# Always ignore node_modules.
|
|
|
|
**/node_modules/**/*.*
|
|
|
|
|
|
|
|
# Exclude expected objdirs.
|
|
|
|
obj*/**
|
|
|
|
|
|
|
|
# We ignore all these directories by default, until we get them enabled.
|
|
|
|
# If you are enabling a directory, please add directory specific exclusions
|
2017-01-16 17:51:00 +00:00
|
|
|
# below.
|
2015-11-27 17:39:59 +00:00
|
|
|
addon-sdk/**
|
|
|
|
build/**
|
|
|
|
caps/**
|
|
|
|
chrome/**
|
|
|
|
config/**
|
|
|
|
db/**
|
|
|
|
docshell/**
|
|
|
|
editor/**
|
|
|
|
embedding/**
|
|
|
|
extensions/**
|
|
|
|
gfx/**
|
|
|
|
gradle/**
|
|
|
|
hal/**
|
|
|
|
image/**
|
|
|
|
intl/**
|
|
|
|
ipc/**
|
|
|
|
layout/**
|
|
|
|
media/**
|
|
|
|
memory/**
|
|
|
|
mfbt/**
|
|
|
|
modules/**
|
|
|
|
mozglue/**
|
|
|
|
netwerk/**
|
|
|
|
nsprpub/**
|
|
|
|
other-licenses/**
|
|
|
|
parser/**
|
|
|
|
probes/**
|
|
|
|
python/**
|
|
|
|
rdf/**
|
2017-02-03 00:05:56 +00:00
|
|
|
servo/**
|
2015-11-27 17:39:59 +00:00
|
|
|
startupcache/**
|
|
|
|
testing/**
|
2016-12-22 10:53:51 +00:00
|
|
|
tools/update-packaging/**
|
2015-11-27 17:39:59 +00:00
|
|
|
uriloader/**
|
|
|
|
view/**
|
|
|
|
widget/**
|
|
|
|
xpcom/**
|
|
|
|
xpfe/**
|
|
|
|
xulrunner/**
|
|
|
|
|
2015-12-03 17:14:07 +00:00
|
|
|
# b2g exclusions (pref files).
|
|
|
|
b2g/app/b2g.js
|
|
|
|
b2g/graphene/graphene.js
|
|
|
|
b2g/locales/en-US/b2g-l10n.js
|
|
|
|
|
2015-11-27 17:39:59 +00:00
|
|
|
# browser/ exclusions
|
|
|
|
browser/app/**
|
2016-10-25 15:35:05 +00:00
|
|
|
browser/branding/**/firefox-branding.js
|
2015-12-02 19:51:26 +00:00
|
|
|
browser/base/content/nsContextMenu.js
|
|
|
|
browser/base/content/sanitizeDialog.js
|
2016-08-31 16:53:24 +00:00
|
|
|
browser/base/content/test/general/file_csp_block_all_mixedcontent.html
|
|
|
|
browser/base/content/test/urlbar/file_blank_but_not_blank.html
|
2015-12-02 19:51:26 +00:00
|
|
|
browser/base/content/newtab/**
|
2015-11-30 11:42:25 +00:00
|
|
|
browser/components/downloads/**
|
2016-10-27 21:18:50 +00:00
|
|
|
# Test files that are really json not js, and don't need to be linted.
|
|
|
|
browser/components/sessionstore/test/unit/data/sessionstore_valid.js
|
|
|
|
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
|
2015-11-30 11:42:25 +00:00
|
|
|
browser/components/tabview/**
|
2017-03-03 09:29:14 +00:00
|
|
|
# generated & special files in cld2
|
|
|
|
browser/components/translation/cld2/**
|
2017-01-23 20:32:49 +00:00
|
|
|
browser/extensions/pdfjs/content/build**
|
|
|
|
browser/extensions/pdfjs/content/web**
|
2016-09-20 23:06:37 +00:00
|
|
|
# generated or library files in pocket
|
|
|
|
browser/extensions/pocket/content/panels/js/tmpl.js
|
2016-01-06 18:10:35 +00:00
|
|
|
browser/extensions/pocket/content/panels/js/vendor/**
|
2015-11-27 17:39:59 +00:00
|
|
|
browser/locales/**
|
2016-12-19 22:02:59 +00:00
|
|
|
# imported from chromium
|
|
|
|
browser/extensions/mortar/**
|
2015-11-27 17:39:59 +00:00
|
|
|
|
|
|
|
# devtools/ exclusions
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/canvasdebugger/**
|
|
|
|
devtools/client/commandline/**
|
|
|
|
devtools/client/debugger/**
|
|
|
|
devtools/client/framework/**
|
2016-07-26 19:26:10 +00:00
|
|
|
!devtools/client/framework/selection.js
|
2017-02-22 18:33:20 +00:00
|
|
|
!devtools/client/framework/target*
|
|
|
|
!devtools/client/framework/toolbox*
|
2017-02-25 22:54:25 +00:00
|
|
|
devtools/client/inspector/markup/test/doc_markup_events_*.html
|
|
|
|
devtools/client/inspector/rules/test/doc_media_queries.html
|
|
|
|
devtools/client/memory/test/chrome/*.html
|
|
|
|
devtools/client/performance/components/test/test_jit_optimizations_01.html
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/projecteditor/**
|
2017-02-25 22:54:25 +00:00
|
|
|
devtools/client/responsive.html/test/browser/touch.html
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/responsivedesign/**
|
|
|
|
devtools/client/scratchpad/**
|
|
|
|
devtools/client/shadereditor/**
|
2016-04-29 20:13:14 +00:00
|
|
|
devtools/client/shared/*.jsm
|
2017-01-18 13:38:10 +00:00
|
|
|
devtools/client/shared/components/reps/reps.js
|
2017-02-25 22:54:25 +00:00
|
|
|
devtools/client/shared/components/reps/test/mochitest/*.html
|
|
|
|
!devtools/client/shared/components/reps/test/mochitest/test_reps_infinity.html
|
|
|
|
!devtools/client/shared/components/reps/test/mochitest/test_reps_nan.html
|
|
|
|
!devtools/client/shared/components/reps/test/mochitest/test_reps_promise.html
|
|
|
|
!devtools/client/shared/components/reps/test/mochitest/test_reps_symbol.html
|
|
|
|
!devtools/client/shared/components/reps/test/mochitest/test_reps_text-node.html
|
|
|
|
devtools/client/shared/components/test/mochitest/*.html
|
|
|
|
!devtools/client/shared/components/test/mochitest/test_stack-trace.html
|
|
|
|
devtools/client/shared/shim/test/test_*.html
|
|
|
|
devtools/client/shared/test/browser_toolbar_webconsole_errors_count.html
|
2016-06-22 19:35:12 +00:00
|
|
|
devtools/client/shared/webgl-utils.js
|
2016-05-19 14:35:45 +00:00
|
|
|
devtools/client/shared/widgets/*.jsm
|
2017-02-25 22:54:25 +00:00
|
|
|
devtools/client/storage/test/*.html
|
|
|
|
!devtools/client/storage/test/storage-cookies.html
|
|
|
|
!devtools/client/storage/test/storage-overflow.html
|
|
|
|
!devtools/client/storage/test/storage-search.html
|
|
|
|
!devtools/client/storage/test/storage-unsecured-iframe.html
|
|
|
|
!devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/webaudioeditor/**
|
2016-12-08 08:16:41 +00:00
|
|
|
devtools/client/webconsole/net/**
|
|
|
|
devtools/client/webconsole/test/**
|
|
|
|
devtools/client/webconsole/console-output.js
|
|
|
|
devtools/client/webconsole/hudservice.js
|
|
|
|
devtools/client/webconsole/webconsole-connection-proxy.js
|
|
|
|
devtools/client/webconsole/webconsole.js
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/webide/**
|
2016-06-03 22:20:45 +00:00
|
|
|
!devtools/client/webide/components/webideCli.js
|
2017-01-16 17:51:00 +00:00
|
|
|
devtools/server/actors/webconsole.js
|
|
|
|
devtools/server/actors/object.js
|
|
|
|
devtools/server/actors/script.js
|
|
|
|
devtools/server/actors/styleeditor.js
|
|
|
|
devtools/server/actors/stylesheets.js
|
2017-02-25 22:54:25 +00:00
|
|
|
devtools/server/tests/browser/storage-*.html
|
|
|
|
!devtools/server/tests/browser/storage-unsecured-iframe.html
|
|
|
|
devtools/server/tests/browser/stylesheets-nested-iframes.html
|
2016-11-11 17:20:13 +00:00
|
|
|
devtools/server/tests/mochitest/**
|
|
|
|
devtools/server/tests/unit/**
|
2017-02-25 22:54:25 +00:00
|
|
|
devtools/shared/platform/content/test/test_clipboard.html
|
|
|
|
devtools/shared/qrcode/tests/mochitest/test_decode.html
|
|
|
|
devtools/shared/tests/mochitest/*.html
|
|
|
|
devtools/shared/webconsole/test/test_*.html
|
2016-01-21 12:19:58 +00:00
|
|
|
|
|
|
|
# Ignore devtools pre-processed files
|
2015-11-27 17:39:59 +00:00
|
|
|
devtools/client/framework/toolbox-process-window.js
|
|
|
|
devtools/client/performance/system.js
|
|
|
|
devtools/client/webide/webide-prefs.js
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/preferences/**
|
2015-11-27 17:39:59 +00:00
|
|
|
|
2016-01-21 12:19:58 +00:00
|
|
|
# Ignore devtools third-party libs
|
2015-11-27 17:39:59 +00:00
|
|
|
devtools/shared/jsbeautify/*
|
|
|
|
devtools/shared/acorn/*
|
2017-01-03 22:47:28 +00:00
|
|
|
devtools/shared/gcli/source/*
|
2016-08-25 15:51:42 +00:00
|
|
|
devtools/shared/node-properties/*
|
2015-11-27 17:39:59 +00:00
|
|
|
devtools/shared/pretty-fast/*
|
|
|
|
devtools/shared/sourcemap/*
|
2016-08-25 15:51:42 +00:00
|
|
|
devtools/shared/sprintfjs/*
|
2015-12-10 20:46:32 +00:00
|
|
|
devtools/shared/qrcode/decoder/*
|
|
|
|
devtools/shared/qrcode/encoder/*
|
2016-05-17 22:23:07 +00:00
|
|
|
devtools/client/shared/demangle.js
|
2015-12-10 20:46:32 +00:00
|
|
|
devtools/client/shared/vendor/*
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/sourceeditor/codemirror/*.js
|
|
|
|
devtools/client/sourceeditor/codemirror/**/*.js
|
2017-01-03 22:47:28 +00:00
|
|
|
devtools/client/sourceeditor/tern/*
|
2016-11-12 16:57:41 +00:00
|
|
|
devtools/client/sourceeditor/test/cm_mode_ruby.js
|
2016-01-21 12:19:58 +00:00
|
|
|
devtools/client/sourceeditor/test/codemirror/*
|
2016-03-02 15:14:16 +00:00
|
|
|
devtools/client/inspector/markup/test/lib_*
|
2016-05-17 22:23:07 +00:00
|
|
|
devtools/client/jsonview/lib/require.js
|
|
|
|
devtools/server/actors/utils/automation-timeline.js
|
|
|
|
|
|
|
|
# Ignore devtools files testing sourcemaps / code style
|
|
|
|
devtools/client/debugger/test/mochitest/code_binary_search.js
|
|
|
|
devtools/client/debugger/test/mochitest/code_math.min.js
|
|
|
|
devtools/client/debugger/test/mochitest/code_math_bogus_map.js
|
|
|
|
devtools/client/debugger/test/mochitest/code_ugly*
|
|
|
|
devtools/client/debugger/test/mochitest/code_worker-source-map.js
|
|
|
|
devtools/client/framework/test/code_ugly*
|
|
|
|
devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
|
|
|
|
devtools/server/tests/unit/setBreakpoint*
|
2015-11-27 17:39:59 +00:00
|
|
|
|
2017-02-11 02:47:57 +00:00
|
|
|
# dom/ exclusions
|
|
|
|
dom/animation/**
|
|
|
|
dom/archivereader/**
|
|
|
|
dom/asmjscache/**
|
|
|
|
dom/audiochannel/**
|
|
|
|
dom/base/**
|
|
|
|
dom/battery/**
|
|
|
|
dom/bindings/**
|
|
|
|
dom/broadcastchannel/**
|
|
|
|
dom/browser-element/**
|
|
|
|
dom/cache/**
|
|
|
|
dom/canvas/**
|
|
|
|
dom/commandhandler/**
|
|
|
|
dom/console/**
|
|
|
|
dom/crypto/**
|
|
|
|
dom/devicestorage/**
|
|
|
|
dom/encoding/**
|
|
|
|
dom/events/**
|
|
|
|
dom/fetch/**
|
|
|
|
dom/file/**
|
|
|
|
dom/filehandle/**
|
|
|
|
dom/filesystem/**
|
|
|
|
dom/flyweb/**
|
|
|
|
dom/gamepad/**
|
|
|
|
dom/geolocation/**
|
|
|
|
dom/grid/**
|
|
|
|
dom/html/**
|
|
|
|
dom/imptests/**
|
|
|
|
dom/interfaces/**
|
|
|
|
dom/ipc/**
|
|
|
|
dom/json/**
|
|
|
|
dom/jsurl/**
|
|
|
|
dom/locales/**
|
|
|
|
dom/manifest/**
|
|
|
|
dom/mathml/**
|
|
|
|
dom/media/**
|
|
|
|
dom/messagechannel/**
|
|
|
|
dom/network/**
|
|
|
|
dom/notification/**
|
|
|
|
dom/offline/**
|
|
|
|
dom/performance/**
|
|
|
|
dom/permission/**
|
|
|
|
dom/plugins/**
|
|
|
|
dom/power/**
|
|
|
|
dom/presentation/**
|
|
|
|
dom/promise/**
|
|
|
|
dom/push/**
|
|
|
|
dom/quota/**
|
|
|
|
dom/res/**
|
|
|
|
dom/secureelement/**
|
|
|
|
dom/security/**
|
|
|
|
dom/smil/**
|
|
|
|
dom/storage/**
|
|
|
|
dom/svg/**
|
|
|
|
dom/system/**
|
|
|
|
dom/tests/**
|
|
|
|
dom/time/**
|
|
|
|
dom/u2f/**
|
|
|
|
dom/url/**
|
|
|
|
dom/vr/**
|
|
|
|
dom/webauthn/**
|
|
|
|
dom/webbrowserpersist/**
|
|
|
|
dom/webidl/**
|
|
|
|
dom/workers/**
|
|
|
|
dom/worklet/**
|
|
|
|
dom/xbl/**
|
|
|
|
dom/xhr/**
|
|
|
|
dom/xml/**
|
|
|
|
dom/xslt/**
|
|
|
|
dom/xul/**
|
|
|
|
|
2017-02-07 20:58:21 +00:00
|
|
|
# Exclude everything but self-hosted JS
|
|
|
|
js/ductwork/**
|
|
|
|
js/examples/**
|
|
|
|
js/ipc/**
|
|
|
|
js/public/**
|
|
|
|
js/xpconnect/**
|
|
|
|
js/src/devtools/**
|
|
|
|
js/src/octane/**
|
|
|
|
js/src/jit-test/**
|
|
|
|
js/src/tests/**
|
|
|
|
|
2015-11-27 17:39:59 +00:00
|
|
|
# mobile/android/ exclusions
|
|
|
|
mobile/android/tests/
|
|
|
|
|
|
|
|
# Uses `#filter substitution`
|
|
|
|
mobile/android/b2gdroid/app/b2gdroid.js
|
|
|
|
mobile/android/app/mobile.js
|
|
|
|
mobile/android/chrome/content/healthreport-prefs.js
|
|
|
|
|
|
|
|
# Uses `#expand`
|
|
|
|
mobile/android/chrome/content/about.js
|
|
|
|
|
|
|
|
# Not much JS to lint and non-standard at that
|
|
|
|
mobile/android/installer/
|
|
|
|
mobile/android/locales/
|
|
|
|
|
|
|
|
# Non-standard `(catch ex if ...)`
|
2016-09-14 21:18:40 +00:00
|
|
|
mobile/android/chrome/content/browser.js
|
2015-11-27 17:39:59 +00:00
|
|
|
mobile/android/components/Snippets.js
|
2015-12-01 18:06:52 +00:00
|
|
|
|
|
|
|
# Bug 1178739: Ignore this file as a quick fix for "Illegal yield expression"
|
|
|
|
mobile/android/modules/HomeProvider.jsm
|
2015-12-03 18:02:45 +00:00
|
|
|
|
2017-02-08 12:16:27 +00:00
|
|
|
# security/ exclusions (pref files).
|
|
|
|
security/manager/ssl/security-prefs.js
|
|
|
|
|
|
|
|
#NSS
|
|
|
|
security/nss/**
|
|
|
|
|
2016-02-02 02:37:50 +00:00
|
|
|
# services/ exclusions
|
|
|
|
|
|
|
|
# Uses `#filter substitution`
|
|
|
|
services/sync/modules/constants.js
|
2017-03-02 06:14:31 +00:00
|
|
|
services/sync/services-sync.js
|
2016-02-02 02:37:50 +00:00
|
|
|
|
2017-01-10 17:09:02 +00:00
|
|
|
# Third party services
|
|
|
|
services/common/kinto-http-client.js
|
|
|
|
services/common/kinto-offline-client.js
|
|
|
|
services/sync/tps/extensions/mozmill
|
|
|
|
|
2015-12-03 18:02:45 +00:00
|
|
|
# toolkit/ exclusions
|
|
|
|
|
|
|
|
# Not part of the default build
|
|
|
|
toolkit/components/help/**
|
|
|
|
|
|
|
|
# Intentionally invalid JS
|
|
|
|
toolkit/components/workerloader/tests/moduleF-syntax-error.js
|
|
|
|
|
|
|
|
# Tests old non-star function generators
|
|
|
|
toolkit/modules/tests/xpcshell/test_task.js
|
|
|
|
|
|
|
|
# Not yet updated
|
|
|
|
toolkit/components/osfile/**
|
|
|
|
|
2016-03-08 17:00:47 +00:00
|
|
|
# External code:
|
2016-04-05 18:33:12 +00:00
|
|
|
toolkit/components/microformats/test/**
|
2017-02-20 11:45:58 +00:00
|
|
|
toolkit/components/microformats/microformat-shiv.js
|
2016-03-08 17:00:47 +00:00
|
|
|
toolkit/components/reader/Readability.js
|
|
|
|
toolkit/components/reader/JSDOMParser.js
|
|
|
|
|
2015-12-03 18:02:45 +00:00
|
|
|
# Uses preprocessing
|
2016-02-05 20:13:34 +00:00
|
|
|
toolkit/content/widgets/wizard.xml
|
2015-12-03 18:02:45 +00:00
|
|
|
toolkit/components/jsdownloads/src/DownloadIntegration.jsm
|
|
|
|
toolkit/components/url-classifier/**
|
|
|
|
toolkit/components/urlformatter/nsURLFormatter.js
|
|
|
|
toolkit/modules/AppConstants.jsm
|
|
|
|
toolkit/mozapps/downloads/nsHelperAppDlg.js
|
|
|
|
toolkit/mozapps/extensions/internal/AddonConstants.jsm
|
|
|
|
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
|
|
|
|
toolkit/webapps/**
|
2016-02-24 14:40:55 +00:00
|
|
|
|
|
|
|
# Third party
|
|
|
|
toolkit/modules/third_party/**
|