Posted at

rubocopでAllCops/Excludesをリネームしろと言われるやつ

More than 5 years have passed since last update.

Travis-ciでrubocopが突然通らなくなった。

rubocop

AllCops/Excludes was renamed to AllCops/Exclude
rake aborted!

CHANGELOGによると、以下の通り。


AllCops/Excludes and AllCops/Includes were renamed to AllCops/Exclude and AllCops/Include for consistency with standard cop params.


なので、.rubocop.ymlで指定しているExcludes/IncludesExclude/Includeに直せば大丈夫 :thumbsup:

 AllCops:

- Excludes:
+ Exclude:
- !ruby/regexp /\/db\/schema\.rb$/
- !ruby/regexp /\/vendor\/.*/