Commit 0d1c72229e16273da906a5c60994436a69e064c4
1 parent
20d88496
Exists in
gov_user_refactory
Add codeclimate.yml to better code climate analysis
Signed-off-by: Fabio Teixeira <fabio1079@gmail.com>
Showing
1 changed file
with
51 additions
and
0 deletions
Show diff stats
| @@ -0,0 +1,51 @@ | @@ -0,0 +1,51 @@ | ||
| 1 | +# This is a sample .codeclimate.yml configured for Engine analysis on Code | ||
| 2 | +# Climate Platform. For an overview of the Code Climate Platform, see here: | ||
| 3 | +# http://docs.codeclimate.com/article/300-the-codeclimate-platform | ||
| 4 | + | ||
| 5 | +# Under the engines key, you can configure which engines will analyze your repo. | ||
| 6 | +# Each key is an engine name. For each value, you need to specify enabled: true | ||
| 7 | +# to enable the engine as well as any other engines-specific configuration. | ||
| 8 | + | ||
| 9 | +# For more details, see here: | ||
| 10 | +# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform | ||
| 11 | + | ||
| 12 | +# For a list of all available engines, see here: | ||
| 13 | +# http://docs.codeclimate.com/article/296-engines-available-engines | ||
| 14 | + | ||
| 15 | +engines: | ||
| 16 | +# to turn on an engine, add it here and set enabled to `true` | ||
| 17 | +# to turn off an engine, set enabled to `false` or remove it | ||
| 18 | + rubocop: | ||
| 19 | + enabled: true | ||
| 20 | + golint: | ||
| 21 | + enabled: true | ||
| 22 | + gofmt: | ||
| 23 | + enabled: true | ||
| 24 | + eslint: | ||
| 25 | + enabled: true | ||
| 26 | + csslint: | ||
| 27 | + enabled: true | ||
| 28 | + | ||
| 29 | +# Engines can analyze files and report issues on them, but you can separately | ||
| 30 | +# decide which files will receive ratings based on those issues. This is | ||
| 31 | +# specified by path patterns under the ratings key. | ||
| 32 | + | ||
| 33 | +# For more details see here: | ||
| 34 | +# http://docs.codeclimate.com/article/289-configuring-your-repository-via-codeclimate-yml#platform | ||
| 35 | + | ||
| 36 | +# Note: If the ratings key is not specified, this will result in a 0.0 GPA on your dashboard. | ||
| 37 | + | ||
| 38 | +# ratings: | ||
| 39 | +# paths: | ||
| 40 | +# - app/** | ||
| 41 | +# - lib/** | ||
| 42 | +# - "**.rb" | ||
| 43 | +# - "**.go" | ||
| 44 | + | ||
| 45 | +# You can globally exclude files from being analyzed by any engine using the | ||
| 46 | +# exclude_paths key. | ||
| 47 | + | ||
| 48 | +exclude_paths: | ||
| 49 | + - public/vendor/* | ||
| 50 | +#- spec/**/* | ||
| 51 | +#- vendor/**/* |