Files
activeadmin-quill_editor/.rubocop.yml
Mattia Roccoberton 4a0ea5e8f2 Add linter workflow
2021-06-02 15:52:19 +02:00

45 строки
616 B
YAML

---
inherit_from:
- https://relaxed.ruby.style/rubocop.yml
require:
- rubocop-packaging
- rubocop-performance
- rubocop-rails
- rubocop-rspec
AllCops:
Exclude:
- bin/*
- db/schema.rb
- spec/dummy/**/*
- vendor/**/*
NewCops: enable
Gemspec/RequiredRubyVersion:
Enabled: false
Naming/FileName:
Enabled: false
Layout/LineLength:
Enabled: true
Max: 120
RSpec/ExampleLength:
# default 5
Max: 12
RSpec/MultipleExpectations:
# default 1
Max: 4
Style/HashEachMethods:
Enabled: true
Style/HashTransformKeys:
Enabled: true
Style/HashTransformValues:
Enabled: true