2020-10-03 20:28:19 +00:00
|
|
|
version: "2"
|
2020-10-19 21:12:07 +00:00
|
|
|
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"
|
2020-10-03 20:28:19 +00:00
|
|
|
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
|