66 lines
1.0 KiB
YAML
66 lines
1.0 KiB
YAML
version: "2"
|
|
plugins:
|
|
csslint:
|
|
enabled: true
|
|
coffeelint:
|
|
enabled: true
|
|
duplication:
|
|
enabled: true
|
|
config:
|
|
languages:
|
|
- ruby
|
|
- javascript
|
|
- python
|
|
- php
|
|
eslint:
|
|
enabled: true
|
|
channel: __ESLINT_CHANNEL__
|
|
fixme:
|
|
enabled: true
|
|
rubocop:
|
|
enabled: true
|
|
exclude_patterns:
|
|
- config/
|
|
- db/
|
|
- dist/
|
|
- features/
|
|
- "**/node_modules/"
|
|
- script/
|
|
- "**/spec/"
|
|
- "**/test/"
|
|
- "**/tests/"
|
|
- Tests/
|
|
- "**/vendor/"
|
|
- "**/*_test.go"
|
|
- "**/*.d.ts"
|
|
- "**/*.min.js"
|
|
- "**/*.min.css"
|
|
- "**/__tests__/"
|
|
- "**/__mocks__/"
|
|
- "**/*.test.js"
|
|
checks:
|
|
argument-count:
|
|
config:
|
|
threshold: 5
|
|
complex-logic:
|
|
config:
|
|
threshold: 4
|
|
file-lines:
|
|
config:
|
|
threshold: 350
|
|
method-complexity:
|
|
config:
|
|
threshold: 5
|
|
method-count:
|
|
config:
|
|
threshold: 20
|
|
method-lines:
|
|
config:
|
|
threshold: 60
|
|
nested-control-flow:
|
|
config:
|
|
threshold: 4
|
|
return-statements:
|
|
config:
|
|
threshold: 4
|