Skip to content

Commit

Permalink
Add config.ru to allowed files for rubocop
Browse files Browse the repository at this point in the history
Rubocop 0.31.0 now checks config.ru by default
  • Loading branch information
levilansing authored and mpapis committed Jan 31, 2016
1 parent d7627ff commit 078b31e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/plugins/pre_commit/checks/rubocop.rb
Expand Up @@ -5,10 +5,10 @@ module PreCommit
module Checks
class Rubocop < Plugin

WHITELIST = [
"\\.gemspec", "\\.jbuilder", "\\.opal", "\\.podspec", "\\.rake", "\\.rb",
"Berksfile", "Capfile", "Cheffile", "Gemfile", "Guardfile", "Podfile",
"Rakefile", "Thorfile", "Vagabondfile", "Vagrantfile"
WHITELIST = %w[
\.gemspec \.jbuilder \.opal \.podspec \.rake \.rb config\.ru
Berksfile Capfile Cheffile Gemfile Guardfile Podfile
Rakefile Thorfile Vagabondfile Vagrantfile
]

def self.aliases
Expand Down

0 comments on commit 078b31e

Please sign in to comment.