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