Bug 1599675 [wpt PR 20469] - Mark idlharness tests for fetch/xhr as slow, a=testonly
[gecko.git] / .eslintignore
blob7df403a5557b8bf1a5e51147d1e1ded6c3240f29
1 # Always ignore node_modules.
2 **/node_modules/
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/
11 # Exclude expected objdirs.
12 obj*/
14 # build/ third-party code
15 build/pgo/js-input/
17 # browser/ exclusions
18 browser/app/
19 browser/branding/**/firefox-branding.js
20 # Gzipped test file.
21 browser/base/content/test/general/gZipOfflineChild.html
22 browser/base/content/test/urlbar/file_blank_but_not_blank.html
23 # Third-party code.
24 browser/components/payments/res/vendor/
25 # Test files that are really json not js, and don't need to be linted.
26 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
27 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
28 # This file is split into two in order to keep it as a valid json file
29 # for documentation purposes (policies.json) but to be accessed by the
30 # code as a .jsm (schema.jsm)
31 browser/components/enterprisepolicies/schemas/schema.jsm
32 # generated & special files in cld2
33 browser/components/translation/cld2/
34 # Screenshots is imported as a system add-on and has
35 # their own lint rules currently.
36 browser/extensions/screenshots/
37 browser/extensions/pdfjs/content/build
38 browser/extensions/pdfjs/content/web
39 # generated or library files in pocket
40 browser/components/pocket/content/panels/js/tmpl.js
41 browser/components/pocket/content/panels/js/vendor/
43 # Ignore newtab files
44 # Kept in sync with browser/components/newtab/.eslintignore
45 browser/components/newtab/data/
46 browser/components/newtab/logs/
47 browser/components/newtab/vendor/
49 # The only file in browser/locales/ is pre-processed.
50 browser/locales/
51 # imported from chromium
52 browser/extensions/mortar/
53 # Generated data files
54 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
56 # devtools/ exclusions
57 devtools/client/inspector/markup/test/doc_markup_events_*.html
58 devtools/client/performance/components/test/test_jit_optimizations_01.html
59 devtools/server/tests/browser/storage-*.html
60 !devtools/server/tests/browser/storage-unsecured-iframe.html
61 devtools/server/tests/browser/stylesheets-nested-iframes.html
62 devtools/client/webreplay/mochitest/examples/*.html
64 # Ignore devtools debugger files
65 # Keep in sync with devtools/client/debugger/.eslintignore
66 devtools/client/debugger/assets/*
67 devtools/client/debugger/src/test/examples/
68 devtools/client/debugger/src/test/integration/
69 devtools/client/debugger/src/test/unit-sources/
70 devtools/client/debugger/src/**/fixtures/
71 devtools/client/debugger/src/test/mochitest/
72 devtools/client/debugger/bin/
73 devtools/client/debugger/packages/**/fixtures/
74 devtools/client/debugger/node_modules
75 devtools/client/debugger/out
76 devtools/client/webreplay/mochitest/examples/
78 # Ignore devtools debugger files which aren't intended for linting, and also
79 # aren't included in any .eslintignore or .prettierignore file.
80 # See https://github.com/firefox-devtools/debugger/blob/master/package.json#L24
81 devtools/client/debugger/configs/
82 devtools/client/debugger/dist/
83 devtools/client/debugger/flow-typed/
84 devtools/client/debugger/images/
85 devtools/client/debugger/test/
86 devtools/client/debugger/index.html
88 # Ignore devtools imported repositories
89 devtools/client/shared/components/reps/
91 # Ignore devtools preferences files
92 devtools/client/preferences/
94 # Ignore devtools generated code
95 devtools/shared/css/generated/properties-db.js
96 devtools/client/webconsole/test/node/fixtures/stubs/*.js
97 !devtools/client/webconsole/test/node/fixtures/stubs/index.js
99 # Ignore devtools third-party libs
100 devtools/shared/jsbeautify/
101 devtools/shared/acorn/
102 devtools/shared/node-properties/
103 devtools/shared/pretty-fast/
104 devtools/shared/sourcemap/
105 devtools/shared/sprintfjs/
106 devtools/shared/storage/vendor/*
107 devtools/shared/qrcode/decoder/
108 devtools/shared/qrcode/encoder/
109 devtools/client/inspector/markup/test/lib_*
110 devtools/client/jsonview/lib/require.js
111 devtools/client/shared/demangle.js
112 devtools/client/shared/source-map/
113 devtools/client/shared/vendor/
114 devtools/client/shared/sourceeditor/codemirror/*.js
115 devtools/client/shared/sourceeditor/codemirror/**/*.js
116 devtools/client/shared/sourceeditor/test/cm_mode_ruby.js
117 devtools/client/shared/sourceeditor/test/codemirror/
118 devtools/server/actors/utils/automation-timeline.js
120 # Ignore devtools files testing sourcemaps / code style
121 devtools/client/debugger/test/mochitest/code_*.js
122 devtools/client/framework/test/code_*
123 devtools/client/inspector/markup/test/events_bundle.js
124 devtools/client/netmonitor/test/xhr_bundle.js
125 devtools/client/webconsole/test/browser/code_bundle_nosource.js
126 devtools/client/webconsole/test/browser/code_bundle_invalidmap.js
127 devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
128 devtools/server/tests/unit/setBreakpoint*
129 devtools/server/tests/unit/sourcemapped.js
131 # Testing syntax error
132 devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
134 # devtools specific format test file
135 devtools/server/tests/unit/xpcshell_debugging_script.js
137 # Third-party
138 dom/canvas/test/webgl-conf/
139 dom/imptests/
140 dom/media/webaudio/test/blink/
141 dom/media/webvtt/
142 dom/svg/test/test_nonAnimStrings.xhtml
143 dom/svg/test/test_SVG_namespace_ids.html
145 # Strange encodings
146 dom/base/test/file_bug687859-16.js
147 dom/encoding/test/test_utf16_files.html
148 dom/encoding/test/file_utf16_be_bom.js
149 dom/encoding/test/file_utf16_le_bom.js
151 # Not parsable
152 dom/media/test/marionette/yttest/duration_test.js
153 dom/media/test/marionette/yttest/until_end_test.js
154 dom/tests/mochitest/general/test_focusrings.xul
155 dom/html/test/test_bug677658.html
157 # Service workers fixtures which require specific resource caching.
158 dom/base/test/file_js_cache.js
159 dom/serviceworkers/test/file_js_cache.js
161 # Intentional broken files
162 dom/base/test/file_js_cache_syntax_error.js
163 dom/base/test/jsmodules/test_syntaxError.html
164 dom/base/test/jsmodules/test_syntaxErrorAsync.html
165 dom/base/test/jsmodules/module_badSyntax.js
166 dom/base/test/jsmodules/test_syntaxErrorInline.html
167 dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
168 dom/base/test/test_bug687859.html
169 dom/media/tests/mochitest/identity/idp-bad.js
170 dom/serviceworkers/test/file_js_cache_syntax_error.js
171 dom/serviceworkers/test/parse_error_worker.js
172 dom/tests/mochitest/bugs/test_bug531176.html
173 dom/webauthn/tests/cbor.js
174 dom/workers/test/importScripts_worker_imported3.js
175 dom/workers/test/invalid.js
176 dom/workers/test/threadErrors_worker1.js
178 # Third-party
179 editor/libeditor/tests/browserscope/
181 # Third-party
182 gfx/ots/
183 gfx/skia/
184 gfx/wgpu
185 gfx/wr/
187 # intl/ exclusions
188 intl/icu/
189 intl/locale/
190 intl/strres/
191 intl/uconv/
192 # Bug 1527075: This directory is linted in github repository
193 intl/l10n/
195 # Third-party
196 layout/mathml/imptests/
198 # Exclude everything but self-hosted JS
199 js/ductwork/
200 js/examples/
201 js/ipc/
202 js/public/
203 js/xpconnect/
204 js/src/devtools/
205 js/src/octane/
206 js/src/jit-test/
207 js/src/jsapi-tests/binast/
208 js/src/tests/
209 js/src/Y.js
211 # Third-party
212 media/webrtc/trunk/
214 # mobile/android/ exclusions
215 mobile/android/tests/browser/chrome/tp5/
217 # Uses `#filter substitution`
218 mobile/android/app/mobile.js
219 mobile/android/app/geckoview-prefs.js
221 # Not much JS to lint and non-standard at that
222 mobile/android/installer/
223 mobile/android/locales/
225 # Pre-processed/pref files
226 modules/libpref/greprefs.js
227 modules/libpref/init/all.js
228 modules/libpref/test/unit/*data/
230 # Only contains non-standard test files.
231 python/
233 # Remote agent
234 remote/Protocol.jsm
235 remote/server/HTTPD.jsm
236 remote/server/Packet.jsm
237 remote/server/Socket.jsm
238 remote/server/Stream.jsm
239 remote/test/browser/chrome-remote-interface.js
240 remote/test/demo.js
241 remote/test/puppeteer/
243 # NSS / taskcluster only.
244 security/nss/
246 # services/ exclusions
248 # Third party services
249 services/common/kinto-http-client.js
250 services/common/kinto-offline-client.js
252 # Webpack-bundled library
253 services/fxaccounts/FxAccountsPairingChannel.js
255 # Uses `#filter substitution`
256 services/sync/modules/constants.js
258 # Servo is imported.
259 servo/
261 # Remote protocol exclusions
262 testing/marionette/atom.js
263 testing/marionette/legacyaction.js
264 testing/marionette/client
265 testing/marionette/doc
266 testing/marionette/harness
268 # other testing/ exclusions
269 # third party modules
270 testing/mochitest/tests/Harness_sanity/
271 testing/mochitest/MochiKit/
272 testing/mochitest/tests/MochiKit-1.4.2/
273 testing/mochitest/tests/SimpleTest/
274 testing/modules/ajv-4.1.1.js
275 testing/modules/sinon-7.2.7.js
276 # octothorpe used for pref file comment causes parsing error
277 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
279 # Mozproxy third party
280 testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/
282 testing/talos/talos/scripts/jszip.min.js
283 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
284 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
285 testing/talos/talos/tests/devtools/addon/content/pages/
286 testing/talos/talos/tests/dromaeo/
287 testing/talos/talos/tests/v8_7/
288 testing/talos/talos/tests/kraken/
289 # Runing Talos may extract data here, see bug 1435677.
290 testing/talos/talos/tests/tp5n/
291 testing/talos/talos/fis/tp5n/
293 testing/web-platform/
294 testing/xpcshell/moz-http2/
295 testing/xpcshell/node-http2/
296 testing/xpcshell/dns-packet/
297 testing/xpcshell/node-ip/
300 # Third party.
301 third_party/
303 # toolkit/ exclusions
305 # Ignore generated code from wasm-bindgen
306 toolkit/components/extensions/profiler_get_symbols.js
308 # Intentionally invalid JS
309 toolkit/components/workerloader/tests/moduleF-syntax-error.js
311 # External code:
312 toolkit/components/reader/Readability.js
313 toolkit/components/reader/JSDOMParser.js
315 # Uses preprocessing
316 toolkit/components/reader/Readerable.jsm
318 # Uses preprocessing
319 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
320 toolkit/modules/AppConstants.jsm
322 # Tests old non-star function generators
323 toolkit/modules/tests/xpcshell/test_task.js
325 # Third party
326 toolkit/modules/third_party/
328 tools/tryselect/selectors/chooser/templates/chooser.html
330 # Ignore preprocessed *(P)refs.js files in update-packaging.
331 tools/update-packaging/**/*refs.js