.codeclimate.yml (1657B)
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: false 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 - "**.js" 41 - "**.jsx" 42 - "**.css" 43 - "**.php" 44 - "**.module" 45 - "**.inc" 46 47 # You can globally exclude files from being analyzed by any engine using the 48 # exclude_paths key. 49 50 #exclude_paths: 51 #- spec/**/* 52 #- vendor/**/*