Include Rails rules in rubocop scans
https://github.com/bbatsov/rubocop/blob/master/manual/basic_usage.md#basic-usage
This commit is contained in:
parent
e1a70823fb
commit
31c50255e9
1 changed files with 2 additions and 2 deletions
|
|
@ -13,14 +13,14 @@ fi
|
||||||
|
|
||||||
case $TEST_SUITE in
|
case $TEST_SUITE in
|
||||||
linters)
|
linters)
|
||||||
bundle exec rubocop -Dc .rubocop.yml
|
bundle exec rubocop -DRc .rubocop.yml
|
||||||
bundle exec haml-lint app/views
|
bundle exec haml-lint app/views
|
||||||
;;
|
;;
|
||||||
rspec)
|
rspec)
|
||||||
bundle exec rspec --color --format documentation
|
bundle exec rspec --color --format documentation
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
bundle exec rubocop -Dc .rubocop.yml
|
bundle exec rubocop -DRc .rubocop.yml
|
||||||
bundle exec haml-lint app/views
|
bundle exec haml-lint app/views
|
||||||
bundle exec rspec --color --format documentation
|
bundle exec rspec --color --format documentation
|
||||||
;;
|
;;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue