2017-11-24 07:38:17 +11: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-07 10:45:34 +10:00
|
|
|
brakeman:
|
|
|
|
enabled: true
|
2017-05-07 10:41:12 +10:00
|
|
|
bundler-audit:
|
|
|
|
enabled: true
|
|
|
|
eslint:
|
|
|
|
enabled: true
|
2020-07-29 05:52:35 +10:00
|
|
|
channel: eslint-7
|
2017-05-07 10:41:12 +10:00
|
|
|
rubocop:
|
|
|
|
enabled: true
|
2021-02-12 02:10:00 +11:00
|
|
|
channel: rubocop-1-9-1
|
2019-06-05 01:23:18 +10:00
|
|
|
sass-lint:
|
2017-05-08 04:47:31 +10:00
|
|
|
enabled: true
|
2017-11-24 07:38:17 +11:00
|
|
|
exclude_patterns:
|
2016-11-18 04:40:23 +11:00
|
|
|
- spec/
|
2021-10-18 21:04:42 +11:00
|
|
|
- vendor/asset/
|
|
|
|
|
|
|
|
- app/javascript/mastodon/locales/**/*.json
|
|
|
|
- config/locales/**/*.yml
|