File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change
1
+ inherit_from : ../../.rubocop.yml
2
+
3
+ Style/StringLiterals :
4
+ Enabled : false
Original file line number Diff line number Diff line change 36
36
src/main/ruby
37
37
src/test/ruby
38
38
tool/generate-sulongmock.rb
39
+ spec/truffle
39
40
]
40
41
41
42
MAC = RbConfig ::CONFIG [ 'host_os' ] . include? ( 'darwin' )
@@ -1961,9 +1962,7 @@ def rubocop(*args)
1961
1962
"GEM_PATH" => gem_home ,
1962
1963
"PATH" => "#{ gem_home } /bin:#{ ENV [ 'PATH' ] } "
1963
1964
}
1964
- if i = args . index ( '--specs' )
1965
- args [ i ..i ] = %w[ -c spec/ruby/.rubocop.yml spec/truffle ]
1966
- elsif args . empty? or args . all? { |arg | arg . start_with? ( '-' ) }
1965
+ if args . empty? or args . all? { |arg | arg . start_with? ( '-' ) }
1967
1966
args += RUBOCOP_INCLUDE_LIST
1968
1967
end
1969
1968
sh env , "ruby" , "#{ gem_home } /bin/rubocop" , *args
@@ -2033,7 +2032,6 @@ def lint(*args)
2033
2032
check_dsl_usage unless args . delete '--no-build'
2034
2033
check_filename_length
2035
2034
rubocop
2036
- rubocop ( '--specs' )
2037
2035
sh "tool/lint.sh"
2038
2036
checkstyle
2039
2037
check_parser
You can’t perform that action at this time.
0 commit comments