Skip to content

Commit d958695

Browse files
committed
PR Comments:
*update rubocop settings
1 parent 6697323 commit d958695

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.rubocop.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ inherit_from:
44
AllCops:
55
Exclude:
66
# Templates are really ERB which Rubocop does not parse
7+
- bin/**/*
78
- lib/generators/rspec/*/templates/**/*
89

910
Bundler/DuplicatedGem:

script/functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ function check_documentation_coverage {
177177

178178
function check_style_and_lint {
179179
echo "bin/rubocop"
180-
eval "(unset RUBYOPT; exec bin/rubocop)"
180+
eval "(unset RUBYOPT; rm tmp/*; exec bin/rubocop)"
181181
}
182182

183183
function run_all_spec_suites {

0 commit comments

Comments
 (0)