Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
#
# See the README for instructions on using in a project.

require:
- rubocop-rails

AllCops:
# All cops should ignore files in the following locations:
Exclude:
Expand All @@ -30,7 +33,7 @@ Layout/DotPosition:
# Multi-line method chaining should be done with trailing dots.
EnforcedStyle: trailing

Layout/AlignHash:
Layout/HashAlignment:
EnforcedColonStyle:
- key
- table
Expand Down Expand Up @@ -98,7 +101,7 @@ Metrics/ModuleLength:
Metrics/CyclomaticComplexity:
Max: 9

Metrics/LineLength:
Layout/LineLength:
Max: 100
Exclude:
- 'db/migrate/*.rb'
Expand Down
3 changes: 2 additions & 1 deletion ndr_dev_support.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ Gem::Specification.new do |spec|
# Rubocop dependencies:
spec.add_dependency 'parser'
spec.add_dependency 'rainbow'
spec.add_dependency 'rubocop', '0.71.0'
spec.add_dependency 'rubocop', '0.79.0'
spec.add_dependency 'rubocop-rails', '2.4.1'
spec.add_dependency 'unicode-display_width', '>= 1.3.3'

# Integration test dependencies:
Expand Down