Repository navigation
chore(copier): update from template - #118
Merged
Merged
Conversation
Contributor
✅
|
| Descriptor | Linter | Files | Fixed | Errors | Max errors | Warnings | Elapsed time |
|---|---|---|---|---|---|---|---|
| ✅ ACTION | actionlint | 1 | 0 | 0 | 0.07s | ||
| zizmor | 1 | 0 | 1 | 0 | 0.53s | ||
| jscpd | yes | 3 | no | 0.42s | |||
| golangci-lint | yes | yes | 1 | no | 0.41s | ||
| ✅ JSON | jsonlint | 1 | 0 | 0 | 0.08s | ||
| ✅ JSON | prettier | 1 | 0 | 0 | 0 | 0.3s | |
| ✅ JSON | v8r | 1 | 0 | 0 | 1.33s | ||
| ✅ MARKDOWN | rumdl | 1 | 0 | 0 | 0 | 0.02s | |
| ✅ REPOSITORY | git_diff | yes | no | no | 0.01s | ||
| cspell | 23 | 143 | 0 | 3.84s | |||
| ✅ YAML | prettier | 1 | 0 | 0 | 0 | 0.24s | |
| ✅ YAML | v8r | 1 | 0 | 0 | 1.91s | ||
| ✅ YAML | yamllint | 1 | 0 | 0 | 0.34s |
Detailed Issues
⚠️ SPELL / cspell - 143 errors
- Unknown word (mihomo) -- Mihomo instance because `mihomo -t`
Suggestions: [matomo, Matomo, imho, moho, Moho]
internal/mihomo/converter.go:91:17 - Unknown 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:19:281 - Unknown word (Mihomo) -- cannot be represented by Mihomo and are resolved by
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:23:35 - Unknown word (mihomo) -- empty behavior, the `mihomo` branch contains:
Suggestions: [matomo, Matomo, imho, moho, Moho]
README.md:26:11 - Unknown word (ipcidr) -- - `<name>.ipcidr.mrs` and its auditable
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:26:49 - Unknown word (ipcidr) -- its auditable `<name>.ipcidr.list` input.
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:29:109 - Unknown word (ipcidr) -- so no empty `crypto.ipcidr.mrs` is fabricated.
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:44:6 - Unknown word (ipcidr) -- cn-ipcidr:
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:46:15 - Unknown word (ipcidr) -- behavior: ipcidr
Suggestions: [icier, ipaddr, cidr, picard, picker]
README.md:67:10 - Unknown word (Sukka) -- - `lan`: SukkaW LAN, V2Fly `private
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:68:9 - Unknown word (dnsmasq) -- - `cn`: dnsmasq-china-list, china-operator
Suggestions: [dismast, dumas, damask, dermas, desman]
README.md:68:57 - Unknown word (Sukka) -- operator-ip, selected SukkaW direct/domestic lists
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:70:43 - Unknown word (Sukka) -- Fly AI/Apple lists and SukkaW AI/Apple Services domain
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:71:20 - Unknown word (geolocation) -- - `global`: V2Fly `geolocation-!cn` and SukkaW Telegram
Suggestions: []
README.md:71:41 - Unknown word (Sukka) -- geolocation-!cn` and SukkaW Telegram/global domain
Suggestions: [Sukkah, Pukka, Skua, Kuka, Sika]
README.md:77:83 - Unknown word (Mihomo) -- browser-module tests, and Mihomo 1.19.30 or newer on
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:85:121 - Unknown word (Mihomo) -- every non-empty MRS with Mihomo, decodes it again, and
Suggestions: [matomo, Matomo, Imho, moho, Moho]
README.md:87:170 - Unknown word (mihomo) -- builds replace the `mihomo` branch contents and
Suggestions: [matomo, Matomo, imho, moho, Moho]
CSpell: Files checked: 23, Issues found: 143 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",
"dnsmasq",
"elsevier",
"felixonmars",
"gaoyifan",
"geolocation",
"gofmt",
"ieeexplore",
"ipcidr",
"liblaf",
"mihomo",
"nojekyll",
"pockyt",
"qhimgs",
"sciencedirect",
"scopus",
"tailnet",
"tmpl",
"trimpath",
"unbuilt",
"worktree"
]
}
You can also copy-paste megalinter-reports/LINTER_DEFAULT at the root of your repository
(Truncated to last 10000 characters out of 22922)
⚠️ 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 │ 18104 │ 3 │ 15 (0.57%) │ 154 (0.85%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ javascript │ 5 │ 1132 │ 6902 │ 0 │ 0 (0.00%) │ 0 (0.00%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ txt │ 2 │ 18 │ 112 │ 0 │ 0 (0.00%) │ 0 (0.00%) │
├────────────┼────────────────┼─────────────┼──────────────┼──────────────┼──────────────────┼───────────────────┤
│ Total: │ 28 │ 3937 │ 25969 │ 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: 56.801ms
⚠️ 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
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.
Automated changes by Shared / Copier Update Workflow