Bug 1516619 [wpt PR 14682] - [css-text][css2] Add refs and update links, a=testonly
[gecko.git] / .eslintignore
blobb6737bf89bf5fb3bc4e3a567db7a2985de775867
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 # We ignore all these directories by default, until we get them enabled.
15 # If you are enabling a directory, please add directory specific exclusions
16 # below.
17 docshell/test/browser/**
18 docshell/test/iframesandbox/**
19 docshell/test/mochitest/**
20 extensions/cookie/**
21 extensions/spellcheck/**
22 extensions/universalchardet/**
23 image/**
24 layout/**
25 modules/**
26 netwerk/cookie/test/browser/**
27 netwerk/test/browser/**
28 netwerk/test/mochitests/**
29 netwerk/test/unit*/**
30 tools/update-packaging/**
31 uriloader/exthandler/**
32 uriloader/exthandler/tests/mochitest/**
33 widget/headless/tests/**
34 widget/tests/**
35 xpfe/**
37 # We currently have no js files in these directories, so we ignore them by
38 # default to aid ESLint's performance.
39 build/**
40 config/**
41 db/**
42 embedding/**
43 gradle/**
44 hal/**
45 mfbt/**
46 mozglue/**
47 nsprpub/**
48 other-licenses/**
49 startupcache/**
51 # These directories only contain crashtests, but we still skip the whole
52 # directory to aid performance.
53 view/**
55 # browser/ exclusions
56 browser/app/**
57 browser/branding/**/firefox-branding.js
58 # Gzipped test file.
59 browser/base/content/test/general/gZipOfflineChild.html
60 browser/base/content/test/urlbar/file_blank_but_not_blank.html
61 # Test files that are really json not js, and don't need to be linted.
62 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
63 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
64 # This file is split into two in order to keep it as a valid json file
65 # for documentation purposes (policies.json) but to be accessed by the
66 # code as a .jsm (schema.jsm)
67 browser/components/enterprisepolicies/schemas/schema.jsm
68 # generated & special files in cld2
69 browser/components/translation/cld2/**
70 # Screenshots is imported as a system add-on and has
71 # their own lint rules currently.
72 browser/extensions/screenshots/**
73 browser/extensions/pdfjs/content/build**
74 browser/extensions/pdfjs/content/web**
75 # generated or library files in pocket
76 browser/components/pocket/content/panels/js/tmpl.js
77 browser/components/pocket/content/panels/js/vendor/**
78 # Activity Stream has incompatible eslintrc. `npm run lint` from its directory
79 browser/components/newtab/**
80 # The only file in browser/locales/ is pre-processed.
81 browser/locales/**
82 # imported from chromium
83 browser/extensions/mortar/**
84 # Generated data files
85 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
87 # devtools/ exclusions
88 devtools/client/inspector/markup/test/doc_markup_events_*.html
89 devtools/client/inspector/rules/test/doc_media_queries.html
90 devtools/client/performance/components/test/test_jit_optimizations_01.html
91 devtools/client/responsive.html/test/browser/touch.html
92 devtools/client/shared/test/*.html
93 devtools/client/shared/test/code_*.js
94 devtools/client/shared/components/test/mochitest/*.html
95 !devtools/client/shared/components/test/mochitest/test_stack-trace.html
96 devtools/client/storage/test/*.html
97 !devtools/client/storage/test/storage-cookies.html
98 !devtools/client/storage/test/storage-overflow.html
99 !devtools/client/storage/test/storage-search.html
100 !devtools/client/storage/test/storage-unsecured-iframe.html
101 !devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
102 devtools/server/tests/browser/storage-*.html
103 !devtools/server/tests/browser/storage-unsecured-iframe.html
104 devtools/server/tests/browser/stylesheets-nested-iframes.html
105 devtools/client/shared/webpack/shims/test/test_clipboard.html
106 devtools/shared/qrcode/tests/mochitest/test_decode.html
107 devtools/shared/tests/mochitest/*.html
108 devtools/shared/webconsole/test/test_*.html
109 devtools/client/webreplay/mochitest/examples/*.html
111 # Soon to be removed, the new/ directory is explicitly excluded below due to
112 # also being an imported repository.
113 devtools/client/debugger/**
115 # Ignore devtools imported repositories
116 devtools/client/debugger/new/**
117 devtools/client/shared/components/reps/**
119 # Ignore devtools preferences files
120 devtools/client/preferences/**
121 devtools/client/webide/preferences/**
122 devtools/shared/preferences/**
123 devtools/startup/preferences/devtools-startup.js
125 # Ignore devtools generated code
126 devtools/shared/css/generated/properties-db.js
127 devtools/client/webconsole/test/fixtures/stubs/*.js
128 !devtools/client/webconsole/test/fixtures/stubs/index.js
130 # Ignore devtools third-party libs
131 devtools/shared/jsbeautify/*
132 devtools/shared/acorn/*
133 devtools/shared/node-properties/*
134 devtools/shared/pretty-fast/*
135 devtools/shared/sourcemap/*
136 devtools/shared/sprintfjs/*
137 devtools/shared/qrcode/decoder/*
138 devtools/shared/qrcode/encoder/*
139 devtools/client/inspector/markup/test/lib_*
140 devtools/client/jsonview/lib/require.js
141 devtools/client/shared/demangle.js
142 devtools/client/shared/source-map/*
143 devtools/client/shared/vendor/*
144 devtools/client/sourceeditor/codemirror/*.js
145 devtools/client/sourceeditor/codemirror/**/*.js
146 devtools/client/sourceeditor/tern/*
147 devtools/client/sourceeditor/test/cm_mode_ruby.js
148 devtools/client/sourceeditor/test/codemirror/*
149 devtools/server/actors/utils/automation-timeline.js
151 # Ignore devtools files testing sourcemaps / code style
152 devtools/client/debugger/test/mochitest/code_*.js
153 devtools/client/framework/test/code_*
154 devtools/client/inspector/markup/test/events_bundle.js
155 devtools/client/netmonitor/test/xhr_bundle.js
156 devtools/client/webconsole/test/mochitest/code_bundle_nosource.js
157 devtools/client/webconsole/test/mochitest/code_bundle_invalidmap.js
158 devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
159 devtools/server/tests/unit/setBreakpoint*
160 devtools/server/tests/unit/sourcemapped.js
162 # devtools specific format test file
163 devtools/server/tests/unit/xpcshell_debugging_script.js
165 # dom/ exclusions
166 dom/animation/**
167 dom/base/*.*
168 dom/base/test/*.*
169 dom/base/test/unit/test_serializers_entities*.js
170 dom/base/test/unit_ipc/**
171 dom/base/test/jsmodules/**
172 dom/bindings/**
173 dom/browser-element/**
174 dom/cache/test/mochitest/**
175 dom/cache/test/xpcshell/**
176 dom/canvas/**
177 dom/encoding/**
178 dom/events/**
179 dom/fetch/**
180 dom/file/**
181 dom/flex/**
182 dom/grid/**
183 dom/html/**
184 dom/jsurl/**
185 dom/media/test/**
186 dom/media/tests/**
187 dom/media/webaudio/**
188 dom/media/webspeech/**
189 dom/messagechannel/**
190 dom/midi/**
191 dom/network/**
192 dom/notification/Notification*.*
193 dom/notification/test/browser/**
194 dom/notification/test/mochitest/**
195 dom/payments/**
196 dom/performance/**
197 dom/permission/**
198 dom/plugins/test/mochitest/**
199 dom/plugins/test/unit/**
200 dom/promise/**
201 dom/push/**
202 dom/quota/**
203 dom/security/test/cors/**
204 dom/security/test/csp/**
205 dom/security/test/general/**
206 dom/security/test/mixedcontentblocker/**
207 dom/security/test/sri/**
208 dom/serviceworkers/**
209 dom/smil/**
210 dom/svg/**
212 dom/tests/html/**
213 dom/tests/mochitest/**
214 dom/u2f/**
215 dom/url/**
216 dom/vr/**
217 dom/webauthn/**
218 dom/webgpu/**
219 dom/websocket/**
220 dom/workers/**
221 dom/worklet/**
222 dom/xbl/**
223 dom/xhr/**
224 dom/xml/**
225 dom/xslt/**
226 dom/xul/**
228 # Third-party
229 dom/canvas/test/webgl-conf/**
230 dom/imptests/**
231 dom/media/webaudio/test/blink/**
232 dom/media/webvtt/**
234 # Third-party
235 editor/libeditor/tests/browserscope/**
237 # Third-party
238 gfx/ots/**
239 gfx/skia/**
240 gfx/wr/**
242 # intl/ exclusions
243 intl/icu/**
244 intl/locale/**
245 intl/strres/**
246 intl/uconv/**
248 # Third-party
249 layout/mathml/imptests/**
251 # Exclude everything but self-hosted JS
252 js/ductwork/**
253 js/examples/**
254 js/ipc/**
255 js/public/**
256 js/xpconnect/**
257 js/src/devtools/**
258 js/src/octane/**
259 js/src/jit-test/**
260 js/src/jsapi-tests/binast/**
261 js/src/tests/**
262 js/src/Y.js
264 # Third-party
265 media/webrtc/trunk/**
267 # mobile/android/ exclusions
268 mobile/android/tests/browser/chrome/tp5/**
270 # Uses `#filter substitution`
271 mobile/android/app/mobile.js
272 mobile/android/app/geckoview-prefs.js
274 # Uses `#expand`
275 mobile/android/chrome/content/about.js
277 # Not much JS to lint and non-standard at that
278 mobile/android/installer/
279 mobile/android/locales/
281 # Non-standard `(catch ex if ...)`
282 mobile/android/chrome/content/browser.js
284 # Pre-processed/pref files
285 modules/libpref/greprefs.js
286 modules/libpref/init/all.js
287 modules/libpref/test/unit/*data/**
289 # Only contains non-standard test files.
290 python/**
292 # security/ exclusions (pref files).
293 security/manager/ssl/security-prefs.js
295 # NSS / taskcluster only.
296 security/nss/**
298 # services/ exclusions
300 # Uses `#filter substitution`
301 services/sync/modules/constants.js
302 services/sync/services-sync.js
304 # Servo is imported.
305 servo/**
307 # Remote protocol exclusions
308 testing/marionette/atom.js
309 testing/marionette/legacyaction.js
310 testing/marionette/client
311 testing/marionette/doc
312 testing/marionette/harness
314 # other testing/ exclusions
315 # third party modules
316 testing/mochitest/tests/Harness_sanity/**
317 testing/mochitest/MochiKit/**
318 testing/mochitest/tests/MochiKit-1.4.2/**
319 testing/mochitest/tests/SimpleTest/**
320 testing/modules/ajv-4.1.1.js
321 testing/modules/sinon-2.3.2.js
322 # octothorpe used for pref file comment causes parsing error
323 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
324 testing/talos/talos/scripts/jszip.min.js
325 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
326 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
327 testing/talos/talos/tests/devtools/addon/content/pages/**
328 testing/talos/talos/tests/dromaeo/**
329 testing/talos/talos/tests/v8_7/**
330 testing/talos/talos/tests/kraken/**
331 # Runing Talos may extract data here, see bug 1435677.
332 testing/talos/talos/tests/tp5n/**
334 testing/web-platform/**
335 testing/xpcshell/moz-http2/**
336 testing/xpcshell/node-http2/**
338 # Third party services
339 services/common/kinto-http-client.js
340 services/common/kinto-offline-client.js
342 # toolkit/ exclusions
344 # Intentionally invalid JS
345 toolkit/components/workerloader/tests/moduleF-syntax-error.js
347 # Tests old non-star function generators
348 toolkit/modules/tests/xpcshell/test_task.js
350 # External code:
351 browser/components/payments/res/vendor/*
352 toolkit/components/reader/Readability.js
353 toolkit/components/reader/JSDOMParser.js
355 # Uses preprocessing
356 toolkit/components/reader/Readerable.jsm
357 toolkit/content/widgets/wizard.xml
358 toolkit/modules/AppConstants.jsm
359 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
360 tools/tryselect/selectors/chooser/templates/chooser.html
362 # Third party
363 toolkit/modules/third_party/**
364 third_party/**