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