diff --git a/.codeclimate.yml b/.codeclimate.yml index 57323dd0b..fbfef0fcd 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -1,5 +1,5 @@ ---- -engines: +version: "2" +plugins: golint: enabled: true gofmt: @@ -8,13 +8,7 @@ engines: enabled: true fixme: enabled: true - duplication: - enabled: true - config: - languages: - - go -ratings: - paths: - - "**.go" -exclude_paths: -- vendor/ +exclude_patterns: + - ".vendor" + - "vendor" + - "bindata.go" diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 04c44d99d..ff42e87d0 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -31,6 +31,7 @@ Please try to make your pull request easy to review for us. Please read the "[Ho * Make small pull requests. The smaller, the faster to review and the more likely it will be merged soon. * Don't make changes unrelated to your PR. Maybe there are typos on some comments, maybe refactoring would be welcome on a function... but if that is not related to your PR, please make *another* PR for that. * Split big pull requests into multiple small ones. An incremental change will be faster to review than a huge PR. +* Don't forget to generate a new bindata.go using `make generate-bindata`. ## Maintainers