Repository navigation
ci(pre-commit): update pre-commit hooks - #2
Open
pre-commit-ci[bot] wants to merge 1 commit into
Open
pre-commit-ci[bot] wants to merge 1 commit into
pre-commit-ci[bot] wants to merge 1 commit into
Conversation
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
June 24, 2024 19:15
551dfa8 to
4116506
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
2 times, most recently
from
July 8, 2024 19:02
ed22363 to
2ed846f
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
2 times, most recently
from
July 22, 2024 19:23
43b9c70 to
e049144
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
July 29, 2024 19:23
e049144 to
ada51d8
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
2 times, most recently
from
August 12, 2024 19:19
6f6f00c to
8082689
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
August 19, 2024 19:24
8082689 to
9881028
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
August 26, 2024 19:30
c6e0a2e to
7b50e41
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 2, 2024 19:21
8e7593a to
c42185f
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 23, 2024 19:26
5538294 to
e16d536
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 30, 2024 19:34
e16d536 to
fc9e846
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
October 7, 2024 20:19
fc9e846 to
11e5226
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
August 25, 2025 17:52
11e5226 to
ca24116
Compare
Contributor
✅MegaLinter analysis: Success
See detailed reports in MegaLinter artifacts |
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 1, 2025 17:53
ca24116 to
ad1fd95
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 8, 2025 17:56
ad1fd95 to
17ba780
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2 +/- ##
=======================================
Coverage 60.60% 60.60%
=======================================
Files 20 20
Lines 396 396
Branches 24 24
=======================================
Hits 240 240
Misses 156 156 ☔ View full report in Codecov by Harness. |
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 15, 2025 17:57
17ba780 to
adab6db
Compare
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
September 22, 2025 18:04
adab6db to
36c8ce4
Compare
liblaf
previously approved these changes
Dec 15, 2025
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
December 22, 2025 17:55
6e449b3 to
6744583
Compare
liblaf
previously approved these changes
Dec 22, 2025
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
January 12, 2026 18:00
6744583 to
9c0e607
Compare
liblaf
previously approved these changes
Jan 12, 2026
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
January 19, 2026 18:12
9c0e607 to
2fb920e
Compare
liblaf
previously approved these changes
Jan 19, 2026
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
January 26, 2026 18:03
2fb920e to
00ce25a
Compare
liblaf
previously approved these changes
Jan 26, 2026
pre-commit-ci
Bot
force-pushed
the
pre-commit-ci-update-config
branch
from
February 9, 2026 18:47
00ce25a to
2cc4215
Compare
liblaf
previously approved these changes
Feb 9, 2026
liblaf
previously approved these changes
Feb 16, 2026
liblaf
previously approved these changes
Feb 23, 2026
liblaf
previously approved these changes
Mar 2, 2026
liblaf
previously approved these changes
Mar 9, 2026
liblaf
previously approved these changes
Mar 16, 2026
liblaf
previously approved these changes
Mar 23, 2026
Contributor
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Max errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 1 | 0 | 0 | 0.07s | ||
| zizmor | 1 | 0 | 1 | 0 | 0.99s | ||
| jscpd | yes | 3 | no | 0.81s | |||
| golangci-lint | yes | yes | 1 | no | 0.8s | ||
| ✅ JSON | jsonlint | 1 | 0 | 0 | 0.12s | ||
| ✅ JSON | prettier | 1 | 0 | 0 | 0 | 0.48s | |
| ✅ JSON | v8r | 1 | 0 | 0 | 1.91s | ||
| ✅ MARKDOWN | rumdl | 1 | 0 | 0 | 0 | 0.04s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | ||
| cspell | 23 | 155 | 0 | 6.66s | |||
| ✅ YAML | prettier | 1 | 0 | 0 | 0 | 0.45s | |
| ✅ YAML | v8r | 1 | 0 | 0 | 2.65s | ||
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.9s |
Detailed Issues
⚠️ SPELL / cspell - 155 errors
known word (Mihomo) -- // result after Mihomo has remained running
Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output_test.go:16:3 - Unknown word (Mihomo) -- MihomoVersion: "v-test",
Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output.go:15:14 - Unknown word (liblaf) -- "github.com/liblaf/route-rules/internal
Suggestions: [lila, libau, libia, libra, libya]
internal/output/output.go:16:14 - Unknown word (liblaf) -- "github.com/liblaf/route-rules/internal
Suggestions: [lila, libau, libia, libra, libya]
internal/output/output.go:17:14 - Unknown word (liblaf) -- "github.com/liblaf/route-rules/internal
Suggestions: [lila, libau, libia, libra, libya]
internal/output/output.go:17:42 - Unknown word (mihomo) -- route-rules/internal/mihomo"
Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:36:2 - Unknown word (Mihomo) -- MihomoVersion string
Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output.go:36:39 - Unknown word (mihomo) -- string `json:"mihomo_version"`
Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:41:100 - Unknown word (mihomo) -- build.Result, converter mihomo.Converter, generatedAt
Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:83:3 - Unknown word (Mihomo) -- MihomoVersion: version,
Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/output/output.go:109:33 - Unknown word (ipcidr) -- := ruleset.Name + ".ipcidr.list"
Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:118:114 - Unknown word (ipcidr) -- textName, ruleset.Name, "ipcidr", "text", len(lines
Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:120:32 - Unknown word (ipcidr) -- := ruleset.Name + ".ipcidr.mrs"
Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:122:31 - Unknown word (IPCIDR) -- := converter.ConvertIPCIDR(ctx, textPath, mrsPath
Suggestions: [ICIER, IPADDR, CIDR, PICARD, PICKER]
internal/output/output.go:125:113 - Unknown word (ipcidr) -- mrsName, ruleset.Name, "ipcidr", "mrs", len(lines)
Suggestions: [icier, ipaddr, cidr, picard, picker]
internal/output/output.go:154:50 - Unknown word (nojekyll) -- filepath.Join(staging, ".nojekyll"), nil, 0o644); err
Suggestions: [novell]
internal/output/output.go:155:41 - Unknown word (nojekyll) -- fmt.Errorf("write .nojekyll: %w", err)
Suggestions: [novell]
internal/output/output.go:176:68 - Unknown word (mihomo) -- com/" + repository + "/mihomo/" + name,
Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:177:62 - Unknown word (mihomo) -- gh/" + repository + "@mihomo/" + name,
Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/output/output.go:243:2 - Unknown word (tmpl) -- tmpl := template.Must(template
Suggestions: [tmp, tpl, impl, mmpl, TPL]
internal/output/output.go:257:53 - Unknown word (IPCIDR) -- before.Classical + before.IPCIDR - after.Domain - after
Suggestions: [ICIER, IPADDR, CIDR, PICARD, PICKER]
internal/output/output.go:257:101 - Unknown word (IPCIDR) -- after.Classical - after.IPCIDR
Suggestions: [ICIER, IPADDR, CIDR, PICARD, PICKER]
internal/output/output.go:264:12 - Unknown word (tmpl) -- if err := tmpl.ExecuteTemplate(file
Suggestions: [tmp, tpl, impl, mmpl, TPL]
internal/output/output.go:295:24 - Unknown word (Mihomo) -- fmt.Fprintf(&text, "# Mihomo rule sets\n\nGenerated
Suggestions: [matomo, Matomo, Imho, moho, Moho]
internal/rules/domain_test.go:37:29 - Unknown word (qhimgs) -- IsWholeLabelWildcard("*.qhimgs?.com") {
Suggestions: [hims, hings, shims, whigs, Whigs]
internal/rules/domain.go:144:61 - Unknown word (Mihomo's) -- cannot be represented by Mihomo's domain
Suggestions: [moho's, Moho's, Mom's, Moo's, Milo's]
internal/source/clash_test.go:14:19 - Unknown word (qhimgs) -- DOMAIN-WILDCARD,*.qhimgs?.com
Suggestions: [hims, hings, shims, whigs, Whigs]
internal/source/clash.go:8:14 - Unknown word (liblaf) -- "github.com/liblaf/route-rules/internal
Suggestions: [lila, libau, libia, libra, libya]
internal/source/clash.go:15:3 - Unknown word (GEOIP) -- "GEOIP": {},
Suggestions: [GENIP, GEOID, GEOD, GEOG, GEOL]
internal/source/clash.go:16:3 - Unknown word (GEOSITE) -- "GEOSITE": {},
Suggestions: [GESTE, WEBSITE, EGOIST, EGOISTS, GEIST]
internal/source/fetch.go:71:36 - Unknown word (liblaf) -- Header.Set("User-Agent", "liblaf/route-rules")
Suggestions: [lila, libau, libia, libra, libya]
internal/source/load.go:13:14 - Unknown word (liblaf) -- "github.com/liblaf/route-rules/internal
Suggestions: [lila, libau, libia, libra, libya]
internal/source/load.go:14:14 - Unknown word (liblaf) -- "github.com/liblaf/route-rules/internal
Suggestions: [lila, libau, libia, libra, libya]
internal/source/load.go:42:8 - Unknown word (dnsmasq) -- case "dnsmasq":
Suggestions: [dismast, dumas, damask, dermas, desman]
internal/source/load.go:43:31 - Unknown word (Masq) -- err = loader.loadDNSMasq(ctx, source.URL)
Suggestions: [Masc, Mash, Mask, mass, Mass]
internal/source/load.go:74:30 - Unknown word (Masq) -- loader *Loader) loadDNSMasq(ctx context.Context
Suggestions: [Masc, Mash, Mask, mass, Mass]
internal/source/load.go:86:54 - Unknown word (dnsmasq) -- line %d: unsupported dnsmasq directive %q", number
Suggestions: [dismast, dumas, damask, dermas, desman]
internal/source/load.go:91:52 - Unknown word (dnsmasq) -- "line %d: malformed dnsmasq server directive", number
Suggestions: [dismast, dumas, damask, dermas, desman]
README.md:3:30 - Unknown word (Mihomo) -- rules` builds compact Mihomo rule providers from
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:3:152 - Unknown word (mihomo) -- published daily to the [`mihomo` branch](https://github
Suggestions: [matomo, Matomo, imho, moho, Moho]
README.md:7:1 - Unknown word (Mihomo) -- Mihomo must evaluate these
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:9:58 - Unknown word (tailnet) -- reaches the Tailscale tailnet
Suggestions: [talent, taine, taint, tablet, tailed]
README.md:25:281 - Unknown word (Mihomo) -- cannot be represented by Mihomo and are resolved by
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:29:35 - Unknown word (mihomo) -- empty behavior, the `mihomo` branch contains:
Suggestions: [matomo, Matomo, imho, moho, Moho]
README.md:32:11 - Unknown word (ipcidr) -- - `<name>.ipcidr.mrs` and its auditable
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:32:49 - Unknown word (ipcidr) -- its auditable `<name>.ipcidr.list` input.
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:50:6 - Unknown word (ipcidr) -- cn-ipcidr:
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:52:15 - Unknown word (ipcidr) -- behavior: ipcidr
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:55:24 - Unknown word (ipcidr) -- path: ./ruleset/cn.ipcidr.mrs
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:73:10 - Unknown word (Sukka) -- - `lan`: SukkaW LAN, V2Fly `private
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:74:9 - Unknown word (dnsmasq) -- - `cn`: dnsmasq-china-list, china-operator
Suggestions: [dismast, dumas, damask, dermas, desman]
README.md:74:57 - Unknown word (Sukka) -- operator-ip, selected SukkaW direct/domestic lists
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:78:43 - Unknown word (Sukka) -- Fly AI/Apple lists and SukkaW AI/Apple Services domain
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:79:20 - Unknown word (geolocation) -- - `global`: V2Fly `geolocation-!cn` and SukkaW Telegram
Suggestions: []
README.md:79:41 - Unknown word (Sukka) -- geolocation-!cn` and SukkaW Telegram/global domain
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:85:83 - Unknown word (Mihomo) -- browser-module tests, and Mihomo 1.19.30 or newer on
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:93:121 - Unknown word (Mihomo) -- every non-empty MRS with Mihomo, decodes it again, and
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:95:170 - Unknown word (mihomo) -- builds replace the `mihomo` branch contents and
Suggestions: [matomo, Matomo, imho, moho, Moho]
CSpell: Files checked: 23, Issues found: 155 in 19 files.
You can skip this misspellings by defining the following .cspell.json file at the root of your repository
Of course, please correct real typos before :)
{
"version": "0.2",
"language": "en",
"ignorePaths": [
"**/node_modules/**",
"**/vscode-extension/**",
"**/.git/**",
"**/.pnpm-lock.json",
".vscode",
"package-lock.json",
"megalinter-reports"
],
"words": [
"GEOIP",
"GEOSITE",
"IPCIDR",
"MIHOMO",
"Masq",
"Mihomo",
"Mihomo's",
"Sukka",
"datadoghq",
"dnsmasq",
"elsevier",
"felixonmars",
"gaoyifan",
"geolocation",
"gofmt",
"ieeexplore",
"intercomassets",
"intercomcdn",
"ipcidr",
"liblaf",
"mihomo",
"nojekyll",
"pockyt",
"qhimgs",
"sciencedirect",
"scopus",
"siftscience",
"statsig",
"statsigapi",
"statsigcdn",
"tailnet",
"tmpl",
"trimpath",
"unbuilt",
"usefathom",
"worktree"
]
}
You can also copy-paste megalinter-reports/LINTER_DEFAULT at the root of your repository
(Truncated to last 10000 characters out of 24940)
⚠️ GO / golangci-lint - 1 error
level=error msg="[formatter] gci: command \"go env -json GOMOD\": exec: \"go\": executable file not found in $PATH: "
level=warning msg="[gomod_salt] Failed to calculate go.mod salt: failed to get goenv: command \"go env -json GOMOD\": exec: \"go\": executable file not found in $PATH: "
level=warning msg="Failed to discover go env: command \"go env -json GOCACHE GOROOT\": exec: \"go\": executable file not found in $PATH: "
level=error msg="Running error: context loading failed: failed to load packages: failed to load packages: failed to load with go/packages: err: go command required, not found: exec: \"go\": executable file not found in $PATH: stderr: "
⚠️ COPYPASTE / jscpd - 3 errors
Using config from megalinter-reports/jscpd-config.json
Clone found (go)
- internal/output/output.go [93:36 - 98:112] (6 lines, 51 tokens)
internal/output/output.go [113:40 - 118:112]
Clone found (go)
- internal/source/clash.go [67:5 - 72:5] (6 lines, 53 tokens)
internal/source/clash.go [74:4 - 79:7]
Clone found (go)
- internal/source/load.go [64:32 - 69:16] (6 lines, 50 tokens)
internal/source/load.go [103:31 - 108:16]
┌────────────┬────────────────┬─────────────┬──────────────┬──────────────┬──────────────────┬───────────────────┐
│ Format │ Files analyzed │ Total lines │ Total tokens │ Clones found │ Duplicated lines │ Duplicated tokens │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ css │ 1 │ 172 │ 851 │ 0 │ 0 (0.00%) │ 0 (0.00%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ go │ 20 │ 2615 │ 18108 │ 3 │ 15 (0.57%) │ 154 (0.85%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 5 │ 1132 │ 6902 │ 0 │ 0 (0.00%) │ 0 (0.00%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ txt │ 3 │ 57 │ 358 │ 0 │ 0 (0.00%) │ 0 (0.00%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 29 │ 3976 │ 26219 │ 3 │ 15 (0.38%) │ 154 (0.59%) │
└────────────┴────────────────┴─────────────┴──────────────┴──────────────┴──────────────────┴───────────────────┘
Found 3 clones.
HTML report saved to megalinter-reports/copy-paste/jscpd-report.html
ERROR: jscpd found too many duplicates (0.4%) over threshold (0.0%)
time: 103.450ms
⚠️ ACTION / zizmor - 1 error
INFO zizmor: 🌈 zizmor v1.25.0
fatal: no audit was performed
'artipacked' audit failed on file://.github/workflows/build.yml
Caused by:
0: error in 'artipacked' audit
1: couldn't list tags for actions/checkout
2: request error while accessing GitHub API
3: HTTP status client error (401 Unauthorized) for url (https://github.com/actions/checkout.git/git-upload-pack)
Notices
GIT. See Removed linters to find their replacements.
See detailed reports in MegaLinter artifacts

Show us your support by starring ⭐ the repository
updates: - [github.com/astral-sh/ruff-pre-commit: v0.16.10 → v0.17.2](astral-sh/ruff-pre-commit@v0.16.10...v0.17.2) - [github.com/oxc-project/mirrors-oxfmt: v0.71.0 → v0.74.0](oxc-project/mirrors-oxfmt@v0.71.0...v0.74.0) - [github.com/rvben/rumdl-pre-commit: v0.2.78 → v0.3.0](rvben/rumdl-pre-commit@v0.2.78...v0.3.0)
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updates: