Skip to content

Commit 2cd4a5c

Browse files
committed
Add rubocop
1 parent 66ea276 commit 2cd4a5c

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.rubocop.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# The behavior of RuboCop can be controlled via the .rubocop.yml
2+
# configuration file. It makes it possible to enable/disable
3+
# certain cops (checks) and to alter their behavior if they accept
4+
# any parameters. The file can be placed either in your home
5+
# directory or in some project directory.
6+
#
7+
# RuboCop will start looking for the configuration file in the directory
8+
# where the inspected file is and continue its way up to the root directory.
9+
#
10+
# See https://docs.rubocop.org/rubocop/configuration
11+
Layout/LineLength:
12+
Max: 120

recursive-open-struct.gemspec

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Gem::Specification.new do |s|
4040
s.add_development_dependency('rake', [">= 0"])
4141
s.add_development_dependency('rdoc', [">= 0"])
4242
s.add_development_dependency('rspec', "~> 3.2")
43+
s.add_development_dependency('rubocop', ['>= 0'])
4344
s.add_development_dependency('simplecov', [">= 0"])
4445

4546
s.add_dependency('ostruct')

0 commit comments

Comments
 (0)