Bug 1799258 - Support outByIn.size()<2 in SampleOutByIn. r=bradwerth
[gecko.git] / .eslintignore
blobedaf07d30d7ccfc90b4bec2c345aba6d77ac36d2
1 # Please DO NOT add more third party files to this file.
2 # They should be added to tools/rewriting/ThirdPartyPaths.txt instead.
4 # This file should only be used for exclusions where we have:
5 # - preprocessed files
6 # - generated files that are for some reason checked into source
7 # - intentionally invalid files
8 # - build directories and other items that we need to ignore
10 !.eslintrc*.js
11 !.prettierrc.js
13 # Always ignore node_modules.
14 **/node_modules/
16 # Always ignore crashtests - specially crafted files that originally caused a
17 # crash.
18 **/crashtests/
19 # Also ignore reftest - specially crafted to produce expected output.
20 **/reftest/
21 **/reftests/
23 # Exclude expected objdirs.
24 obj*/
26 # build/ third-party code
27 build/pgo/js-input/
29 # browser/ exclusions
30 browser/app/
31 browser/branding/**/firefox-branding.js
32 # Gzipped test file.
33 browser/base/content/test/general/gZipOfflineChild.html
34 browser/base/content/test/urlbar/file_blank_but_not_blank.html
35 # Test files that are really json not js, and don't need to be linted.
36 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
37 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
38 # This file is split into two in order to keep it as a valid json file
39 # for documentation purposes (policies.json) but to be accessed by the
40 # code as a .jsm (schema.jsm)
41 browser/components/enterprisepolicies/schemas/schema.jsm
42 # generated or library files in pocket
43 browser/components/pocket/content/panels/js/tmpl.js
44 browser/components/pocket/content/panels/js/vendor.bundle.js
45 browser/components/pocket/content/panels/js/main.bundle.js
46 # Include the Storybook config files.
47 !browser/components/storybook/.storybook/
48 !browser/components/storybook/.storybook/*.js
50 # Ignore newtab files
51 browser/components/newtab/aboutwelcome/content/aboutwelcome.bundle.js
52 browser/components/newtab/data/
53 browser/components/newtab/logs/
55 # The only file in browser/locales/ is pre-processed.
56 browser/locales/
57 # Generated data files
58 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
60 # Ignore devtools debugger files which aren't intended for linting, and also
61 # aren't included in any .eslintignore or .prettierignore file.
62 # See https://github.com/firefox-devtools/debugger/blob/master/package.json#L24
63 devtools/client/debugger/bin/
64 devtools/client/debugger/configs/
65 devtools/client/debugger/dist/
66 devtools/client/debugger/images/
67 devtools/client/debugger/packages/
68 devtools/client/debugger/test/mochitest/examples/
69 devtools/client/debugger/index.html
70 devtools/client/debugger/webpack.config.js
72 # Ignore devtools preferences files
73 devtools/client/preferences/
75 # Ignore devtools generated code
76 devtools/shared/css/generated/properties-db.js
77 devtools/client/webconsole/test/node/fixtures/stubs/*.js
78 !devtools/client/webconsole/test/node/fixtures/stubs/index.js
79 devtools/client/shared/components/test/node/stubs/reps/*.js
80 devtools/client/shared/source-map-loader/test/browser/fixtures/*.js
82 # Ignore devtools files testing sourcemaps / code style
83 devtools/client/framework/test/code_*
84 devtools/client/inspector/markup/test/events_bundle.js
85 devtools/client/netmonitor/test/xhr_bundle.js
86 devtools/client/webconsole/test/browser/code_bundle_nosource.js
87 devtools/client/webconsole/test/browser/code_bundle_invalidmap.js
88 devtools/client/webconsole/test/browser/test-autocomplete-mapped.js
89 devtools/client/webconsole/test/browser/test-autocomplete-mapped.src.js
90 devtools/server/tests/xpcshell/setBreakpoint*
91 devtools/server/tests/xpcshell/sourcemapped.js
93 # Ignore generated code from wasm-bindgen
94 devtools/client/performance-new/profiler_get_symbols.js
96 # Testing syntax error
97 devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
99 # devtools specific format test file
100 devtools/server/tests/xpcshell/xpcshell_debugging_script.js
102 # Generated
103 dom/canvas/test/webgl-conf/generated/
105 # Intentionally invalid/not parsable
106 dom/html/test/test_bug677658.html
107 dom/svg/test/test_nonAnimStrings.xhtml
108 dom/svg/test/test_SVG_namespace_ids.html
110 # Strange encodings
111 dom/base/test/file_bug687859-16.js
112 dom/encoding/test/test_utf16_files.html
113 dom/encoding/test/file_utf16_be_bom.js
114 dom/encoding/test/file_utf16_le_bom.js
116 # Service workers fixtures which require specific resource caching.
117 dom/base/test/file_js_cache.js
118 dom/serviceworkers/test/file_js_cache.js
120 # Intentional broken files
121 dom/base/test/file_js_cache_syntax_error.js
122 dom/base/test/jsmodules/test_syntaxError.html
123 dom/base/test/jsmodules/test_syntaxErrorAsync.html
124 dom/base/test/jsmodules/module_badSyntax.js
125 dom/base/test/jsmodules/test_syntaxErrorInline.html
126 dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
127 dom/base/test/test_bug687859.html
128 dom/media/webrtc/tests/mochitests/identity/idp-bad.js
129 dom/serviceworkers/test/file_js_cache_syntax_error.js
130 dom/serviceworkers/test/parse_error_worker.js
131 dom/tests/mochitest/bugs/test_bug531176.html
132 dom/webauthn/tests/cbor.js
133 dom/workers/test/importScripts_worker_imported3.js
134 dom/workers/test/invalid.js
135 dom/workers/test/threadErrors_worker1.js
137 # Bug 1527075: This directory is linted in github repository
138 intl/l10n/
140 # Exclude everything but self-hosted JS
141 js/examples/
142 js/public/
143 js/src/devtools/
144 js/src/jit-test/
145 js/src/tests/
146 js/src/Y.js
148 # Changes to XPConnect tests must be carefully audited.
149 js/xpconnect/tests/mochitest/
150 js/xpconnect/tests/unit/
152 # Fuzzing code for testing only, targeting the JS shell
153 js/src/fuzz-tests/
155 # Uses `#filter substitution`
156 mobile/android/app/mobile.js
157 mobile/android/app/geckoview-prefs.js
159 # Not much JS to lint and non-standard at that
160 mobile/android/installer/
161 mobile/android/locales/
163 # Pre-processed/pref files
164 modules/libpref/greprefs.js
165 modules/libpref/init/all.js
166 modules/libpref/test/unit/*data/
168 # Only contains non-standard test files.
169 python/
171 # These are (mainly) imported code that we don't want to lint to make imports easier.
172 remote/cdp/Protocol.sys.mjs
173 remote/cdp/test/browser/chrome-remote-interface.js
174 remote/marionette/atom.sys.mjs
176 # This file explicitly has a syntax error and cannot be parsed by eslint.
177 remote/shared/messagehandler/test/browser/resources/modules/root/invalid.sys.mjs
179 # services/ exclusions
181 # Third party services
182 services/common/kinto-http-client.js
183 services/common/kinto-offline-client.js
185 # Webpack-bundled library
186 services/fxaccounts/FxAccountsPairingChannel.js
188 # Servo is imported.
189 servo/
191 # Test files that we don't want to lint (preprocessed, minified etc)
192 testing/condprofile/condprof/tests/profile
193 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
194 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
195 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
196 testing/talos/talos/tests/devtools/addon/content/pages/
197 # Runing Talos may extract data here, see bug 1435677.
198 testing/talos/talos/tests/tp5n/
199 testing/talos/talos/fis/tp5n/
201 # Mainly third-party related code, that shouldn't be linted.
202 testing/web-platform/
204 # toolkit/ exclusions
206 # Intentionally invalid JS
207 toolkit/components/workerloader/tests/moduleF-syntax-error.js
209 # Built files
210 toolkit/components/pdfjs/content/build
211 toolkit/components/pdfjs/content/web
213 # External code:
214 toolkit/components/reader/Readability.js
215 toolkit/components/reader/Readability-readerable.js
216 toolkit/components/reader/JSDOMParser.js
218 # Uses preprocessing
219 toolkit/components/reader/Readerable.jsm
221 # Generated & special files in cld2
222 toolkit/components/translation/cld2/
224 # Uses preprocessing
225 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
226 toolkit/modules/AppConstants.sys.mjs
228 # Tests of ESLint command.
229 tools/lint/test/files
231 # Uses special template formatting.
232 tools/tryselect/selectors/chooser/templates/chooser.html
234 # Ignore preprocessed *(P)refs.js files in update-packaging.
235 tools/update-packaging/**/*refs.js
237 # Ignore backgroundtasks preferences files.
238 toolkit/components/backgroundtasks/defaults
240 # Ignore pre-generated webpack and typescript transpiled files for translations
241 browser/extensions/translations/extension/
243 # "scaffolding" used by uniffi which isn't valid JS in its original form.
244 toolkit/components/uniffi-bindgen-gecko-js/src/templates/js/
245 toolkit/components/uniffi-bindgen-gecko-js/components/generated/*