diff --git a/.golangci.yml b/.golangci.yml new file mode 100644 index 0000000..ef5c99c --- /dev/null +++ b/.golangci.yml @@ -0,0 +1,3 @@ +linters: + enable: + - golint diff --git a/goodcheck.yml b/goodcheck.yml new file mode 100644 index 0000000..1a84821 --- /dev/null +++ b/goodcheck.yml @@ -0,0 +1,5 @@ +rules: + - id: com.example.github + pattern: Github + message: | + GitHub is GitHub, not Github diff --git a/sider.yml b/sider.yml new file mode 100644 index 0000000..fea293a --- /dev/null +++ b/sider.yml @@ -0,0 +1,17 @@ +linter: + goodcheck: + config: goodcheck.yml + golangci_lint: + target: ./... + config: .golangci.yml + enable: + - golint + - gosec + fast: true + no-config: false + skip-dirs: + - vendor + uniq-by-line: true + +ignore: + - "vendor/**"