Code Climate
Configuration file as an alternative for configuring your repository in the settings page
| Type | object |
|---|---|
| File match |
.codeclimate.yml
.codeclimate.json
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/code-climate/latest.json |
| Source | https://www.schemastore.org/codeclimate.json |
Validate with Lintel
npx @lintel/lintel check
Type:
object
Configuration file as an alternative for configuring your repository in the settings page.
Properties
version
string
Required to adjust maintainability checks.
prepare
object[]
checks
object
10 nested properties
argument-count
object
1 nested properties
enabled
boolean
complex-logic
object
1 nested properties
enabled
boolean
file-lines
object
1 nested properties
enabled
boolean
method-complexity
object
1 nested properties
enabled
boolean
method-count
object
1 nested properties
enabled
boolean
method-lines
object
1 nested properties
enabled
boolean
nested-control-flow
object
1 nested properties
enabled
boolean
return-statements
object
1 nested properties
enabled
boolean
similar-code
object
1 nested properties
enabled
boolean
identical-code
object
1 nested properties
enabled
boolean
plugins
Record<string, object>
To add a plugin to your analysis. You can find the complete list of available plugins here: https://docs.codeclimate.com/docs/list-of-engines
exclude_patterns
string[]
Definitions
enabled
object
enabled
boolean
config
object
threshold
integer | null