-
-
Notifications
You must be signed in to change notification settings - Fork 0
chore(pre-commit): bump cspell-cli to v9.4.0, drop merge-conflict hook #26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
215e293
chore(docs): configure cspell/markdownlint and expand pre-commit; ref…
hyp3rd b3fc79d
chore(pre-commit): remove duplicate mixed-line-ending hook
hyp3rd 70b8686
chore(pre-commit): remove duplicate mixed-line-ending hook
hyp3rd 8452b01
ci(github-actions): bump action versions (checkout@v6, cache@v5, uplo…
hyp3rd 4416db6
chore(pre-commit): bump cspell-cli to v9.4.0, drop merge-conflict hook
hyp3rd 02a780d
ci(pre-commit): add .pre-commit-ci-config with linting, spellcheck, a…
hyp3rd File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| # Custom Dictionary Words | ||
| Errorf | ||
| goexit | ||
| golangci | ||
| myapp | ||
| Println | ||
| retryable | ||
| Retryable | ||
| uintptr |
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| all | ||
| # Parameters: line_length, ignore_code_blocks, code_blocks, tables (number; default 80, boolean; default false, boolean; default true, boolean; default true) | ||
| exclude_rule 'MD013' | ||
| # default in next version, remove then | ||
| rule 'MD007', :indent => 3 | ||
|
|
||
| rule "MD029", style => "one" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| style '.mdl_style.rb' |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| --- | ||
| repos: | ||
| - repo: https://github.com/pre-commit/pre-commit-hooks | ||
| rev: v6.0.0 | ||
| hooks: | ||
| - id: check-json | ||
| - id: pretty-format-json | ||
| exclude: cspell.json | ||
| - id: end-of-file-fixer | ||
| - id: mixed-line-ending | ||
| - id: trailing-whitespace | ||
| - id: fix-byte-order-marker | ||
| - id: check-executables-have-shebangs | ||
| - id: debug-statements | ||
| - id: check-yaml | ||
| files: .*\.(yaml|yml)$ | ||
| exclude: mkdocs.yml | ||
| args: [--allow-multiple-documents] | ||
| - id: requirements-txt-fixer | ||
| - repo: https://github.com/adrienverge/yamllint.git | ||
| rev: v1.37.1 | ||
| hooks: | ||
| - id: yamllint | ||
| files: \.(yaml|yml)$ | ||
| types: [file, yaml] | ||
| entry: yamllint --strict -f parsable | ||
| - repo: https://github.com/hadolint/hadolint | ||
| rev: v2.14.0 | ||
| hooks: | ||
| - id: hadolint-docker | ||
| - repo: https://github.com/streetsidesoftware/cspell-cli | ||
| rev: v9.3.3 | ||
| hooks: | ||
| # Spell check changed files | ||
| - id: cspell | ||
| # Spell check the commit message | ||
| - id: cspell | ||
| name: check commit message spelling | ||
| args: | ||
| - --no-must-find-files | ||
| - --no-progress | ||
| - --no-summary | ||
| - --files | ||
| - .git/COMMIT_EDITMSG | ||
| stages: [commit-msg] | ||
| always_run: true | ||
| - repo: https://github.com/markdownlint/markdownlint.git | ||
| rev: v0.15.0 | ||
| hooks: | ||
| - id: markdownlint | ||
| name: Markdownlint | ||
| description: Run markdownlint on your Markdown files | ||
| entry: mdl | ||
| language: ruby | ||
| files: \.(md|mdown|markdown)$ | ||
| - repo: local | ||
| hooks: | ||
| - id: go-verify | ||
| name: go-verify | ||
| language: system | ||
| entry: ./.pre-commit/go-mod-hook | ||
| require_serial: true | ||
| - id: gci | ||
| name: gci | ||
| language: system | ||
| entry: ./.pre-commit/gci-hook | ||
| require_serial: true |
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,13 @@ | ||
| { | ||
| "recommendations": [ | ||
| "github.vscode-github-actions", | ||
| "golang.go", | ||
| "ms-vscode.makefile-tools", | ||
| "esbenp.prettier-vscode", | ||
| "pbkit.vscode-pbkit", | ||
| "trunk.io", | ||
| "streetsidesoftware.code-spell-checker", | ||
| "ms-azuretools.vscode-docker", | ||
| "eamodio.gitlens" | ||
| ] | ||
| "recommendations": [ | ||
| "github.vscode-github-actions", | ||
| "golang.go", | ||
| "ms-vscode.makefile-tools", | ||
| "esbenp.prettier-vscode", | ||
| "pbkit.vscode-pbkit", | ||
| "trunk.io", | ||
| "streetsidesoftware.code-spell-checker", | ||
| "ms-azuretools.vscode-docker", | ||
| "eamodio.gitlens" | ||
| ] | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,138 +1,3 @@ | ||
| { | ||
| "makefile.configureOnOpen": false, | ||
| "cSpell.words": [ | ||
| "arithmatex", | ||
| "asasalint", | ||
| "asciicheck", | ||
| "azuretools", | ||
| "benchmem", | ||
| "betterem", | ||
| "bidichk", | ||
| "bodyclose", | ||
| "canonicalheader", | ||
| "containedctx", | ||
| "contextcheck", | ||
| "copyloopvar", | ||
| "Cosentino", | ||
| "cpuprofile", | ||
| "cyclop", | ||
| "daixiang", | ||
| "decorder", | ||
| "depguard", | ||
| "dupl", | ||
| "dupword", | ||
| "durationcheck", | ||
| "eamodio", | ||
| "emperror", | ||
| "errcheck", | ||
| "errchkjson", | ||
| "errname", | ||
| "errorlint", | ||
| "esbenp", | ||
| "ewrap", | ||
| "fatcontext", | ||
| "fieldalignment", | ||
| "fontawesome", | ||
| "forbidigo", | ||
| "forcetypeassert", | ||
| "Francesco", | ||
| "funlen", | ||
| "ginkgolinter", | ||
| "GITVERSION", | ||
| "gocheckcompilerdirectives", | ||
| "gochecknoglobals", | ||
| "gochecknoinits", | ||
| "gochecksumtype", | ||
| "gocognit", | ||
| "goconst", | ||
| "gocritic", | ||
| "gocyclo", | ||
| "godox", | ||
| "GOFILES", | ||
| "gofmt", | ||
| "gofumpt", | ||
| "goheader", | ||
| "goimports", | ||
| "golangci", | ||
| "GOMAXPROCS", | ||
| "gomoddirectives", | ||
| "gomodguard", | ||
| "GOPATH", | ||
| "goprintffuncname", | ||
| "gosec", | ||
| "gosimple", | ||
| "gosmopolitan", | ||
| "govet", | ||
| "honnef", | ||
| "importas", | ||
| "inamedparam", | ||
| "ineffassign", | ||
| "inlinehilite", | ||
| "interfacebloat", | ||
| "intrange", | ||
| "ireturn", | ||
| "linenums", | ||
| "loggercheck", | ||
| "logrus", | ||
| "magiclink", | ||
| "maintidx", | ||
| "makezero", | ||
| "memprofile", | ||
| "mkdocs", | ||
| "multierror", | ||
| "musttag", | ||
| "mvdan", | ||
| "nakedret", | ||
| "nestif", | ||
| "Newf", | ||
| "nilerr", | ||
| "nilnil", | ||
| "nlreturn", | ||
| "noctx", | ||
| "nolint", | ||
| "nolintlint", | ||
| "nonamedreturns", | ||
| "nosprintfhostport", | ||
| "NOVENDOR", | ||
| "paralleltest", | ||
| "pbkit", | ||
| "perfsprint", | ||
| "prealloc", | ||
| "predeclared", | ||
| "promlinter", | ||
| "proto", | ||
| "protogetter", | ||
| "pygments", | ||
| "pymdownx", | ||
| "rowserrcheck", | ||
| "sirupsen", | ||
| "sloglint", | ||
| "smartsymbols", | ||
| "spancheck", | ||
| "sqlclosecheck", | ||
| "staticcheck", | ||
| "stdlib", | ||
| "stretchr", | ||
| "stylecheck", | ||
| "superfences", | ||
| "tasklist", | ||
| "tenv", | ||
| "testableexamples", | ||
| "testifylint", | ||
| "testpackage", | ||
| "thelper", | ||
| "toplevel", | ||
| "tparallel", | ||
| "typecheck", | ||
| "unconvert", | ||
| "unparam", | ||
| "usestdlibvars", | ||
| "varnamelen", | ||
| "wastedassign", | ||
| "wrapcheck", | ||
| "Wrapf", | ||
| "zaptest", | ||
| "zerolog", | ||
| "zerologlint" | ||
| ] | ||
| "makefile.configureOnOpen": false | ||
| } |
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The workflow references a configuration file
.pre-commit-ci-config.yamlthat does not appear to exist in the repository. This will cause the pre-commit workflow to fail when it tries to run with a non-existent config file.