File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22AllCops :
33 Exclude :
44 - vendor/**/*
5- Documentation :
6- Enabled : false
7- Layout/ParameterAlignment :
8- Enabled : true
9- HashSyntax :
10- Enabled : true
11- LineLength :
12- Enabled : false
13- EmptyLinesAroundBlockBody :
14- Enabled : false
15- Style/Encoding :
16- Enabled : false
17- MethodLength :
18- Max : 40
19- NumericLiterals :
20- MinDigits : 10
21- Metrics/BlockLength :
22- Max : 35
23- Metrics/CyclomaticComplexity :
24- Max : 10
25- Metrics/PerceivedComplexity :
26- Max : 10
27- Metrics/AbcSize :
28- Max : 30
29- # Lint/AmbiguousBlockAssociation is incompatible with RSpec
30- # https://github.com/rubocop-hq/rubocop/issues/4222
31- Lint/AmbiguousBlockAssociation :
32- Enabled : false
Original file line number Diff line number Diff line change 22
33source 'https://rubygems.org'
44
5+ gem 'cookstyle'
56gem 'highline'
67gem 'rack'
78gem 'rake'
Original file line number Diff line number Diff line change @@ -9,6 +9,10 @@ task :rubocop do
99 RuboCop ::RakeTask . new
1010end
1111
12+ RuboCop ::RakeTask . new ( :cookstyle ) do |task |
13+ task . options << '--display-cop-names'
14+ end
15+
1216# lint the project
1317desc 'Run robocop linter'
1418task lint : [ :rubocop ]
You can’t perform that action at this time.
0 commit comments