Bug 1740372 [wpt PR 31567] - Move change-duration-during-transtion.html to WPT, a...
[gecko.git] / .eslintignore
blob8264c840a0b3ee59d6a53357bf96364fff799385
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
12 # Always ignore node_modules.
13 **/node_modules/
15 # Always ignore crashtests - specially crafted files that originally caused a
16 # crash.
17 **/crashtests/
18 # Also ignore reftest - specially crafted to produce expected output.
19 **/reftest/
20 **/reftests/
22 # Exclude expected objdirs.
23 obj*/
25 # build/ third-party code
26 build/pgo/js-input/
28 # browser/ exclusions
29 browser/app/
30 browser/branding/**/firefox-branding.js
31 # Gzipped test file.
32 browser/base/content/test/general/gZipOfflineChild.html
33 browser/base/content/test/urlbar/file_blank_but_not_blank.html
34 # Test files that are really json not js, and don't need to be linted.
35 browser/components/sessionstore/test/unit/data/sessionstore_valid.js
36 browser/components/sessionstore/test/unit/data/sessionstore_invalid.js
37 # This file is split into two in order to keep it as a valid json file
38 # for documentation purposes (policies.json) but to be accessed by the
39 # code as a .jsm (schema.jsm)
40 browser/components/enterprisepolicies/schemas/schema.jsm
41 # generated & special files in cld2
42 browser/components/translation/cld2/
43 # generated or library files in pocket
44 browser/components/pocket/content/panels/js/tmpl.js
45 browser/components/pocket/content/panels/js/main.bundle.js
47 # Ignore newtab files
48 browser/components/newtab/aboutwelcome/content/aboutwelcome.bundle.js
49 browser/components/newtab/data/
50 browser/components/newtab/logs/
52 # The only file in browser/locales/ is pre-processed.
53 browser/locales/
54 # Generated data files
55 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
57 # Ignore devtools debugger files which aren't intended for linting, and also
58 # aren't included in any .eslintignore or .prettierignore file.
59 # See https://github.com/firefox-devtools/debugger/blob/master/package.json#L24
60 devtools/client/debugger/configs/
61 devtools/client/debugger/dist/
62 devtools/client/debugger/images/
63 devtools/client/debugger/test/
64 devtools/client/debugger/index.html
66 # Ignore devtools preferences files
67 devtools/client/preferences/
69 # Ignore devtools generated code
70 devtools/shared/css/generated/properties-db.js
71 devtools/client/webconsole/test/node/fixtures/stubs/*.js
72 !devtools/client/webconsole/test/node/fixtures/stubs/index.js
74 # Ignore devtools files testing sourcemaps / code style
75 devtools/client/framework/test/code_*
76 devtools/client/inspector/markup/test/events_bundle.js
77 devtools/client/netmonitor/test/xhr_bundle.js
78 devtools/client/webconsole/test/browser/code_bundle_nosource.js
79 devtools/client/webconsole/test/browser/code_bundle_invalidmap.js
80 devtools/client/webconsole/test/browser/test-autocomplete-mapped.js
81 devtools/client/webconsole/test/browser/test-autocomplete-mapped.src.js
82 devtools/server/tests/xpcshell/setBreakpoint*
83 devtools/server/tests/xpcshell/sourcemapped.js
85 # Ignore generated code from wasm-bindgen
86 devtools/client/performance-new/profiler_get_symbols.js
88 # Testing syntax error
89 devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
91 # devtools specific format test file
92 devtools/server/tests/xpcshell/xpcshell_debugging_script.js
94 # Generated
95 dom/canvas/test/webgl-conf/generated/
97 # Intentionally invalid/not parsable
98 dom/html/test/test_bug677658.html
99 dom/svg/test/test_nonAnimStrings.xhtml
100 dom/svg/test/test_SVG_namespace_ids.html
102 # Strange encodings
103 dom/base/test/file_bug687859-16.js
104 dom/encoding/test/test_utf16_files.html
105 dom/encoding/test/file_utf16_be_bom.js
106 dom/encoding/test/file_utf16_le_bom.js
108 # Service workers fixtures which require specific resource caching.
109 dom/base/test/file_js_cache.js
110 dom/serviceworkers/test/file_js_cache.js
112 # Intentional broken files
113 dom/base/test/file_js_cache_syntax_error.js
114 dom/base/test/jsmodules/test_syntaxError.html
115 dom/base/test/jsmodules/test_syntaxErrorAsync.html
116 dom/base/test/jsmodules/module_badSyntax.js
117 dom/base/test/jsmodules/test_syntaxErrorInline.html
118 dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
119 dom/base/test/test_bug687859.html
120 dom/media/webrtc/tests/mochitests/identity/idp-bad.js
121 dom/serviceworkers/test/file_js_cache_syntax_error.js
122 dom/serviceworkers/test/parse_error_worker.js
123 dom/tests/mochitest/bugs/test_bug531176.html
124 dom/webauthn/tests/cbor.js
125 dom/workers/test/importScripts_worker_imported3.js
126 dom/workers/test/invalid.js
127 dom/workers/test/threadErrors_worker1.js
129 # Bug 1527075: This directory is linted in github repository
130 intl/l10n/
132 # Exclude everything but self-hosted JS
133 js/ductwork/
134 js/examples/
135 js/public/
136 js/xpconnect/
137 js/src/devtools/
138 js/src/jit-test/
139 js/src/tests/
140 js/src/Y.js
142 # Fuzzing code for testing only, targeting the JS shell
143 js/src/fuzz-tests/
145 # Uses `#filter substitution`
146 mobile/android/app/mobile.js
147 mobile/android/app/geckoview-prefs.js
149 # Not much JS to lint and non-standard at that
150 mobile/android/installer/
151 mobile/android/locales/
153 # Pre-processed/pref files
154 modules/libpref/greprefs.js
155 modules/libpref/init/all.js
156 modules/libpref/test/unit/*data/
158 # Only contains non-standard test files.
159 python/
161 # These are (mainly) imported code that we don't want to lint to make imports easier.
162 remote/cdp/Protocol.jsm
163 remote/cdp/test/browser/chrome-remote-interface.js
164 remote/marionette/atom.js
166 # This file explicitly has a syntax error and cannot be parsed by eslint.
167 remote/shared/messagehandler/test/browser/resources/modules/root/invalid.jsm
169 # services/ exclusions
171 # Third party services
172 services/common/kinto-http-client.js
173 services/common/kinto-offline-client.js
175 # Webpack-bundled library
176 services/fxaccounts/FxAccountsPairingChannel.js
178 # Servo is imported.
179 servo/
181 # Test files that we don't want to lint (preprocessed, minified etc)
182 testing/condprofile/condprof/tests/profile
183 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
184 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
185 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
186 testing/talos/talos/tests/devtools/addon/content/pages/
187 # Runing Talos may extract data here, see bug 1435677.
188 testing/talos/talos/tests/tp5n/
189 testing/talos/talos/fis/tp5n/
191 # Mainly third-party related code, that shouldn't be linted.
192 testing/web-platform/
194 # toolkit/ exclusions
196 # Intentionally invalid JS
197 toolkit/components/workerloader/tests/moduleF-syntax-error.js
199 # Built files
200 toolkit/components/pdfjs/content/build
201 toolkit/components/pdfjs/content/web
203 # External code:
204 toolkit/components/reader/Readability.js
205 toolkit/components/reader/Readability-readerable.js
206 toolkit/components/reader/JSDOMParser.js
208 # Uses preprocessing
209 toolkit/components/reader/Readerable.jsm
211 # Uses preprocessing
212 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
213 toolkit/modules/AppConstants.jsm
215 # Uses special template formatting.
216 tools/tryselect/selectors/chooser/templates/chooser.html
218 # Ignore preprocessed *(P)refs.js files in update-packaging.
219 tools/update-packaging/**/*refs.js
221 # Ignore backgroundtasks preferences files.
222 toolkit/components/backgroundtasks/defaults
224 # Ignore pre-generated webpack and typescript transpiled files for translations
225 browser/extensions/translations/extension/