fix: modify alias
This commit is contained in:
+2
-2
@@ -34,7 +34,7 @@ linters:
|
||||
severity: error
|
||||
# Enable all available rules.
|
||||
# Default: false
|
||||
enable-all-rules: true
|
||||
enable-all-rules: false
|
||||
# Sets the default failure confidence.
|
||||
# This means that linting errors with less than 0.8 confidence will be ignored.
|
||||
# Default: 0.8
|
||||
@@ -304,7 +304,7 @@ linters:
|
||||
# https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#var-naming
|
||||
- name: var-naming
|
||||
severity: warning
|
||||
disabled: false
|
||||
disabled: true
|
||||
arguments:
|
||||
- ["ID"] # AllowList
|
||||
- ["VM"] # DenyList
|
||||
|
||||
@@ -137,9 +137,8 @@ alias alert='terminal-notifier -title "Terminal" -message "Done with task! Exit
|
||||
|
||||
# git
|
||||
alias gitb="git branch --show-current | tr -d '\n' | pbcopy"
|
||||
alias ct="go test -gcflags=all=-l -cover ./..."
|
||||
alias ci="golangci-lint -c=~/.dotfile/.golangci.yml run ./..."
|
||||
alias gci="golangci-lint run -c=~/.dotfile/.golangci.yml ./..."
|
||||
alias gmt="go mod tidy"
|
||||
alias gt="go test -gcflags=all=-l "
|
||||
alias gt="go test -gcflags=all=-l -cover ./..."
|
||||
alias swg="swag init -o docs -g "
|
||||
alias sws="swagger serve -F=swagger"
|
||||
|
||||
Reference in New Issue
Block a user