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.

Default: "2"
prepare object[]
checks object
10 nested properties
argument-count object
1 nested properties
enabled boolean
Default: true
complex-logic object
1 nested properties
enabled boolean
Default: true
file-lines object
1 nested properties
enabled boolean
Default: true
method-complexity object
1 nested properties
enabled boolean
Default: true
method-count object
1 nested properties
enabled boolean
Default: true
method-lines object
1 nested properties
enabled boolean
Default: true
nested-control-flow object
1 nested properties
enabled boolean
Default: true
return-statements object
1 nested properties
enabled boolean
Default: true
similar-code object
1 nested properties
enabled boolean
Default: true
identical-code object
1 nested properties
enabled boolean
Default: true
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
Default: true
config object
threshold integer | null