Bug 1698786: part 1) Add some logging to `mozInlineSpellChecker`. r=masayuki
[gecko.git] / .eslintignore
blob84a0d60e1a323fda59396d48298c25cd448580aa
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 # Screenshots is imported as a system add-on and has
44 # their own lint rules currently.
45 browser/extensions/screenshots/
46 # generated or library files in pocket
47 browser/components/pocket/content/panels/js/tmpl.js
49 # Ignore newtab files
50 browser/components/newtab/aboutwelcome/content/aboutwelcome.bundle.js
51 browser/components/newtab/data/
52 browser/components/newtab/logs/
54 # The only file in browser/locales/ is pre-processed.
55 browser/locales/
56 # Generated data files
57 browser/extensions/formautofill/phonenumberutils/PhoneNumberMetaData.jsm
59 # Ignore devtools debugger files which aren't intended for linting, and also
60 # aren't included in any .eslintignore or .prettierignore file.
61 # See https://github.com/firefox-devtools/debugger/blob/master/package.json#L24
62 devtools/client/debugger/configs/
63 devtools/client/debugger/dist/
64 devtools/client/debugger/images/
65 devtools/client/debugger/test/
66 devtools/client/debugger/index.html
68 # Ignore devtools preferences files
69 devtools/client/preferences/
71 # Ignore devtools generated code
72 devtools/shared/css/generated/properties-db.js
73 devtools/client/webconsole/test/node/fixtures/stubs/*.js
74 !devtools/client/webconsole/test/node/fixtures/stubs/index.js
76 # Ignore devtools files testing sourcemaps / code style
77 devtools/client/framework/test/code_*
78 devtools/client/inspector/markup/test/events_bundle.js
79 devtools/client/netmonitor/test/xhr_bundle.js
80 devtools/client/webconsole/test/browser/code_bundle_nosource.js
81 devtools/client/webconsole/test/browser/code_bundle_invalidmap.js
82 devtools/server/tests/xpcshell/setBreakpoint*
83 devtools/server/tests/xpcshell/sourcemapped.js
85 # Testing syntax error
86 devtools/client/webconsole/test/browser/test-syntaxerror-worklet.js
88 # devtools specific format test file
89 devtools/server/tests/xpcshell/xpcshell_debugging_script.js
91 # Generated
92 dom/canvas/test/webgl-conf/generated/
94 # Intentionally invalid/not parsable
95 dom/html/test/test_bug677658.html
96 dom/svg/test/test_nonAnimStrings.xhtml
97 dom/svg/test/test_SVG_namespace_ids.html
99 # Strange encodings
100 dom/base/test/file_bug687859-16.js
101 dom/encoding/test/test_utf16_files.html
102 dom/encoding/test/file_utf16_be_bom.js
103 dom/encoding/test/file_utf16_le_bom.js
105 # Service workers fixtures which require specific resource caching.
106 dom/base/test/file_js_cache.js
107 dom/serviceworkers/test/file_js_cache.js
109 # Intentional broken files
110 dom/base/test/file_js_cache_syntax_error.js
111 dom/base/test/jsmodules/test_syntaxError.html
112 dom/base/test/jsmodules/test_syntaxErrorAsync.html
113 dom/base/test/jsmodules/module_badSyntax.js
114 dom/base/test/jsmodules/test_syntaxErrorInline.html
115 dom/base/test/jsmodules/test_syntaxErrorInlineAsync.html
116 dom/base/test/test_bug687859.html
117 dom/media/webrtc/tests/mochitests/identity/idp-bad.js
118 dom/serviceworkers/test/file_js_cache_syntax_error.js
119 dom/serviceworkers/test/parse_error_worker.js
120 dom/tests/mochitest/bugs/test_bug531176.html
121 dom/webauthn/tests/cbor.js
122 dom/workers/test/importScripts_worker_imported3.js
123 dom/workers/test/invalid.js
124 dom/workers/test/threadErrors_worker1.js
126 # Bug 1527075: This directory is linted in github repository
127 intl/l10n/
129 # Exclude everything but self-hosted JS
130 js/ductwork/
131 js/examples/
132 js/public/
133 js/xpconnect/
134 js/src/devtools/
135 js/src/jit-test/
136 js/src/jsapi-tests/binast/
137 js/src/tests/
138 js/src/Y.js
140 # Fuzzing code for testing only, targeting the JS shell
141 js/src/fuzz-tests/
143 # Uses `#filter substitution`
144 mobile/android/app/mobile.js
145 mobile/android/app/geckoview-prefs.js
147 # Not much JS to lint and non-standard at that
148 mobile/android/installer/
149 mobile/android/locales/
151 # Pre-processed/pref files
152 modules/libpref/greprefs.js
153 modules/libpref/init/all.js
154 modules/libpref/test/unit/*data/
156 # Only contains non-standard test files.
157 python/
159 # These are (mainly) imported code that we don't want to lint to make imports easier.
160 remote/cdp/Protocol.jsm
161 remote/cdp/test/browser/chrome-remote-interface.js
163 # services/ exclusions
165 # Third party services
166 services/common/kinto-http-client.js
167 services/common/kinto-offline-client.js
169 # Webpack-bundled library
170 services/fxaccounts/FxAccountsPairingChannel.js
172 # Servo is imported.
173 servo/
175 # Test files that we don't want to lint (preprocessed, minified etc)
176 testing/condprofile/condprof/tests/profile
177 testing/marionette/atom.js
178 testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
179 testing/talos/talos/scripts/jszip.min.js
180 testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
181 testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
182 testing/talos/talos/tests/devtools/addon/content/pages/
183 # Runing Talos may extract data here, see bug 1435677.
184 testing/talos/talos/tests/tp5n/
185 testing/talos/talos/fis/tp5n/
187 # Mainly third-party related code, that shouldn't be linted.
188 testing/web-platform/
190 # toolkit/ exclusions
192 # Ignore generated code from wasm-bindgen
193 toolkit/components/extensions/profiler_get_symbols.js
195 # Intentionally invalid JS
196 toolkit/components/workerloader/tests/moduleF-syntax-error.js
198 # Built files
199 toolkit/components/pdfjs/content/build
200 toolkit/components/pdfjs/content/web
202 # External code:
203 toolkit/components/reader/Readability.js
204 toolkit/components/reader/Readability-readerable.js
205 toolkit/components/reader/JSDOMParser.js
207 # Uses preprocessing
208 toolkit/components/reader/Readerable.jsm
210 # Uses preprocessing
211 toolkit/mozapps/update/tests/data/xpcshellConstantsPP.js
212 toolkit/modules/AppConstants.jsm
214 # Tests old non-star function generators
215 toolkit/modules/tests/xpcshell/test_task.js
217 # Uses special template formatting.
218 tools/tryselect/selectors/chooser/templates/chooser.html
220 # Ignore preprocessed *(P)refs.js files in update-packaging.
221 tools/update-packaging/**/*refs.js
223 # Ignore backgroundtasks preferences files.
224 toolkit/components/backgroundtasks/defaults