mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-11 22:09:04 +01:00
1637d24af4
* fix RuboCop error RuboCop doesn't work by following error. ``` $ rubocop Error: The `Style/TrailingCommaInLiteral` cop no longer exists. Please use `Style/TrailingCommaInArrayLiteral` and/or `Style/TrailingCommaInHashLiteral` instead. (obsolete configuration found in .rubocop.yml, please update it) ``` it comes from RuboCop 0.53.0 [\[Fix #3394\] Separate Array & Hash Literal Comma configuration by garettarrowood · Pull Request #5307 · bbatsov/rubocop](https://github.com/bbatsov/rubocop/pull/5307) * ci(CodeClimate): specify RuboCop version 0.54 * https://docs.codeclimate.com/docs/rubocop#section-using-rubocop-s-newer-versions * [RuboCop 0.55.0 is not available yet](https://github.com/codeclimate/codeclimate-rubocop/issues/121) on CodeClimate rubocop channel
38 lines
642 B
YAML
38 lines
642 B
YAML
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:
|
|
brakeman:
|
|
enabled: true
|
|
bundler-audit:
|
|
enabled: true
|
|
eslint:
|
|
enabled: true
|
|
channel: eslint-4
|
|
rubocop:
|
|
enabled: true
|
|
channel: rubocop-0-54
|
|
scss-lint:
|
|
enabled: true
|
|
exclude_patterns:
|
|
- spec/
|
|
- vendor/asset
|