Compare commits
No commits in common. "aca310503955782155bbea050165bdf308b74801" and "83ef9c2076e4aa9618afa28931f9bbcc90f32207" have entirely different histories.
aca3105039
...
83ef9c2076
|
@ -1,79 +0,0 @@
|
||||||
run:
|
|
||||||
tests: false
|
|
||||||
timeout: 3m
|
|
||||||
skip-dirs:
|
|
||||||
- cmd/local
|
|
||||||
|
|
||||||
linters:
|
|
||||||
enable:
|
|
||||||
- errcheck
|
|
||||||
- gosimple
|
|
||||||
- govet
|
|
||||||
- ineffassign
|
|
||||||
- staticcheck
|
|
||||||
- typecheck
|
|
||||||
- unused
|
|
||||||
- unconvert
|
|
||||||
- gocritic
|
|
||||||
- exportloopref
|
|
||||||
- whitespace
|
|
||||||
- misspell
|
|
||||||
- thelper
|
|
||||||
- revive
|
|
||||||
|
|
||||||
linters-settings:
|
|
||||||
errcheck:
|
|
||||||
exclude-functions:
|
|
||||||
- (*github.com/gin-gonic/gin.Context).AbortWithError
|
|
||||||
- (*github.com/gin-gonic/gin.Context).Error
|
|
||||||
- (github.com/gin-gonic/gin.ResponseWriter).WriteString
|
|
||||||
- (net/http.ResponseWriter).Write
|
|
||||||
- fmt.Fprintf
|
|
||||||
- fmt.Fprintln
|
|
||||||
- (*github.com/jlaffaye/ftp.Response).Close
|
|
||||||
- (*github.com/jlaffaye/ftp.ServerConn).Quit
|
|
||||||
- (golang.org/x/crypto/ssh.Conn).Close
|
|
||||||
- (*github.com/pkg/sftp.File).Close
|
|
||||||
- (*github.com/pkg/sftp.clientConn).Close
|
|
||||||
- (*compress/gzip.Reader).Close
|
|
||||||
- (io.Closer).Close
|
|
||||||
- (*os.File).Close
|
|
||||||
- (io/fs.File).Close
|
|
||||||
- (*github.com/gocraft/work.Enqueuer).Enqueue
|
|
||||||
- (*encoding/xml.Encoder).EncodeToken
|
|
||||||
- (*encoding/xml.Encoder).EncodeElement
|
|
||||||
- (*encoding/xml.Encoder).Flush
|
|
||||||
- (*encoding/xml.Encoder).Encode
|
|
||||||
- (io.Writer).Write
|
|
||||||
- (*encoding/csv.Writer).Write
|
|
||||||
- os.Remove
|
|
||||||
- (*os.File).Seek
|
|
||||||
- (*os.File).WriteString
|
|
||||||
- (*go.uber.org/zap.Logger).Sync
|
|
||||||
- io.Copy
|
|
||||||
|
|
||||||
revive:
|
|
||||||
rules:
|
|
||||||
- name: var-naming
|
|
||||||
severity: error
|
|
||||||
disabled: false
|
|
||||||
gocritic:
|
|
||||||
enabled-tags:
|
|
||||||
- diagnostic
|
|
||||||
- style
|
|
||||||
- performance
|
|
||||||
disabled-checks:
|
|
||||||
- singleCaseSwitch
|
|
||||||
- unnecessaryBlock
|
|
||||||
- unnamedResult
|
|
||||||
- paramTypeCombine
|
|
||||||
- emptyStringTest
|
|
||||||
- regexpSimplify
|
|
||||||
- preferStringWriter
|
|
||||||
- badRegexp
|
|
||||||
- emptyFallthrough
|
|
||||||
- unlabelStmt
|
|
||||||
- nestingReduce
|
|
||||||
- hugeParam
|
|
||||||
# TODO: enable after testing
|
|
||||||
- rangeValCopy
|
|
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
COVERAGE_DIR=coverage
|
COVERAGE_DIR=coverage
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
golangci-lint run
|
golangci-lint run ./...
|
||||||
goreportcard:
|
goreportcard:
|
||||||
goreportcard-cli -v
|
goreportcard-cli -v
|
||||||
test:
|
test:
|
||||||
|
|
|
@ -21,7 +21,7 @@ git clone https://gitea.urkob.com/urko/emailsender.git
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
Check examples in [examples](https://gitea.urkob.com/urko/emailsender/examples)
|
Check examples in [examples](https://gitea.urkob.com/urko/emailsender/examples)
|
||||||
|
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue