-
Notifications
You must be signed in to change notification settings - Fork 19
Update v1 branch #53
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
Update v1 branch #53
Changes from all commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
312088d
Create sonarqube.yml
alessio bb4dcb3
fix imports
alessio 4f9bf6b
fix imports (#26)
alessio a6eeed4
remove sonarqube config file
alessio 68ac4ee
Update build.yaml
alessio c769a1d
Update build.yaml (#27)
alessio aaff7ce
update readme to use the new vanity name
alessio eee5f61
upgrade playground example's URL
alessio 5ab9730
update ci
alessio 99de0d7
update ci (#29)
alessio b806b6d
Fix ExampleQuoteCommand
alexandear 8530651
README: fix typo
alexandear 09834c4
Add automatic update of GitHub actions
ccoVeille 8b9bd7a
Bring CI to 2024
ccoVeille 3e232a2
fix enabled golangci-lint linters
ccoVeille 8e8fb6e
Remove exclusion added years ago
ccoVeille deb6eba
enable golangci-lint on test files
ccoVeille 8303ffc
Enable thelper linter via golangci-lint
ccoVeille 075e7a7
Enable gci linter via golangci-lint
ccoVeille c50b029
Bump golangci/golangci-lint-action from 6.1.0 to 6.2.0
dependabot[bot] 2a32434
Bump actions/dependency-review-action from 4.4.0 to 4.5.0
dependabot[bot] 7aab5d1
Bump codecov/codecov-action from 4.6.0 to 5.3.1
dependabot[bot] 76f60b2
Bump golangci/golangci-lint-action from 6.2.0 to 6.5.0
dependabot[bot] 71d039a
Update codacy.yml (#39)
alessio fae07db
Update build.yaml (#40)
alessio 0412734
Update golangci-lint.yml
alessio bcfa082
Update dependency-review.yml
alessio 3ec9419
Update CODE_OF_CONDUCT.md (#44)
alessio f80079b
Update README.md (#45)
alessio 7949e0b
Refresh Go toolchain (#46)
alessio 9101d21
shellescape: new ScanTokens function (#47)
alessio 0fa0bf8
add CODECOV_TOKEN
alessio 26fa1b3
Update README.md
alessio 5246baf
Bump golangci/golangci-lint-action from 6 to 7
dependabot[bot] 6f839d7
Update README.md
alessio cf9b62c
Revert "Bump golangci/golangci-lint-action from 6 to 7"
alessio beefadb
run golangci-lint migrate
alessio fa391eb
Bump golangci/golangci-lint-action from 6 to 7
dependabot[bot] 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
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
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 |
|---|---|---|
| @@ -1,59 +1,68 @@ | ||
| # run: | ||
| # # timeout for analysis, e.g. 30s, 5m, default is 1m | ||
| # timeout: 5m | ||
|
|
||
| version: "2" | ||
| linters: | ||
| disable-all: true | ||
| default: none | ||
| enable: | ||
| - bodyclose | ||
| - copyloopvar | ||
| - dogsled | ||
| - goconst | ||
| - gocritic | ||
| - gofmt | ||
| - goimports | ||
| - gosec | ||
| - gosimple | ||
| - govet | ||
| - ineffassign | ||
| - misspell | ||
| - prealloc | ||
| - exportloopref | ||
| - revive | ||
| - staticcheck | ||
| - stylecheck | ||
| - typecheck | ||
| - thelper | ||
| - unconvert | ||
| - unparam | ||
| - unused | ||
| - misspell | ||
| - wsl | ||
|
|
||
| issues: | ||
| exclude-rules: | ||
| - text: "Use of weak random number generator" | ||
| linters: | ||
| - gosec | ||
| - text: "comment on exported var" | ||
| linters: | ||
| - golint | ||
| - text: "don't use an underscore in package name" | ||
| linters: | ||
| - golint | ||
| - text: "ST1003:" | ||
| linters: | ||
| - stylecheck | ||
| # FIXME: Disabled until golangci-lint updates stylecheck with this fix: | ||
| # https://github.com/dominikh/go-tools/issues/389 | ||
| - text: "ST1016:" | ||
| linters: | ||
| - stylecheck | ||
|
|
||
| linters-settings: | ||
| dogsled: | ||
| max-blank-identifiers: 3 | ||
| maligned: | ||
| # print struct with more effective memory layout or not, false by default | ||
| suggest-new: true | ||
|
|
||
| run: | ||
| tests: false | ||
| settings: | ||
| dogsled: | ||
| max-blank-identifiers: 3 | ||
| exclusions: | ||
| generated: lax | ||
| presets: | ||
| - comments | ||
| - common-false-positives | ||
| - legacy | ||
| - std-error-handling | ||
| rules: | ||
| - linters: | ||
| - gosec | ||
| text: Use of weak random number generator | ||
| - linters: | ||
| - golint | ||
| text: comment on exported var | ||
| - linters: | ||
| - golint | ||
| text: don't use an underscore in package name | ||
| - linters: | ||
| - staticcheck | ||
| text: 'ST1003:' | ||
| - linters: | ||
| - wsl | ||
| path: _test.go | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| - gci | ||
| - gofmt | ||
| - goimports | ||
| settings: | ||
| gci: | ||
| sections: | ||
| - standard | ||
| - default | ||
| - localmodule | ||
| exclusions: | ||
| generated: lax | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ |
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.
Uh oh!
There was an error while loading. Please reload this page.