2017-11-23 12:38:17 -08:00
|
|
|
version: "2"
|
|
|
|
checks:
|
|
|
|
argument-count:
|
|
|
|
enabled: false
|
|
|
|
complex-logic:
|
|
|
|
enabled: false
|
|
|
|
file-lines:
|
|
|
|
enabled: false
|
|
|
|
method-complexity:
|
|
|
|
enabled: false
|
|
|
|
method-count:
|
|
|
|
enabled: false
|
|
|
|
method-lines:
|
|
|
|
enabled: false
|
|
|
|
nested-control-flow:
|
|
|
|
enabled: false
|
|
|
|
return-statements:
|
|
|
|
enabled: false
|
|
|
|
similar-code:
|
|
|
|
enabled: false
|
|
|
|
identical-code:
|
|
|
|
enabled: false
|
|
|
|
plugins:
|
2017-05-06 17:45:34 -07:00
|
|
|
brakeman:
|
|
|
|
enabled: true
|
2017-05-06 17:41:12 -07:00
|
|
|
bundler-audit:
|
|
|
|
enabled: true
|
|
|
|
eslint:
|
|
|
|
enabled: true
|
2020-07-28 12:52:35 -07:00
|
|
|
channel: eslint-7
|
2017-05-06 17:41:12 -07:00
|
|
|
rubocop:
|
|
|
|
enabled: true
|
2021-02-11 07:10:00 -08:00
|
|
|
channel: rubocop-1-9-1
|
2019-06-04 08:23:18 -07:00
|
|
|
sass-lint:
|
2017-05-07 11:47:31 -07:00
|
|
|
enabled: true
|
2017-11-23 12:38:17 -08:00
|
|
|
exclude_patterns:
|
2016-11-17 09:40:23 -08:00
|
|
|
- spec/
|
2021-10-18 03:04:42 -07:00
|
|
|
- vendor/asset/
|
|
|
|
|
|
|
|
- app/javascript/mastodon/locales/**/*.json
|
|
|
|
- config/locales/**/*.yml
|