From 83e1313b1a71a7b0d34c0423026882317e277db7 Mon Sep 17 00:00:00 2001 From: Mac Siri Date: Fri, 13 Dec 2019 16:28:31 -0500 Subject: [PATCH] Expand Lint-staged's file coverage (#5109) [ci skip] --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 37360c3b6..f5224f972 100644 --- a/package.json +++ b/package.json @@ -26,12 +26,16 @@ "eslint --fix", "git add" ], - "{app,spec}/**/*.rb": [ + "{app,spec,config,lib}/**/*.rb": [ + "bundle exec rubocop --require rubocop-rspec --safe-auto-correct", + "git add" + ], + "Gemfile": [ "bundle exec rubocop --require rubocop-rspec --safe-auto-correct", "git add" ], "app/**/*.html.erb": [ - "bin/bundle exec erblint", + "bundle exec erblint", "git add" ], "*.json": [