2015-11-27 20:39:59 +03: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
|
|
|
|
|
# below.
|
|
|
|
|
addon-sdk/**
|
|
|
|
|
build/**
|
|
|
|
|
caps/**
|
|
|
|
|
chrome/**
|
|
|
|
|
config/**
|
|
|
|
|
db/**
|
|
|
|
|
docshell/**
|
|
|
|
|
dom/**
|
|
|
|
|
editor/**
|
|
|
|
|
embedding/**
|
|
|
|
|
extensions/**
|
|
|
|
|
gfx/**
|
|
|
|
|
gradle/**
|
|
|
|
|
hal/**
|
|
|
|
|
image/**
|
|
|
|
|
intl/**
|
|
|
|
|
ipc/**
|
|
|
|
|
js/**
|
|
|
|
|
layout/**
|
|
|
|
|
media/**
|
|
|
|
|
memory/**
|
|
|
|
|
mfbt/**
|
|
|
|
|
modules/**
|
|
|
|
|
mozglue/**
|
|
|
|
|
netwerk/**
|
|
|
|
|
nsprpub/**
|
|
|
|
|
other-licenses/**
|
|
|
|
|
parser/**
|
|
|
|
|
probes/**
|
|
|
|
|
python/**
|
|
|
|
|
rdf/**
|
|
|
|
|
startupcache/**
|
|
|
|
|
testing/**
|
2016-06-02 22:38:36 +03:00
|
|
|
|
!tools/lint/eslint/eslint-plugin-mozilla/
|
|
|
|
|
tools/lint/eslint/eslint-plugin-mozilla/node_modules/**
|
2015-11-27 20:39:59 +03:00
|
|
|
|
tools/**
|
|
|
|
|
uriloader/**
|
|
|
|
|
view/**
|
|
|
|
|
widget/**
|
|
|
|
|
xpcom/**
|
|
|
|
|
xpfe/**
|
|
|
|
|
xulrunner/**
|
|
|
|
|
|
2015-12-03 20:14:07 +03:00
|
|
|
|
# b2g exclusions (pref files).
|
|
|
|
|
b2g/app/b2g.js
|
|
|
|
|
b2g/graphene/graphene.js
|
|
|
|
|
b2g/locales/en-US/b2g-l10n.js
|
|
|
|
|
|
2015-11-27 20:39:59 +03:00
|
|
|
|
# browser/ exclusions
|
|
|
|
|
browser/app/**
|
2016-10-25 18:35:05 +03:00
|
|
|
|
browser/branding/**/firefox-branding.js
|
2015-12-02 22:51:26 +03:00
|
|
|
|
browser/base/content/browser-social.js
|
|
|
|
|
browser/base/content/nsContextMenu.js
|
|
|
|
|
browser/base/content/sanitizeDialog.js
|
2016-08-31 19:53:24 +03: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 22:51:26 +03:00
|
|
|
|
browser/base/content/newtab/**
|
2015-11-30 14:42:25 +03:00
|
|
|
|
browser/components/downloads/**
|
|
|
|
|
browser/components/privatebrowsing/**
|
|
|
|
|
browser/components/sessionstore/**
|
|
|
|
|
browser/components/tabview/**
|
2016-10-13 13:48:35 +03:00
|
|
|
|
# generated files in cld2
|
|
|
|
|
browser/components/translation/cld2/cld-worker.js
|
2015-11-27 20:39:59 +03:00
|
|
|
|
browser/extensions/pdfjs/**
|
2016-09-21 02:06:37 +03:00
|
|
|
|
# generated or library files in pocket
|
|
|
|
|
browser/extensions/pocket/content/panels/js/tmpl.js
|
2016-01-06 21:10:35 +03:00
|
|
|
|
browser/extensions/pocket/content/panels/js/vendor/**
|
2015-11-27 20:39:59 +03:00
|
|
|
|
browser/locales/**
|
|
|
|
|
|
|
|
|
|
# devtools/ exclusions
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/canvasdebugger/**
|
|
|
|
|
devtools/client/commandline/**
|
|
|
|
|
devtools/client/debugger/**
|
|
|
|
|
devtools/client/framework/**
|
2016-07-26 22:26:10 +03:00
|
|
|
|
!devtools/client/framework/selection.js
|
2016-09-12 17:51:40 +03:00
|
|
|
|
!devtools/client/framework/toolbox.js
|
2016-03-18 08:26:53 +03:00
|
|
|
|
devtools/client/jsonview/lib/**
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/memory/**
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/client/netmonitor/test/**
|
|
|
|
|
devtools/client/netmonitor/har/test/**
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/projecteditor/**
|
|
|
|
|
devtools/client/promisedebugger/**
|
|
|
|
|
devtools/client/responsivedesign/**
|
|
|
|
|
devtools/client/scratchpad/**
|
|
|
|
|
devtools/client/shadereditor/**
|
2016-04-29 23:13:14 +03:00
|
|
|
|
devtools/client/shared/*.jsm
|
2016-06-22 22:35:12 +03:00
|
|
|
|
devtools/client/shared/webgl-utils.js
|
2016-05-19 17:35:45 +03:00
|
|
|
|
devtools/client/shared/widgets/*.jsm
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/webaudioeditor/**
|
2016-10-05 06:59:00 +03:00
|
|
|
|
devtools/client/webconsole/**
|
2016-04-06 16:35:00 +03:00
|
|
|
|
!devtools/client/webconsole/panel.js
|
2016-04-07 09:43:39 +03:00
|
|
|
|
!devtools/client/webconsole/jsterm.js
|
2016-04-20 13:06:01 +03:00
|
|
|
|
!devtools/client/webconsole/console-commands.js
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/webide/**
|
2016-06-04 01:20:45 +03:00
|
|
|
|
!devtools/client/webide/components/webideCli.js
|
2016-07-25 14:21:06 +03:00
|
|
|
|
devtools/server/*.js
|
|
|
|
|
devtools/server/*.jsm
|
2016-06-29 01:57:24 +03:00
|
|
|
|
!devtools/server/child.js
|
2016-06-24 17:26:21 +03:00
|
|
|
|
!devtools/server/css-logic.js
|
2016-06-29 03:42:30 +03:00
|
|
|
|
!devtools/server/main.js
|
2016-08-05 15:00:00 +03:00
|
|
|
|
!devtools/server/websocket-server.js
|
2016-07-25 14:21:06 +03:00
|
|
|
|
devtools/server/actors/**
|
2016-11-08 14:51:13 +03:00
|
|
|
|
!devtools/server/actors/csscoverage.js
|
2016-06-06 16:11:27 +03:00
|
|
|
|
!devtools/server/actors/inspector.js
|
2016-08-19 20:26:39 +03:00
|
|
|
|
!devtools/server/actors/highlighters/css-grid.js
|
2016-06-06 16:11:27 +03:00
|
|
|
|
!devtools/server/actors/highlighters/eye-dropper.js
|
2016-11-08 14:51:13 +03:00
|
|
|
|
!devtools/server/actors/layout.js
|
|
|
|
|
!devtools/server/actors/string.js
|
|
|
|
|
!devtools/server/actors/styles.js
|
2016-04-28 10:54:00 +03:00
|
|
|
|
!devtools/server/actors/webbrowser.js
|
2016-07-25 17:28:49 +03:00
|
|
|
|
!devtools/server/actors/webextension.js
|
2016-07-25 14:21:06 +03:00
|
|
|
|
devtools/server/performance/**
|
|
|
|
|
devtools/server/tests/**
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/shared/*.js
|
2016-08-03 22:21:11 +03:00
|
|
|
|
!devtools/shared/async-storage.js
|
2016-08-04 20:55:40 +03:00
|
|
|
|
!devtools/shared/async-utils.js
|
2016-05-27 22:08:48 +03:00
|
|
|
|
!devtools/shared/defer.js
|
2016-06-07 01:58:08 +03:00
|
|
|
|
!devtools/shared/event-emitter.js
|
2016-08-04 20:55:40 +03:00
|
|
|
|
!devtools/shared/indentation.js
|
2016-07-28 21:11:42 +03:00
|
|
|
|
!devtools/shared/loader-plugin-raw.jsm
|
2016-05-17 22:07:55 +03:00
|
|
|
|
!devtools/shared/task.js
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/shared/apps/**
|
|
|
|
|
devtools/shared/client/**
|
|
|
|
|
devtools/shared/discovery/**
|
|
|
|
|
devtools/shared/gcli/**
|
2016-05-12 18:06:38 +03:00
|
|
|
|
!devtools/shared/gcli/templater.js
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/shared/heapsnapshot/**
|
|
|
|
|
devtools/shared/layout/**
|
|
|
|
|
devtools/shared/locales/**
|
|
|
|
|
devtools/shared/performance/**
|
2016-08-05 22:17:17 +03:00
|
|
|
|
!devtools/shared/platform/**
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/shared/qrcode/**
|
|
|
|
|
devtools/shared/security/**
|
|
|
|
|
devtools/shared/shims/**
|
|
|
|
|
devtools/shared/tests/**
|
2016-04-29 20:21:22 +03:00
|
|
|
|
!devtools/shared/tests/unit/test_csslexer.js
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/shared/touch/**
|
|
|
|
|
devtools/shared/transport/**
|
2016-06-06 23:30:43 +03:00
|
|
|
|
!devtools/shared/transport/transport.js
|
2016-08-03 10:50:00 +03:00
|
|
|
|
!devtools/shared/transport/websocket-transport.js
|
2016-03-16 10:16:00 +03:00
|
|
|
|
devtools/shared/webconsole/test/**
|
|
|
|
|
devtools/shared/worker/**
|
2016-06-07 01:58:08 +03:00
|
|
|
|
!devtools/shared/worker/worker.js
|
2016-01-21 15:19:58 +03:00
|
|
|
|
|
|
|
|
|
# Ignore devtools pre-processed files
|
2015-11-27 20:39:59 +03:00
|
|
|
|
devtools/client/framework/toolbox-process-window.js
|
|
|
|
|
devtools/client/performance/system.js
|
|
|
|
|
devtools/client/webide/webide-prefs.js
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/preferences/**
|
2015-11-27 20:39:59 +03:00
|
|
|
|
|
2016-01-21 15:19:58 +03:00
|
|
|
|
# Ignore devtools third-party libs
|
2015-11-27 20:39:59 +03:00
|
|
|
|
devtools/shared/jsbeautify/*
|
|
|
|
|
devtools/shared/acorn/*
|
2015-12-10 23:46:32 +03:00
|
|
|
|
devtools/client/sourceeditor/tern/*
|
2016-08-25 18:51:42 +03:00
|
|
|
|
devtools/shared/node-properties/*
|
2015-11-27 20:39:59 +03:00
|
|
|
|
devtools/shared/pretty-fast/*
|
|
|
|
|
devtools/shared/sourcemap/*
|
2016-08-25 18:51:42 +03:00
|
|
|
|
devtools/shared/sprintfjs/*
|
2015-12-10 23:46:32 +03:00
|
|
|
|
devtools/shared/qrcode/decoder/*
|
|
|
|
|
devtools/shared/qrcode/encoder/*
|
2016-05-18 01:23:07 +03:00
|
|
|
|
devtools/client/shared/demangle.js
|
2015-12-10 23:46:32 +03:00
|
|
|
|
devtools/client/shared/vendor/*
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/sourceeditor/codemirror/*.js
|
|
|
|
|
devtools/client/sourceeditor/codemirror/**/*.js
|
2016-11-12 19:57:41 +03:00
|
|
|
|
devtools/client/sourceeditor/test/cm_mode_ruby.js
|
2016-01-21 15:19:58 +03:00
|
|
|
|
devtools/client/sourceeditor/test/codemirror/*
|
2016-03-02 18:14:16 +03:00
|
|
|
|
devtools/client/inspector/markup/test/lib_*
|
2016-05-18 01:23:07 +03: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 20:39:59 +03: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-15 00:18:40 +03:00
|
|
|
|
mobile/android/chrome/content/browser.js
|
2015-11-27 20:39:59 +03:00
|
|
|
|
mobile/android/components/Snippets.js
|
2015-12-01 21:06:52 +03:00
|
|
|
|
|
|
|
|
|
# Bug 1178739: Ignore this file as a quick fix for "Illegal yield expression"
|
|
|
|
|
mobile/android/modules/HomeProvider.jsm
|
2015-12-03 21:02:45 +03:00
|
|
|
|
|
2016-02-02 05:37:50 +03:00
|
|
|
|
# services/ exclusions
|
|
|
|
|
|
|
|
|
|
# Uses `#filter substitution`
|
|
|
|
|
services/sync/modules/constants.js
|
|
|
|
|
|
2015-12-03 21:02:45 +03: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 20:00:47 +03:00
|
|
|
|
# External code:
|
2016-04-05 21:33:12 +03:00
|
|
|
|
toolkit/components/microformats/test/**
|
2016-03-08 20:00:47 +03:00
|
|
|
|
toolkit/components/reader/Readability.js
|
|
|
|
|
toolkit/components/reader/JSDOMParser.js
|
|
|
|
|
|
2015-12-03 21:02:45 +03:00
|
|
|
|
# Uses preprocessing
|
2016-02-05 23:13:34 +03:00
|
|
|
|
toolkit/content/widgets/wizard.xml
|
2015-12-03 21:02:45 +03:00
|
|
|
|
toolkit/components/jsdownloads/src/DownloadIntegration.jsm
|
|
|
|
|
toolkit/components/url-classifier/**
|
|
|
|
|
toolkit/components/urlformatter/nsURLFormatter.js
|
2015-12-03 03:58:53 +03:00
|
|
|
|
toolkit/identity/FirefoxAccounts.jsm
|
2015-12-03 21:02:45 +03:00
|
|
|
|
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 17:40:55 +03:00
|
|
|
|
|
|
|
|
|
# Third party
|
|
|
|
|
toolkit/modules/third_party/**
|
2016-09-16 20:00:57 +03:00
|
|
|
|
|
|
|
|
|
#NSS
|
|
|
|
|
security/nss/**
|