Bug 1546836 - Video Playback and Form Rendering Issues on macOS Version 10.14.5 Beta...
[gecko.git] / .eslintignore
blob50747d2378266e71660f1d2bbaf8febe6a444cb0
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 # We ignore all these directories by default, until we get them enabled.
15 # If you are enabling a directory, please add directory specific exclusions
16 # below.
17 extensions/cookie/**
18 extensions/spellcheck/**
19 extensions/universalchardet/**
20 image/**
21 layout/**
22 netwerk/cookie/test/browser/**
23 netwerk/test/browser/**
24 netwerk/test/mochitests/**
25 netwerk/test/unit*/**
26 startupcache/**
28 # We currently have no js files in these directories, so we ignore them by
29 # default to aid ESLint's performance.
30 build/**
31 config/**
32 db/**
33 embedding/**
34 gradle/**
35 hal/**
36 mfbt/**
37 mozglue/**
38 nsprpub/**
39 other-licenses/**
40 xpfe/**
42 # These directories only contain crashtests, but we still skip the whole
43 # directory to aid performance.
44 view/**
46 # browser/ exclusions
47 browser/app/**
48 browser/branding/**/firefox-branding.js
49 # Gzipped test file.
50 browser/base/content/test/general/gZipOfflineChild.html
51 browser/base/content/test/urlbar/file_blank_but_not_blank.html
52 # Third-party code.
53 browser/components/payments/res/vendor/*
54 # Test files that are really json not js, and don't need to be linted.
55 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
56 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
57 # This file is split into two in order to keep it as a valid json file
58 # for documentation purposes (policies.json) but to be accessed by the
59 # code as a .jsm (schema.jsm)
60 browser/components/enterprisepolicies/schemas/schema.jsm
61 # generated & special files in cld2
62 browser/components/translation/cld2/**
63 # Screenshots is imported as a system add-on and has
64 # their own lint rules currently.
65 browser/extensions/screenshots/**
66 browser/extensions/pdfjs/content/build**
67 browser/extensions/pdfjs/content/web**
68 # generated or library files in pocket
69 browser/components/pocket/content/panels/js/tmpl.js
70 browser/components/pocket/content/panels/js/vendor/**
71 # Activity Stream has incompatible eslintrc. `npm run lint` from its directory
72 browser/components/newtab/**
73 # The only file in browser/locales/ is pre-processed.
74 browser/locales/**
75 # imported from chromium
76 browser/extensions/mortar/**
77 # Generated data files
78 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
80 # devtools/ exclusions
81 devtools/client/inspector/markup/test/doc_markup_events_*.html
82 devtools/client/inspector/rules/test/doc_media_queries.html
83 devtools/client/performance/components/test/test_jit_optimizations_01.html
84 devtools/client/responsive.html/test/browser/touch.html
85 devtools/client/shared/test/*.html
86 devtools/client/shared/test/code_*.js
87 devtools/client/shared/components/test/mochitest/*.html
88 !devtools/client/shared/components/test/mochitest/test_stack-trace.html
89 devtools/client/storage/test/*.html
90 !devtools/client/storage/test/storage-cookies.html
91 !devtools/client/storage/test/storage-overflow.html
92 !devtools/client/storage/test/storage-search.html
93 !devtools/client/storage/test/storage-unsecured-iframe.html
94 !devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
95 devtools/server/tests/browser/storage-*.html
96 !devtools/server/tests/browser/storage-unsecured-iframe.html
97 devtools/server/tests/browser/stylesheets-nested-iframes.html
98 devtools/client/shared/webpack/shims/test/test_clipboard.html
99 devtools/shared/qrcode/tests/mochitest/test_decode.html
100 devtools/shared/tests/mochitest/*.html
101 devtools/shared/webconsole/test/test_*.html
102 devtools/client/webreplay/mochitest/examples/*.html
104 # Soon to be removed, the new/ directory is explicitly excluded below due to
105 # also being an imported repository.
106 devtools/client/debugger/**
108 # Ignore devtools imported repositories
109 devtools/client/debugger/**
110 devtools/client/shared/components/reps/**
112 # Ignore devtools preferences files
113 devtools/client/preferences/**
114 devtools/client/webide/preferences/**
115 devtools/shared/preferences/**
116 devtools/startup/preferences/devtools-startup.js
118 # Ignore devtools generated code
119 devtools/shared/css/generated/properties-db.js
120 devtools/client/webconsole/test/fixtures/stubs/*.js
121 !devtools/client/webconsole/test/fixtures/stubs/index.js
123 # Ignore devtools third-party libs
124 devtools/shared/jsbeautify/*
125 devtools/shared/acorn/*
126 devtools/shared/node-properties/*
127 devtools/shared/pretty-fast/*
128 devtools/shared/sourcemap/*
129 devtools/shared/sprintfjs/*
130 devtools/shared/qrcode/decoder/*
131 devtools/shared/qrcode/encoder/*
132 devtools/client/inspector/markup/test/lib_*
133 devtools/client/jsonview/lib/require.js
134 devtools/client/shared/demangle.js
135 devtools/client/shared/source-map/*
136 devtools/client/shared/vendor/*
137 devtools/client/shared/sourceeditor/codemirror/*.js
138 devtools/client/shared/sourceeditor/codemirror/**/*.js
139 devtools/client/shared/sourceeditor/tern/*
140 devtools/client/shared/sourceeditor/test/cm_mode_ruby.js
141 devtools/client/shared/sourceeditor/test/codemirror/*
142 devtools/server/actors/utils/automation-timeline.js
144 # Ignore devtools files testing sourcemaps / code style
145 devtools/client/debugger/test/mochitest/code_*.js
146 devtools/client/framework/test/code_*
147 devtools/client/inspector/markup/test/events_bundle.js
148 devtools/client/netmonitor/test/xhr_bundle.js
149 devtools/client/webconsole/test/mochitest/code_bundle_nosource.js
150 devtools/client/webconsole/test/mochitest/code_bundle_invalidmap.js
151 devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
152 devtools/server/tests/unit/setBreakpoint*
153 devtools/server/tests/unit/sourcemapped.js
155 # devtools specific format test file
156 devtools/server/tests/unit/xpcshell_debugging_script.js
158 # dom/ exclusions which should be removed (aka ESLint enabled)
159 dom/animation/**
160 dom/base/*.*
161 dom/base/test/*.*
162 dom/base/test/unit/test_serializers_entities*.js
163 dom/base/test/unit_ipc/**
164 dom/base/test/jsmodules/**
165 dom/canvas/**
166 dom/encoding/**
167 dom/events/**
168 dom/fetch/**
169 dom/file/**
170 dom/flex/**
171 dom/grid/**
172 dom/html/**
173 dom/jsurl/**
174 dom/media/test/**
175 !dom/media/test/marionette/yttest/*.js
176 dom/media/tests/**
177 dom/media/webaudio/**
178 dom/media/webspeech/**
179 dom/messagechannel/**
180 dom/midi/**
181 dom/network/**
182 dom/payments/**
183 dom/performance/**
184 dom/permission/**
185 dom/promise/**
186 dom/quota/**
187 dom/security/test/cors/**
188 dom/security/test/csp/**
189 dom/security/test/general/**
190 dom/security/test/mixedcontentblocker/**
191 dom/security/test/sri/**
192 dom/serviceworkers/**
193 dom/smil/**
194 dom/tests/html/**
195 dom/tests/mochitest/**
196 dom/u2f/**
197 dom/vr/**
198 dom/webauthn/**
199 dom/webgpu/**
200 dom/websocket/**
201 dom/workers/**
202 dom/worklet/**
203 dom/xbl/**
204 dom/xhr/**
205 dom/xml/**
206 dom/xslt/**
207 dom/xul/**
209 # Third-party
210 dom/canvas/test/webgl-conf/**
211 dom/imptests/**
212 dom/media/webaudio/test/blink/**
213 dom/media/webvtt/**
214 dom/svg/test/test_nonAnimStrings.xhtml
215 dom/svg/test/test_SVG_namespace_ids.html
217 # Third-party
218 editor/libeditor/tests/browserscope/**
220 # Third-party
221 gfx/ots/**
222 gfx/skia/**
223 gfx/wr/**
225 # intl/ exclusions
226 intl/icu/**
227 intl/locale/**
228 intl/strres/**
229 intl/uconv/**
230 # Bug 1527075: This directory is linted in github repository
231 intl/l10n/**
233 # Third-party
234 layout/mathml/imptests/**
236 # Exclude everything but self-hosted JS
237 js/ductwork/**
238 js/examples/**
239 js/ipc/**
240 js/public/**
241 js/xpconnect/**
242 js/src/devtools/**
243 js/src/octane/**
244 js/src/jit-test/**
245 js/src/jsapi-tests/binast/**
246 js/src/tests/**
247 js/src/Y.js
249 # Third-party
250 media/webrtc/trunk/**
252 # mobile/android/ exclusions
253 mobile/android/tests/browser/chrome/tp5/**
255 # Uses `#filter substitution`
256 mobile/android/app/mobile.js
257 mobile/android/app/geckoview-prefs.js
259 # Uses `#expand`
260 mobile/android/chrome/content/about.js
262 # Not much JS to lint and non-standard at that
263 mobile/android/installer/
264 mobile/android/locales/
266 # Non-standard `(catch ex if ...)`
267 mobile/android/chrome/content/browser.js
269 # Pre-processed/pref files
270 modules/libpref/greprefs.js
271 modules/libpref/init/all.js
272 modules/libpref/test/unit/*data/**
274 # Only contains non-standard test files.
275 python/**
277 # Remote agent
278 remote/pref/remote.js
279 remote/Protocol.jsm
280 remote/server/HTTPD.jsm
281 remote/server/Packet.jsm
282 remote/server/Socket.jsm
283 remote/server/Stream.jsm
284 remote/test/browser/chrome-remote-interface.js
285 remote/test/demo.js
287 # security/ exclusions (pref files).
288 security/manager/ssl/security-prefs.js
290 # NSS / taskcluster only.
291 security/nss/**
293 # services/ exclusions
295 # Third party services
296 services/common/kinto-http-client.js
297 services/common/kinto-offline-client.js
299 # Webpack-bundled library
300 services/fxaccounts/FxAccountsPairingChannel.js
302 # Uses `#filter substitution`
303 services/sync/modules/constants.js
304 services/sync/services-sync.js
306 # Servo is imported.
307 servo/**
309 # Remote protocol exclusions
310 testing/marionette/atom.js
311 testing/marionette/legacyaction.js
312 testing/marionette/client
313 testing/marionette/doc
314 testing/marionette/harness
316 # other testing/ exclusions
317 # third party modules
318 testing/mochitest/tests/Harness_sanity/**
319 testing/mochitest/MochiKit/**
320 testing/mochitest/tests/MochiKit-1.4.2/**
321 testing/mochitest/tests/SimpleTest/**
322 testing/modules/ajv-4.1.1.js
323 testing/modules/sinon-7.2.7.js
324 # octothorpe used for pref file comment causes parsing error
325 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
326 testing/talos/talos/scripts/jszip.min.js
327 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
328 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
329 testing/talos/talos/tests/devtools/addon/content/pages/**
330 testing/talos/talos/tests/dromaeo/**
331 testing/talos/talos/tests/v8_7/**
332 testing/talos/talos/tests/kraken/**
333 # Runing Talos may extract data here, see bug 1435677.
334 testing/talos/talos/tests/tp5n/**
335 # Raptor third party
336 testing/raptor/raptor/playback/scripts/catapult/**
338 testing/web-platform/**
339 testing/xpcshell/moz-http2/**
340 testing/xpcshell/node-http2/**
341 testing/xpcshell/dns-packet/**
342 testing/xpcshell/node-ip/**
345 # Third party.
346 third_party/**
348 # toolkit/ exclusions
350 # Ignore generated code from wasm-bindgen
351 toolkit/components/extensions/profiler_get_symbols.js
353 # Intentionally invalid JS
354 toolkit/components/workerloader/tests/moduleF-syntax-error.js
356 # External code:
357 toolkit/components/reader/Readability.js
358 toolkit/components/reader/JSDOMParser.js
360 # Uses preprocessing
361 toolkit/components/reader/Readerable.jsm
363 # Should be going away soon
364 toolkit/content/widgets/wizard.xml
366 # Uses preprocessing
367 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
368 toolkit/modules/AppConstants.jsm
370 # Tests old non-star function generators
371 toolkit/modules/tests/xpcshell/test_task.js
373 # Third party
374 toolkit/modules/third_party/**
376 tools/tryselect/selectors/chooser/templates/chooser.html
378 # Ignore preprocessed *(P)refs.js files in update-packaging.
379 tools/update-packaging/**/*refs.js