Bug 1610860 [wpt PR 21344] - Update wpt metadata, a=testonly
[gecko.git] / .eslintignore
blobe92867b78f0c71309377a1e8b75c3354dc6fe791
1 # Please DO NOT add more third party files to this file.
2 # They should be added to tools/rewriting/ThirdPartyPaths.txt instead.
3 # The remaining third-party paths will be removed in bug 1608799.
5 # This file should only be used for exclusions where we have:
6 # - preprocessed files
7 # - generated files that are for some reason checked into source
8 # - intentionally invalid files
9 # - build directories and other items that we need to ignore
11 # Always ignore node_modules.
12 **/node_modules/
14 # Always ignore crashtests - specially crafted files that originally caused a
15 # crash.
16 **/crashtests/
17 # Also ignore reftest - specially crafted to produce expected output.
18 **/reftest/
19 **/reftests/
21 # Exclude expected objdirs.
22 obj*/
24 # build/ third-party code
25 build/pgo/js-input/
27 # browser/ exclusions
28 browser/app/
29 browser/branding/**/firefox-branding.js
30 # Gzipped test file.
31 browser/base/content/test/general/gZipOfflineChild.html
32 browser/base/content/test/urlbar/file_blank_but_not_blank.html
33 # Test files that are really json not js, and don't need to be linted.
34 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
35 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
36 # This file is split into two in order to keep it as a valid json file
37 # for documentation purposes (policies.json) but to be accessed by the
38 # code as a .jsm (schema.jsm)
39 browser/components/enterprisepolicies/schemas/schema.jsm
40 # generated & special files in cld2
41 browser/components/translation/cld2/
42 # Screenshots is imported as a system add-on and has
43 # their own lint rules currently.
44 browser/extensions/screenshots/
45 browser/extensions/pdfjs/content/build
46 browser/extensions/pdfjs/content/web
47 # generated or library files in pocket
48 browser/components/pocket/content/panels/js/tmpl.js
50 # Ignore newtab files
51 # Kept in sync with browser/components/newtab/.eslintignore
52 browser/components/newtab/data/
53 browser/components/newtab/logs/
55 # The only file in browser/locales/ is pre-processed.
56 browser/locales/
57 # Generated data files
58 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
60 # devtools/ exclusions
61 devtools/client/inspector/markup/test/doc_markup_events_*.html
62 devtools/client/performance/components/test/test_jit_optimizations_01.html
63 devtools/server/tests/browser/storage-*.html
64 !devtools/server/tests/browser/storage-unsecured-iframe.html
65 devtools/server/tests/browser/stylesheets-nested-iframes.html
66 devtools/client/webreplay/mochitest/examples/*.html
67 devtools/client/webreplay/mochitest/examples/
69 # Ignore devtools debugger files which aren't intended for linting, and also
70 # aren't included in any .eslintignore or .prettierignore file.
71 # See https://github.com/firefox-devtools/debugger/blob/master/package.json#L24
72 devtools/client/debugger/configs/
73 devtools/client/debugger/dist/
74 devtools/client/debugger/flow-typed/
75 devtools/client/debugger/images/
76 devtools/client/debugger/test/
77 devtools/client/debugger/index.html
79 # Ignore devtools imported repositories
80 devtools/client/shared/components/reps/
82 # Ignore devtools preferences files
83 devtools/client/preferences/
85 # Ignore devtools generated code
86 devtools/shared/css/generated/properties-db.js
87 devtools/client/webconsole/test/node/fixtures/stubs/*.js
88 !devtools/client/webconsole/test/node/fixtures/stubs/index.js
90 # Ignore devtools files testing sourcemaps / code style
91 devtools/client/framework/test/code_*
92 devtools/client/inspector/markup/test/events_bundle.js
93 devtools/client/netmonitor/test/xhr_bundle.js
94 devtools/client/webconsole/test/browser/code_bundle_nosource.js
95 devtools/client/webconsole/test/browser/code_bundle_invalidmap.js
96 devtools/server/tests/xpcshell/setBreakpoint*
97 devtools/server/tests/xpcshell/sourcemapped.js
99 # Testing syntax error
100 devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
102 # devtools specific format test file
103 devtools/server/tests/xpcshell/xpcshell_debugging_script.js
105 # Generated
106 dom/canvas/test/webgl-conf/generated/
108 # Intentionally invalid/not parsable
109 dom/html/test/test_bug677658.html
110 dom/svg/test/test_nonAnimStrings.xhtml
111 dom/svg/test/test_SVG_namespace_ids.html
113 # Strange encodings
114 dom/base/test/file_bug687859-16.js
115 dom/encoding/test/test_utf16_files.html
116 dom/encoding/test/file_utf16_be_bom.js
117 dom/encoding/test/file_utf16_le_bom.js
119 # Service workers fixtures which require specific resource caching.
120 dom/base/test/file_js_cache.js
121 dom/serviceworkers/test/file_js_cache.js
123 # Intentional broken files
124 dom/base/test/file_js_cache_syntax_error.js
125 dom/base/test/jsmodules/test_syntaxError.html
126 dom/base/test/jsmodules/test_syntaxErrorAsync.html
127 dom/base/test/jsmodules/module_badSyntax.js
128 dom/base/test/jsmodules/test_syntaxErrorInline.html
129 dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
130 dom/base/test/test_bug687859.html
131 dom/media/tests/mochitest/identity/idp-bad.js
132 dom/serviceworkers/test/file_js_cache_syntax_error.js
133 dom/serviceworkers/test/parse_error_worker.js
134 dom/tests/mochitest/bugs/test_bug531176.html
135 dom/webauthn/tests/cbor.js
136 dom/workers/test/importScripts_worker_imported3.js
137 dom/workers/test/invalid.js
138 dom/workers/test/threadErrors_worker1.js
140 # intl/ exclusions
141 intl/locale/
142 intl/strres/
143 intl/uconv/
144 # Bug 1527075: This directory is linted in github repository
145 intl/l10n/
147 # Exclude everything but self-hosted JS
148 js/ductwork/
149 js/examples/
150 js/ipc/
151 js/public/
152 js/xpconnect/
153 js/src/devtools/
154 js/src/jit-test/
155 js/src/jsapi-tests/binast/
156 js/src/tests/
157 js/src/Y.js
159 # Uses `#filter substitution`
160 mobile/android/app/mobile.js
161 mobile/android/app/geckoview-prefs.js
163 # Not much JS to lint and non-standard at that
164 mobile/android/installer/
165 mobile/android/locales/
167 # Pre-processed/pref files
168 modules/libpref/greprefs.js
169 modules/libpref/init/all.js
170 modules/libpref/test/unit/*data/
172 # Only contains non-standard test files.
173 python/
175 # Remote agent
176 remote/Protocol.jsm
177 remote/test/browser/chrome-remote-interface.js
178 remote/test/demo.js
180 # services/ exclusions
182 # Third party services
183 services/common/kinto-http-client.js
184 services/common/kinto-offline-client.js
186 # Webpack-bundled library
187 services/fxaccounts/FxAccountsPairingChannel.js
189 # Servo is imported.
190 servo/
192 # Remote protocol exclusions
193 testing/marionette/atom.js
194 testing/marionette/legacyaction.js
195 testing/marionette/harness
197 # other testing/ exclusions
198 # third party modules
199 testing/mochitest/tests/Harness_sanity/
200 testing/mochitest/tests/SimpleTest/
201 # octothorpe used for pref file comment causes parsing error
202 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
204 testing/talos/talos/scripts/jszip.min.js
205 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
206 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
207 testing/talos/talos/tests/devtools/addon/content/pages/
208 # Runing Talos may extract data here, see bug 1435677.
209 testing/talos/talos/tests/tp5n/
210 testing/talos/talos/fis/tp5n/
212 testing/web-platform/
213 testing/xpcshell/moz-http2/
215 # toolkit/ exclusions
217 # Ignore generated code from wasm-bindgen
218 toolkit/components/extensions/profiler_get_symbols.js
220 # Intentionally invalid JS
221 toolkit/components/workerloader/tests/moduleF-syntax-error.js
223 # External code:
224 toolkit/components/reader/Readability.js
225 toolkit/components/reader/JSDOMParser.js
227 # Uses preprocessing
228 toolkit/components/reader/Readerable.jsm
230 # Uses preprocessing
231 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
232 toolkit/modules/AppConstants.jsm
234 # Tests old non-star function generators
235 toolkit/modules/tests/xpcshell/test_task.js
237 # Uses special template formatting.
238 tools/tryselect/selectors/chooser/templates/chooser.html
240 # Ignore preprocessed *(P)refs.js files in update-packaging.
241 tools/update-packaging/**/*refs.js