Bug 1860524 [wpt PR 42484] - make miscellaneous linting and style fixes, a=testonly
[gecko.git] / .hgignore
blob6e20e29ee4a7313779ae8bd84519adb027329b4b
1 # .hgignore - List of filenames hg should ignore
3 # Filenames that should be ignored wherever they appear
4 ~$
5 \.py(c|o)$
6 (^|/)TAGS$
7 (^|/)tags$
8 (^|/)ID$
9 (^|/)\.DS_Store$
10 \.pdb
11 \.eslintcache
12 \.gcda
13 \.gcno
14 \.gcov
15 compile_commands\.json
17 # Generated by hg (e.g. revert, failed patch, ...)
18 \.orig$
19 \.rej$
21 # Ignore Python .egg-info directories for first-party modules (but,
22 # still add vendored packages' .egg-info directories)
23 ^(?=.*\.egg-info/)(?!^third_party/python/)(?!^testing/web-platform/tests/tools/third_party/)
25 # Vim swap files.
26 ^\.sw.$
27 .[^/]*\.sw.$
29 # Emacs directory variable files.
30 \.dir-locals\.el
31 # Emacs project sentinel files.
32 \.projectile
34 # User files that may appear at the root
35 ^\.clang-tidy
36 ^\.clangd
37 ^\.mozconfig
38 ^mozconfig*
39 ^\.moz-fast-forward
40 ^old-configure$
41 ^config\.cache$
42 ^config\.log$
43 ^\.clang_complete
44 ^\.?machrc$
45 # pyenv artifact
46 ^\.python-version$
48 # Empty marker file that's generated when we check out NSS
49 ^security/manager/\.nss\.checkout$
51 # Build directories
52 ^obj
54 # gecko.log is generated by various test harnesses
55 ^gecko\.log
57 # Ignore newtab component build assets
58 ^browser/components/newtab/logs/
60 # Ignore ASRouter generated test files
61 ^browser/components/newtab/content-src/asrouter/schemas/corpus/CFRMessageProvider.messages.json
62 ^browser/components/newtab/content-src/asrouter/schemas/corpus/OnboardingMessageProvider.messages.json
63 ^browser/components/newtab/content-src/asrouter/schemas/corpus/PanelTestProvider.messages.json
64 ^browser/components/newtab/content-src/asrouter/schemas/corpus/PanelTestProvider_toast_notification.messages.json
66 # Ignore Pocket component build and dev assets
67 browser/components/pocket/content/panels/css/main.compiled.css.map
69 # Build directories for js shell
70 _DBG\.OBJ/
71 _OPT\.OBJ/
72 ^js/src/.*-obj/
73 ^js/src/obj-.*/
75 # SpiderMonkey configury
76 ^js/src/old-configure$
77 ^js/src/autom4te.cache$
78 # SpiderMonkey test result logs
79 ^js/src/tests/results-.*\.(html|txt)$
80 ^js/src/devtools/rootAnalysis/t/out
81 # SpiderMonkey wasm/generate-spectests artifacts
82 ^js/src/jit-test/etc/wasm/generate-spectests/specs/
83 ^js/src/jit-test/etc/wasm/generate-spectests/tests/
84 ^js/src/jit-test/etc/wasm/generate-spectests/target/
86 # Java HTML5 parser classes
87 ^parser/html/java/(html|java)parser/
89 # SVN directories
90 \.svn/
92 # Ignore the files and directory that Eclipse IDE creates
93 \.project$
94 \.cproject$
95 \.settings/
97 # Ignore the files and directory that JetBrains IDEs create.
98 \.idea/
99 \.iml$
100 # Android Monitor in Android Studio creates a captures/ directory.
101 ^captures/
103 # Gradle cache.
104 ^.gradle/
106 # Local Gradle configuration properties.
107 ^local.properties$
109 # Git repositories
110 .git/
112 # Ignore chrome.manifest files from the devtools loader
113 ^devtools/client/chrome.manifest$
114 ^devtools/shared/chrome.manifest$
116 # Ignore node_modules directories in devtools
117 ^devtools/.*/node_modules/
119 # Ignore node_module directories and npm artifacts
120 ^remote/test/puppeteer/.*\.tsbuildinfo
121 ^remote/test/puppeteer/.*/lib/
122 ^remote/test/puppeteer/.*/node_modules/
123 ^remote/test/puppeteer/.*/\.wireit/
124 ^remote/test/puppeteer/\.devcontainer/
125 ^remote/test/puppeteer/\.github
126 ^remote/test/puppeteer/\.husky
127 ^remote/test/puppeteer/\.wireit/
128 ^remote/test/puppeteer/coverage/
129 ^remote/test/puppeteer/docker/
130 ^remote/test/puppeteer/docs/puppeteer-core\.api\.json
131 ^remote/test/puppeteer/docs/puppeteer\.api\.json
132 ^remote/test/puppeteer/experimental/
133 ^remote/test/puppeteer/lib/
134 ^remote/test/puppeteer/node_modules/
135 ^remote/test/puppeteer/package-lock\.json
136 ^remote/test/puppeteer/packages/ng-schematics/test/build
137 ^remote/test/puppeteer/packages/puppeteer/.*/README.md
138 ^remote/test/puppeteer/packages/puppeteer-core/src/generated
139 ^remote/test/puppeteer/packages/puppeteer-core/.*/README.md
140 ^remote/test/puppeteer/src/generated
141 ^remote/test/puppeteer/test/build
142 ^remote/test/puppeteer/test/installation/puppeteer.*\.tgz
143 ^remote/test/puppeteer/test/output-firefox
144 ^remote/test/puppeteer/test/output-chromium
145 ^remote/test/puppeteer/testserver/lib/
146 ^remote/test/puppeteer/utils/mochaRunner/lib/
147 ^remote/test/puppeteer/website
149 ^third_party/js/PKI.js/node_modules/
150 ^third_party/js/PKI.js/package-lock.json
152 # git checkout of libstagefright
153 ^media/libstagefright/android$
155 # Tag files generated by GNU Global
156 (^|/)GTAGS$
157 (^|/)GRTAGS$
158 (^|/)GSYMS$
159 (^|/)GPATH$
161 # Git clone directory for updating web-platform-tests
162 ^testing/web-platform/sync/
164 # Third party metadata for web-platform-tests
165 ^testing/web-platform/products/
167 # Android Gradle artifacts.
168 ^mobile/android/gradle/.gradle
170 # XCode project cruft
171 ^[^/]*\.xcodeproj/
173 # Rust/Cargo output from running `cargo` directly
174 ^target/
175 ^servo/ports/geckolib/target/
176 ^dom/base/rust/target/
177 ^servo/components/style/target/
178 ^dom/webgpu/tests/cts/vendor/target/
180 # Ignore mozharness execution files
181 ^testing/mozharness/.tox/
182 ^testing/mozharness/build/
183 ^testing/mozharness/logs/
184 ^testing/mozharness/.coverage
185 ^testing/mozharness/nosetests.xml
187 # Ignore tox generated dir
188 .tox/
190 # Ignore ESLint and other tool's node_modules.
191 ^node_modules/
192 ^tools/browsertime/node_modules/
193 ^tools/lint/eslint/eslint-plugin-mozilla/node_modules/
194 ^browser/components/newtab/node_modules/
195 ^tools/esmify/node_modules/
197 # Ignore talos virtualenv and tp5n files.
198 # The tp5n set is supposed to be decompressed at
199 # testing/talos/talos/fis|tests/tp5n in order to run tests like tps
200 # locally. Similarly, running talos requires a Python package virtual
201 # environment. Both the virtual environment and tp5n files end up littering
202 # the status command, so we ignore them.
203 ^testing/talos/.Python
204 ^testing/talos/bin/
205 ^testing/talos/include/
206 ^testing/talos/lib/
207 ^testing/talos/talos/fis/tp5n.zip
208 ^testing/talos/talos/fis/tp5n.tar.gz
209 ^testing/talos/talos/fis/tp5n
210 ^testing/talos/talos/tests/tp5n.zip
211 ^testing/talos/talos/tests/tp5n.tar.gz
212 ^testing/talos/talos/tests/tp5n
213 ^testing/talos/talos/tests/devtools/damp.manifest.develop
214 ^testing/talos/talos/startup_test/startup_about_home_paint/startup_about_home_paint.manifest.develop
215 ^testing/talos/talos/webextensions/
216 ^talos-venv
217 ^py3venv
218 ^testing/talos/talos/mitmproxy/mitmdump
219 ^testing/talos/talos/mitmproxy/mitmproxy
220 ^testing/talos/talos/mitmproxy/mitmweb
222 # Ignore talos webkit benchmark files; source is copied from in-tree /third_party
223 # into testing/talos/talos/tests/webkit/PerformanceTests/ when run locally
224 # i.e. speedometer, motionmark, stylebench
225 ^testing/talos/talos/tests/webkit/PerformanceTests
227 # Ignore toolchains.json created by tooltool.
228 ^toolchains\.json
230 # Unit test
231 \.pytest_cache/
233 # Ruff
234 \.ruff_cache/
236 # Ignore files created when running a reftest.
237 ^lextab.py$
239 # Ignore sync tps logs and reports
240 tps\.log
241 tps_result\.json
243 # Ignore Visual Studio/Visual Studio Code workspace files.
244 \.vs/
245 \.vscode/(?!extensions\.json|tasks\.json)
246 \.user$
248 # https://bz.mercurial-scm.org/show_bug.cgi?id=5322
249 ^comm/
251 # Ignore various raptor performance framework files
252 ^testing/raptor/.raptor-venv
253 ^testing/raptor/raptor-venv
254 ^testing/raptor/raptor/tests/json/
255 ^testing/raptor/webext/raptor/auto_gen_test_config.js
257 # Ignore condprofile build directory
258 ^testing/condprofile/build
260 # Ignore browsertime output directory
261 ^browsertime-results
263 # Ignore the build directories of WebGPU and WebRender standalone builds.
264 gfx/wgpu/target
265 gfx/wgpu/.*/build
266 gfx/wr/target/
268 # Ignore Rust/Cargo output from running `cargo` directly for image_builder docker image
269 ^taskcluster/docker/image_builder/build-image/target
271 # Ignore ICU4X experimentation data files.
272 # See intl/ICU4X.md for more details.
273 ^config/external/icu4x
275 # Ignore the index files generated by clangd.
276 ^.cache/clangd/index/
278 # Ignore mypy files
279 \.mypy_cache/
281 # Ignore Storybook generated files
282 ^browser/components/storybook/node_modules/
283 ^browser/components/storybook/storybook-static/
284 ^browser/components/storybook/.storybook/chrome-map.js
285 ^browser/components/storybook/custom-elements.json
287 # Ignore jscodeshift installed by mach esmify on windows
288 ^tools/esmify/jscodeshift
289 ^tools/esmify/jscodeshift.cmd
290 ^tools/esmify/jscodeshift.ps1
291 ^tools/esmify/package-lock.json
293 # Ignore support files for en-US dictionary updates
294 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/scowl
295 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/support_files/
296 ^extensions/spellcheck/locales/en-US/hunspell/dictionary-sources/*en_US-mozilla*
298 # Ignore automatically generated mots documentation
299 ^docs/mots/index.rst