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