Bug 1371405 - Update vendored WebDriver crate; r=jgraham
[gecko.git] / .eslintignore
blobacd5be6344236acb9fe8e7eda99937dba55bfd3f
1 # Always ignore node_modules.
2 **/node_modules/**/*.*
4 # Exclude expected objdirs.
5 obj*/**
7 # We ignore all these directories by default, until we get them enabled.
8 # If you are enabling a directory, please add directory specific exclusions
9 # below.
10 addon-sdk/**
11 build/**
12 chrome/**
13 config/**
14 db/**
15 docshell/**
16 editor/**
17 embedding/**
18 extensions/**
19 gfx/**
20 gradle/**
21 hal/**
22 image/**
23 intl/**
24 ipc/**
25 layout/**
26 media/**
27 memory/**
28 mfbt/**
29 modules/**
30 mozglue/**
31 netwerk/**
32 nsprpub/**
33 other-licenses/**
34 parser/**
35 probes/**
36 python/**
37 rdf/**
38 servo/**
39 startupcache/**
40 tools/update-packaging/**
41 uriloader/**
42 view/**
43 widget/**
44 xpcom/**
45 xpfe/**
46 xulrunner/**
48 # b2g exclusions (pref files).
49 b2g/app/b2g.js
50 b2g/graphene/graphene.js
51 b2g/locales/en-US/b2g-l10n.js
53 # browser/ exclusions
54 browser/app/**
55 browser/branding/**/firefox-branding.js
56 browser/base/content/test/general/file_csp_block_all_mixedcontent.html
57 # Gzipped test file.
58 browser/base/content/test/general/gZipOfflineChild.html
59 browser/base/content/test/urlbar/file_blank_but_not_blank.html
60 browser/base/content/newtab/**
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 browser/components/tabview/**
65 # generated & special files in cld2
66 browser/components/translation/cld2/**
67 # Screenshots and Follow-on search are imported as a system add-on and have
68 # their own lint rules currently.
69 browser/extensions/followonsearch/**
70 browser/extensions/screenshots/**
71 browser/extensions/pdfjs/content/build**
72 browser/extensions/pdfjs/content/web**
73 # generated or library files in pocket
74 browser/extensions/pocket/content/panels/js/tmpl.js
75 browser/extensions/pocket/content/panels/js/vendor/**
76 browser/locales/**
77 # generated or library files in activity-stream
78 browser/extensions/activity-stream/data/content/activity-stream.bundle.js
79 browser/extensions/activity-stream/vendor/**
80 # imported from chromium
81 browser/extensions/mortar/**
83 # devtools/ exclusions
84 devtools/client/canvasdebugger/**
85 devtools/client/commandline/**
86 devtools/client/debugger/**
87 devtools/client/framework/**
88 !devtools/client/framework/devtools.js
89 !devtools/client/framework/devtools-browser.js
90 !devtools/client/framework/selection.js
91 !devtools/client/framework/target*
92 !devtools/client/framework/toolbox*
93 devtools/client/inspector/markup/test/doc_markup_events_*.html
94 devtools/client/inspector/rules/test/doc_media_queries.html
95 devtools/client/memory/test/chrome/*.html
96 devtools/client/performance/components/test/test_jit_optimizations_01.html
97 devtools/client/projecteditor/**
98 devtools/client/responsive.html/test/browser/touch.html
99 devtools/client/responsivedesign/**
100 !devtools/client/responsivedesign/responsivedesign.jsm
101 devtools/client/scratchpad/**
102 devtools/client/shadereditor/**
103 devtools/client/shared/*.jsm
104 devtools/client/shared/components/reps/reps.js
105 devtools/client/shared/components/reps/test/mochitest/*.html
106 !devtools/client/shared/components/reps/test/mochitest/test_reps_infinity.html
107 !devtools/client/shared/components/reps/test/mochitest/test_reps_nan.html
108 !devtools/client/shared/components/reps/test/mochitest/test_reps_promise.html
109 !devtools/client/shared/components/reps/test/mochitest/test_reps_symbol.html
110 !devtools/client/shared/components/reps/test/mochitest/test_reps_text-node.html
111 devtools/client/shared/components/test/mochitest/*.html
112 !devtools/client/shared/components/test/mochitest/test_stack-trace.html
113 devtools/client/shared/shim/test/test_*.html
114 devtools/client/shared/test/browser_toolbar_webconsole_errors_count.html
115 devtools/client/shared/webgl-utils.js
116 devtools/client/shared/widgets/*.jsm
117 devtools/client/storage/test/*.html
118 !devtools/client/storage/test/storage-cookies.html
119 !devtools/client/storage/test/storage-overflow.html
120 !devtools/client/storage/test/storage-search.html
121 !devtools/client/storage/test/storage-unsecured-iframe.html
122 !devtools/client/storage/test/storage-unsecured-iframe-usercontextid.html
123 devtools/client/webaudioeditor/**
124 devtools/client/webconsole/net/**
125 devtools/client/webconsole/test/**
126 devtools/client/webconsole/hudservice.js
127 devtools/client/webconsole/webconsole-connection-proxy.js
128 devtools/client/webconsole/webconsole.js
129 devtools/client/webide/**
130 !devtools/client/webide/components/webideCli.js
131 devtools/server/tests/browser/storage-*.html
132 !devtools/server/tests/browser/storage-unsecured-iframe.html
133 devtools/server/tests/browser/stylesheets-nested-iframes.html
134 devtools/server/tests/unit/xpcshell_debugging_script.js
135 devtools/shared/platform/content/test/test_clipboard.html
136 devtools/shared/qrcode/tests/mochitest/test_decode.html
137 devtools/shared/tests/mochitest/*.html
138 devtools/shared/webconsole/test/test_*.html
140 # Ignore devtools pre-processed files
141 devtools/client/framework/toolbox-process-window.js
142 devtools/client/performance/system.js
143 devtools/client/webide/webide-prefs.js
144 devtools/client/preferences/**
146 # Ignore devtools third-party libs
147 devtools/shared/jsbeautify/*
148 devtools/shared/acorn/*
149 devtools/shared/gcli/source/*
150 devtools/shared/node-properties/*
151 devtools/shared/pretty-fast/*
152 devtools/shared/sourcemap/*
153 devtools/shared/sprintfjs/*
154 devtools/shared/qrcode/decoder/*
155 devtools/shared/qrcode/encoder/*
156 devtools/client/shared/demangle.js
157 devtools/client/shared/source-map/*
158 devtools/client/shared/vendor/*
159 devtools/client/sourceeditor/codemirror/*.js
160 devtools/client/sourceeditor/codemirror/**/*.js
161 devtools/client/sourceeditor/tern/*
162 devtools/client/sourceeditor/test/cm_mode_ruby.js
163 devtools/client/sourceeditor/test/codemirror/*
164 devtools/client/inspector/markup/test/lib_*
165 devtools/client/jsonview/lib/require.js
166 devtools/server/actors/utils/automation-timeline.js
168 # Ignore devtools files testing sourcemaps / code style
169 devtools/client/debugger/test/mochitest/code_binary_search.js
170 devtools/client/debugger/test/mochitest/code_binary_search_absolute.js
171 devtools/client/debugger/test/mochitest/code_math.min.js
172 devtools/client/debugger/test/mochitest/code_math_bogus_map.js
173 devtools/client/debugger/test/mochitest/code_ugly*
174 devtools/client/debugger/test/mochitest/code_worker-source-map.js
175 devtools/client/framework/test/code_ugly*
176 devtools/client/inspector/markup/test/events_bundle.js
177 devtools/client/netmonitor/test/xhr_bundle.js
178 devtools/server/tests/unit/babel_and_browserify_script_with_source_map.js
179 devtools/server/tests/unit/setBreakpoint*
180 devtools/server/tests/unit/sourcemapped.js
182 # dom/ exclusions
183 dom/animation/**
184 dom/archivereader/**
185 dom/asmjscache/**
186 dom/audiochannel/**
187 dom/base/**
188 dom/battery/**
189 dom/bindings/**
190 dom/broadcastchannel/**
191 dom/browser-element/**
192 dom/cache/**
193 dom/canvas/**
194 dom/commandhandler/**
195 dom/console/**
196 dom/crypto/**
197 dom/devicestorage/**
198 dom/encoding/**
199 dom/events/**
200 dom/fetch/**
201 dom/file/**
202 dom/filehandle/**
203 dom/filesystem/**
204 dom/flyweb/**
205 dom/gamepad/**
206 dom/geolocation/**
207 dom/grid/**
208 dom/html/**
209 dom/imptests/**
210 dom/interfaces/**
211 dom/ipc/**
212 dom/json/**
213 dom/jsurl/**
214 dom/locales/**
215 dom/manifest/**
216 dom/mathml/**
217 dom/media/**
218 dom/messagechannel/**
219 dom/network/**
220 dom/notification/**
221 dom/offline/**
222 dom/payments/**
223 dom/performance/**
224 dom/permission/**
225 dom/plugins/**
226 dom/power/**
227 dom/presentation/**
228 dom/promise/**
229 dom/push/**
230 dom/quota/**
231 dom/res/**
232 dom/secureelement/**
233 dom/security/**
234 dom/smil/**
235 dom/storage/**
236 dom/svg/**
237 dom/system/**
238 dom/tests/**
239 dom/time/**
240 dom/u2f/**
241 dom/url/**
242 dom/vr/**
243 dom/webauthn/**
244 dom/webbrowserpersist/**
245 dom/webidl/**
246 dom/workers/**
247 dom/worklet/**
248 dom/xbl/**
249 dom/xhr/**
250 dom/xml/**
251 dom/xslt/**
252 dom/xul/**
254 # Exclude everything but self-hosted JS
255 js/ductwork/**
256 js/examples/**
257 js/ipc/**
258 js/public/**
259 js/xpconnect/**
260 js/src/devtools/**
261 js/src/octane/**
262 js/src/jit-test/**
263 js/src/tests/**
264 js/src/Y.js
266 # mobile/android/ exclusions
267 mobile/android/tests/browser/chrome/tp5/**
269 # Uses `#filter substitution`
270 mobile/android/b2gdroid/app/b2gdroid.js
271 mobile/android/app/mobile.js
272 mobile/android/chrome/content/healthreport-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
283 mobile/android/components/Snippets.js
285 # Bug 1178739: Ignore this file as a quick fix for "Illegal yield expression"
286 mobile/android/modules/HomeProvider.jsm
288 # security/ exclusions (pref files).
289 security/manager/ssl/security-prefs.js
291 #NSS
292 security/nss/**
294 # services/ exclusions
296 # Uses `#filter substitution`
297 services/sync/modules/constants.js
298 services/sync/services-sync.js
300 # testing/ exclusions
301 testing/marionette/**
302 testing/mochitest/**
303 testing/modules/**
304 # octothorpe used for pref file comment causes parsing error
305 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
306 testing/talos/**
307 testing/web-platform/**
308 testing/xpcshell/moz-http2/**
309 testing/xpcshell/node-http2/**
311 # Third party services
312 services/common/kinto-http-client.js
313 services/common/kinto-offline-client.js
314 services/sync/tps/extensions/mozmill
316 # toolkit/ exclusions
318 # Not part of the default build
319 toolkit/components/help/**
321 # Intentionally invalid JS
322 toolkit/components/workerloader/tests/moduleF-syntax-error.js
324 # Tests old non-star function generators
325 toolkit/modules/tests/xpcshell/test_task.js
327 # Not yet updated
328 toolkit/components/osfile/**
330 # External code:
331 toolkit/components/microformats/test/**
332 toolkit/components/microformats/microformat-shiv.js
333 toolkit/components/reader/Readability.js
334 toolkit/components/reader/JSDOMParser.js
336 # Uses preprocessing
337 toolkit/content/widgets/wizard.xml
338 toolkit/components/jsdownloads/src/DownloadIntegration.jsm
339 toolkit/components/url-classifier/**
340 toolkit/components/urlformatter/nsURLFormatter.js
341 toolkit/modules/AppConstants.jsm
342 toolkit/mozapps/downloads/nsHelperAppDlg.js
343 toolkit/mozapps/extensions/internal/AddonConstants.jsm
344 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
345 toolkit/webapps/**
347 # Third party
348 toolkit/modules/third_party/**
349 third_party/**