config/rails.yml in rubocop-github-0.2.0 vs config/rails.yml in rubocop-github-0.2.1
- old
+ new
@@ -20,5 +20,36 @@
Rails/UniqBeforePluck:
Enabled: true
GitHub/RailsApplicationRecord:
Enabled: true
+
+
+# Exclude Rails ERB files from incompatible cops
+
+Lint/BlockAlignment:
+ Exclude:
+ - 'app/views/**/*.erb'
+
+Style/For:
+ Exclude:
+ - 'app/views/**/*.erb'
+
+Style/OneLineConditional:
+ Exclude:
+ - 'app/views/**/*.erb'
+
+Style/SpaceInsideParens:
+ Exclude:
+ - 'app/views/**/*.erb'
+
+Style/StringLiterals:
+ Exclude:
+ - 'app/views/**/*.erb'
+
+Style/TrailingBlankLines:
+ Exclude:
+ - 'app/views/**/*.erb'
+
+Style/TrailingWhitespace:
+ Exclude:
+ - 'app/views/**/*.erb'