Revision control

Other Tools

1
# Always ignore node_modules.
2
**/node_modules/**/*.*
3
4
# Always ignore crashtests - specially crafted files that originally caused a
5
# crash.
6
**/crashtests/**
7
# Also ignore reftest - specially crafted to produce expected output.
8
**/reftest/**
9
**/reftests/**
10
11
# Exclude expected objdirs.
12
obj*/**
13
14
# dom/ exclusions which should be removed (aka ESLint enabled)
15
dom/base/*.*
16
dom/base/test/*.*
17
dom/base/test/jsmodules/**
18
dom/media/test/**
19
!dom/media/test/marionette/yttest/*.js
20
dom/promise/**
21
dom/xhr/**
22
23
# build/ third-party code
24
build/pgo/js-input/**
25
26
# browser/ exclusions
27
browser/app/**
28
browser/branding/**/firefox-branding.js
29
# Gzipped test file.
30
browser/base/content/test/general/gZipOfflineChild.html
31
browser/base/content/test/urlbar/file_blank_but_not_blank.html
32
# Third-party code.
33
browser/components/payments/res/vendor/*
34
# Test files that are really json not js, and don't need to be linted.
35
browser/components/sessionstore/test/unit/data/sessionstore_valid.js
36
browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
37
# This file is split into two in order to keep it as a valid json file
38
# for documentation purposes (policies.json) but to be accessed by the
39
# code as a .jsm (schema.jsm)
40
browser/components/enterprisepolicies/schemas/schema.jsm
41
# generated & special files in cld2
42
browser/components/translation/cld2/**
43
# Screenshots is imported as a system add-on and has
44
# their own lint rules currently.
45
browser/extensions/screenshots/**
46
browser/extensions/pdfjs/content/build**
47
browser/extensions/pdfjs/content/web**
48
# generated or library files in pocket
49
browser/components/pocket/content/panels/js/tmpl.js
50
browser/components/pocket/content/panels/js/vendor/**
51
52
# Ignore newtab files
53
# Kept in sync with browser/components/newtab/.eslintignore
54
browser/components/newtab/data/
55
browser/components/newtab/logs/
56
browser/components/newtab/prerendered/
57
browser/components/newtab/vendor/
58
59
# The only file in browser/locales/ is pre-processed.
60
browser/locales/**
61
# imported from chromium
62
browser/extensions/mortar/**
63
# Generated data files
64
browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
65
66
# devtools/ exclusions
67
devtools/client/inspector/markup/test/doc_markup_events_*.html
68
devtools/client/inspector/rules/test/doc_media_queries.html
69
devtools/client/performance/components/test/test_jit_optimizations_01.html
70
devtools/client/responsive.html/test/browser/touch.html
71
devtools/client/shared/test/*.html
72
devtools/client/shared/test/code_*.js
73
devtools/client/shared/components/test/mochitest/*.html
74
!devtools/client/shared/components/test/mochitest/test_stack-trace.html
75
devtools/client/storage/test/*.html
76
!devtools/client/storage/test/storage-cookies.html
77
!devtools/client/storage/test/storage-overflow.html
78
!devtools/client/storage/test/storage-search.html
79
!devtools/client/storage/test/storage-unsecured-iframe.html
80
!devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
81
devtools/server/tests/browser/storage-*.html
82
!devtools/server/tests/browser/storage-unsecured-iframe.html
83
devtools/server/tests/browser/stylesheets-nested-iframes.html
84
devtools/client/shared/webpack/shims/test/test_clipboard.html
85
devtools/shared/qrcode/tests/mochitest/test_decode.html
86
devtools/shared/tests/mochitest/*.html
87
devtools/shared/webconsole/test/test_*.html
88
devtools/client/webreplay/mochitest/examples/*.html
89
devtools/server/tests/mochitest/test_inspector-inactive-property-helper.html
90
91
# Ignore devtools debugger files
92
# Keep in sync with devtools/client/debugger/.eslintignore
93
devtools/client/debugger/assets/*
94
devtools/client/debugger/src/test/examples/**
95
devtools/client/debugger/src/test/integration/**
96
devtools/client/debugger/src/test/unit-sources/**
97
devtools/client/debugger/src/**/fixtures/**
98
devtools/client/debugger/src/test/mochitest/**
99
devtools/client/debugger/bin/
100
devtools/client/debugger/packages/**/fixtures/**
101
devtools/client/debugger/node_modules
102
devtools/client/debugger/out
103
104
# Ignore devtools debugger files which aren't intended for linting, and also
105
# aren't included in any .eslintignore or .prettierignore file.
107
devtools/client/debugger/configs/**
108
devtools/client/debugger/dist/**
109
devtools/client/debugger/flow-typed/**
110
devtools/client/debugger/images/**
111
devtools/client/debugger/test/**
112
devtools/client/debugger/index.html
113
114
# Ignore devtools imported repositories
115
devtools/client/shared/components/reps/**
116
117
# Ignore devtools preferences files
118
devtools/client/preferences/**
119
devtools/client/webide/preferences/**
120
devtools/shared/preferences/**
121
devtools/startup/preferences/devtools-startup.js
122
123
# Ignore devtools generated code
124
devtools/shared/css/generated/properties-db.js
125
devtools/client/webconsole/test/fixtures/stubs/*.js
126
!devtools/client/webconsole/test/fixtures/stubs/index.js
127
128
# Ignore devtools third-party libs
129
devtools/shared/jsbeautify/*
130
devtools/shared/acorn/*
131
devtools/shared/node-properties/*
132
devtools/shared/pretty-fast/*
133
devtools/shared/sourcemap/*
134
devtools/shared/sprintfjs/*
135
devtools/shared/qrcode/decoder/*
136
devtools/shared/qrcode/encoder/*
137
devtools/client/inspector/markup/test/lib_*
138
devtools/client/jsonview/lib/require.js
139
devtools/client/shared/demangle.js
140
devtools/client/shared/source-map/*
141
devtools/client/shared/vendor/*
142
devtools/client/shared/sourceeditor/codemirror/*.js
143
devtools/client/shared/sourceeditor/codemirror/**/*.js
144
devtools/client/shared/sourceeditor/tern/*
145
devtools/client/shared/sourceeditor/test/cm_mode_ruby.js
146
devtools/client/shared/sourceeditor/test/codemirror/*
147
devtools/server/actors/utils/automation-timeline.js
148
149
# Ignore devtools files testing sourcemaps / code style
150
devtools/client/debugger/test/mochitest/code_*.js
151
devtools/client/framework/test/code_*
152
devtools/client/inspector/markup/test/events_bundle.js
153
devtools/client/netmonitor/test/xhr_bundle.js
154
devtools/client/webconsole/test/mochitest/code_bundle_nosource.js
155
devtools/client/webconsole/test/mochitest/code_bundle_invalidmap.js
156
devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
157
devtools/server/tests/unit/setBreakpoint*
158
devtools/server/tests/unit/sourcemapped.js
159
160
# devtools specific format test file
161
devtools/server/tests/unit/xpcshell_debugging_script.js
162
163
# Third-party
164
dom/canvas/test/webgl-conf/**
165
dom/imptests/**
166
dom/media/webaudio/test/blink/**
167
dom/media/webvtt/**
168
dom/svg/test/test_nonAnimStrings.xhtml
169
dom/svg/test/test_SVG_namespace_ids.html
170
171
# Strange encodings
172
dom/encoding/test/test_utf16_files.html
173
dom/encoding/test/file_utf16_be_bom.js
174
dom/encoding/test/file_utf16_le_bom.js
175
176
# Not parsable
177
dom/tests/mochitest/general/test_focusrings.xul
178
dom/html/test/test_bug677658.html
179
180
# Intentional broken files
181
dom/base/test/file_js_cache_syntax_error.js
182
dom/media/tests/mochitest/identity/idp-bad.js
183
dom/serviceworkers/test/file_js_cache_syntax_error.js
184
dom/serviceworkers/test/parse_error_worker.js
185
dom/tests/mochitest/bugs/test_bug531176.html
186
dom/webauthn/tests/cbor.js
187
dom/workers/test/importScripts_worker_imported3.js
188
dom/workers/test/invalid.js
189
dom/workers/test/threadErrors_worker1.js
190
191
# Third-party
192
editor/libeditor/tests/browserscope/**
193
194
# Third-party
195
gfx/ots/**
196
gfx/skia/**
197
gfx/wr/**
198
199
# intl/ exclusions
200
intl/icu/**
201
intl/locale/**
202
intl/strres/**
203
intl/uconv/**
204
# Bug 1527075: This directory is linted in github repository
205
intl/l10n/**
206
207
# Third-party
208
layout/mathml/imptests/**
209
210
# Exclude everything but self-hosted JS
211
js/ductwork/**
212
js/examples/**
213
js/ipc/**
214
js/public/**
215
js/xpconnect/**
216
js/src/devtools/**
217
js/src/octane/**
218
js/src/jit-test/**
219
js/src/jsapi-tests/binast/**
220
js/src/tests/**
221
js/src/Y.js
222
223
# Third-party
224
media/webrtc/trunk/**
225
226
# mobile/android/ exclusions
227
mobile/android/tests/browser/chrome/tp5/**
228
229
# Uses `#filter substitution`
230
mobile/android/app/mobile.js
231
mobile/android/app/geckoview-prefs.js
232
233
# Uses `#expand`
234
mobile/android/chrome/content/about.js
235
236
# Not much JS to lint and non-standard at that
237
mobile/android/installer/
238
mobile/android/locales/
239
240
# Pre-processed/pref files
241
modules/libpref/greprefs.js
242
modules/libpref/init/all.js
243
modules/libpref/test/unit/*data/**
244
245
# Only contains non-standard test files.
246
python/**
247
248
# Remote agent
249
remote/pref/remote.js
250
remote/Protocol.jsm
251
remote/server/HTTPD.jsm
252
remote/server/Packet.jsm
253
remote/server/Socket.jsm
254
remote/server/Stream.jsm
255
remote/test/browser/chrome-remote-interface.js
256
remote/test/demo.js
257
258
# security/ exclusions (pref files).
259
security/manager/ssl/security-prefs.js
260
261
# NSS / taskcluster only.
262
security/nss/**
263
264
# services/ exclusions
265
266
# Third party services
267
services/common/kinto-http-client.js
268
services/common/kinto-offline-client.js
269
270
# Webpack-bundled library
271
services/fxaccounts/FxAccountsPairingChannel.js
272
273
# Uses `#filter substitution`
274
services/sync/modules/constants.js
275
services/sync/services-sync.js
276
277
# Servo is imported.
278
servo/**
279
280
# Remote protocol exclusions
281
testing/marionette/atom.js
282
testing/marionette/legacyaction.js
283
testing/marionette/client
284
testing/marionette/doc
285
testing/marionette/harness
286
287
# other testing/ exclusions
288
# third party modules
289
testing/mochitest/tests/Harness_sanity/**
290
testing/mochitest/MochiKit/**
291
testing/mochitest/tests/MochiKit-1.4.2/**
292
testing/mochitest/tests/SimpleTest/**
293
testing/modules/ajv-4.1.1.js
294
testing/modules/sinon-7.2.7.js
295
# octothorpe used for pref file comment causes parsing error
296
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
297
testing/talos/talos/scripts/jszip.min.js
298
testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
299
testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
300
testing/talos/talos/tests/devtools/addon/content/pages/**
301
testing/talos/talos/tests/dromaeo/**
302
testing/talos/talos/tests/v8_7/**
303
testing/talos/talos/tests/kraken/**
304
# Runing Talos may extract data here, see bug 1435677.
305
testing/talos/talos/tests/tp5n/**
306
# Raptor third party
307
testing/raptor/raptor/playback/scripts/catapult/**
308
309
testing/web-platform/**
310
testing/xpcshell/moz-http2/**
311
testing/xpcshell/node-http2/**
312
testing/xpcshell/dns-packet/**
313
testing/xpcshell/node-ip/**
314
315
316
# Third party.
317
third_party/**
318
319
# toolkit/ exclusions
320
321
# Ignore generated code from wasm-bindgen
322
toolkit/components/extensions/profiler_get_symbols.js
323
324
# Intentionally invalid JS
325
toolkit/components/workerloader/tests/moduleF-syntax-error.js
326
327
# External code:
328
toolkit/components/reader/Readability.js
329
toolkit/components/reader/JSDOMParser.js
330
331
# Uses preprocessing
332
toolkit/components/reader/Readerable.jsm
333
334
# Should be going away soon
335
toolkit/content/widgets/wizard.xml
336
337
# Uses preprocessing
338
toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
339
toolkit/modules/AppConstants.jsm
340
341
# Tests old non-star function generators
342
toolkit/modules/tests/xpcshell/test_task.js
343
344
# Third party
345
toolkit/modules/third_party/**
346
347
tools/tryselect/selectors/chooser/templates/chooser.html
348
349
# Ignore preprocessed *(P)refs.js files in update-packaging.
350
tools/update-packaging/**/*refs.js