From faefc0b293ffed9e42a6c70412f1a8eded3fe88b Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Wed, 26 Jun 2019 09:46:31 +1200 Subject: [PATCH] the --rails flag isn't needed for rubocop anymore --- .overcommit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.overcommit.yml b/.overcommit.yml index a9ee0ed8c..2d7ed3b8d 100644 --- a/.overcommit.yml +++ b/.overcommit.yml @@ -22,7 +22,7 @@ PreCommit: problem_on_unmodified_line: warn RuboCop: enabled: true - command: ['bundle', 'exec', 'rubocop', '-D', '--rails'] + command: ['bundle', 'exec', 'rubocop', '-D'] TrailingWhitespace: enabled: true exclude: