Bug 1586798 - Use WalkerFront from the currently selected element in onTagEdit()...
[gecko.git] / .eslintignore
blob33f466ff0a1c9e7749a1284c7b42fd3ae274b301
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/shared/qrcode/tests/mochitest/test_decode.html
76 devtools/shared/tests/mochitest/*.html
77 devtools/shared/webconsole/test/test_*.html
78 devtools/client/webreplay/mochitest/examples/*.html
80 # Ignore devtools debugger files
81 # Keep in sync with devtools/client/debugger/.eslintignore
82 devtools/client/debugger/assets/*
83 devtools/client/debugger/src/test/examples/
84 devtools/client/debugger/src/test/integration/
85 devtools/client/debugger/src/test/unit-sources/
86 devtools/client/debugger/src/**/fixtures/
87 devtools/client/debugger/src/test/mochitest/
88 devtools/client/debugger/bin/
89 devtools/client/debugger/packages/**/fixtures/
90 devtools/client/debugger/node_modules
91 devtools/client/debugger/out
92 devtools/client/webreplay/mochitest/examples/
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 # Testing syntax error
148 devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
150 # devtools specific format test file
151 devtools/server/tests/unit/xpcshell_debugging_script.js
153 # Third-party
154 dom/canvas/test/webgl-conf/
155 dom/imptests/
156 dom/media/webaudio/test/blink/
157 dom/media/webvtt/
158 dom/svg/test/test_nonAnimStrings.xhtml
159 dom/svg/test/test_SVG_namespace_ids.html
161 # Strange encodings
162 dom/base/test/file_bug687859-16.js
163 dom/encoding/test/test_utf16_files.html
164 dom/encoding/test/file_utf16_be_bom.js
165 dom/encoding/test/file_utf16_le_bom.js
167 # Not parsable
168 dom/tests/mochitest/general/test_focusrings.xul
169 dom/html/test/test_bug677658.html
171 # Service workers fixtures which require specific resource caching.
172 dom/base/test/file_js_cache.js
173 dom/serviceworkers/test/file_js_cache.js
175 # Intentional broken files
176 dom/base/test/file_js_cache_syntax_error.js
177 dom/base/test/jsmodules/test_syntaxError.html
178 dom/base/test/jsmodules/test_syntaxErrorAsync.html
179 dom/base/test/jsmodules/module_badSyntax.js
180 dom/base/test/jsmodules/test_syntaxErrorInline.html
181 dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
182 dom/base/test/test_bug687859.html
183 dom/media/tests/mochitest/identity/idp-bad.js
184 dom/serviceworkers/test/file_js_cache_syntax_error.js
185 dom/serviceworkers/test/parse_error_worker.js
186 dom/tests/mochitest/bugs/test_bug531176.html
187 dom/webauthn/tests/cbor.js
188 dom/workers/test/importScripts_worker_imported3.js
189 dom/workers/test/invalid.js
190 dom/workers/test/threadErrors_worker1.js
192 # Third-party
193 editor/libeditor/tests/browserscope/
195 # Third-party
196 gfx/ots/
197 gfx/skia/
198 gfx/wr/
200 # intl/ exclusions
201 intl/icu/
202 intl/locale/
203 intl/strres/
204 intl/uconv/
205 # Bug 1527075: This directory is linted in github repository
206 intl/l10n/
208 # Third-party
209 layout/mathml/imptests/
211 # Exclude everything but self-hosted JS
212 js/ductwork/
213 js/examples/
214 js/ipc/
215 js/public/
216 js/xpconnect/
217 js/src/devtools/
218 js/src/octane/
219 js/src/jit-test/
220 js/src/jsapi-tests/binast/
221 js/src/tests/
222 js/src/Y.js
224 # Third-party
225 media/webrtc/trunk/
227 # mobile/android/ exclusions
228 mobile/android/tests/browser/chrome/tp5/
230 # Uses `#filter substitution`
231 mobile/android/app/mobile.js
232 mobile/android/app/geckoview-prefs.js
234 # Uses `#expand`
235 mobile/android/chrome/content/about.js
237 # Not much JS to lint and non-standard at that
238 mobile/android/installer/
239 mobile/android/locales/
241 # Pre-processed/pref files
242 modules/libpref/greprefs.js
243 modules/libpref/init/all.js
244 modules/libpref/test/unit/*data/
246 # Only contains non-standard test files.
247 python/
249 # Remote agent
250 remote/Protocol.jsm
251 remote/server/HTTPD.jsm
252 remote/server/Packet.jsm
253 remote/server/Socket.jsm
254 remote/server/Stream.jsm
255 remote/test/browser/chrome-remote-interface.js
256 remote/test/demo.js
257 remote/test/puppeteer/
259 # NSS / taskcluster only.
260 security/nss/
262 # services/ exclusions
264 # Third party services
265 services/common/kinto-http-client.js
266 services/common/kinto-offline-client.js
268 # Webpack-bundled library
269 services/fxaccounts/FxAccountsPairingChannel.js
271 # Uses `#filter substitution`
272 services/sync/modules/constants.js
274 # Servo is imported.
275 servo/
277 # Remote protocol exclusions
278 testing/marionette/atom.js
279 testing/marionette/legacyaction.js
280 testing/marionette/client
281 testing/marionette/doc
282 testing/marionette/harness
284 # other testing/ exclusions
285 # third party modules
286 testing/mochitest/tests/Harness_sanity/
287 testing/mochitest/MochiKit/
288 testing/mochitest/tests/MochiKit-1.4.2/
289 testing/mochitest/tests/SimpleTest/
290 testing/modules/ajv-4.1.1.js
291 testing/modules/sinon-7.2.7.js
292 # octothorpe used for pref file comment causes parsing error
293 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
295 # Mozproxy third party
296 testing/mozbase/mozproxy/mozproxy/backends/mitm/scripts/catapult/
298 testing/talos/talos/scripts/jszip.min.js
299 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
300 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
301 testing/talos/talos/tests/devtools/addon/content/pages/
302 testing/talos/talos/tests/dromaeo/
303 testing/talos/talos/tests/v8_7/
304 testing/talos/talos/tests/kraken/
305 # Runing Talos may extract data here, see bug 1435677.
306 testing/talos/talos/tests/tp5n/
308 testing/web-platform/
309 testing/xpcshell/moz-http2/
310 testing/xpcshell/node-http2/
311 testing/xpcshell/dns-packet/
312 testing/xpcshell/node-ip/
315 # Third party.
316 third_party/
318 # toolkit/ exclusions
320 # Ignore generated code from wasm-bindgen
321 toolkit/components/extensions/profiler_get_symbols.js
323 # Intentionally invalid JS
324 toolkit/components/workerloader/tests/moduleF-syntax-error.js
326 # External code:
327 toolkit/components/reader/Readability.js
328 toolkit/components/reader/JSDOMParser.js
330 # Uses preprocessing
331 toolkit/components/reader/Readerable.jsm
333 # Uses preprocessing
334 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
335 toolkit/modules/AppConstants.jsm
337 # Tests old non-star function generators
338 toolkit/modules/tests/xpcshell/test_task.js
340 # Third party
341 toolkit/modules/third_party/
343 tools/tryselect/selectors/chooser/templates/chooser.html
345 # Ignore preprocessed *(P)refs.js files in update-packaging.
346 tools/update-packaging/**/*refs.js