diff --git a/CHANGELOG.md b/CHANGELOG.md index 1fe0be12e4..c46e6636e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ * [#170](https://github.com/rubocop-hq/rubocop-rails/pull/170): Make `Rails/BulkChangeTable` not suggest combining methods with an intervening block. ([@mvz][]) * [#159](https://github.com/rubocop-hq/rubocop-rails/issues/159): Fix autocorrect for `Rails/EnumHash` when using % arrays notations. ([@ngouy][]) +### Changes + +* [#166](https://github.com/rubocop-hq/rubocop-rails/issues/166): Add db/schema.rb and bin/* to the excluded files. ([@fidalgo][]) + ## 2.4.0 (2019-11-27) ### New features @@ -115,3 +119,4 @@ [@DNA]: https://github.com/DNA [@ngouy]: https://github.com/ngouy [@mvz]: https://github.com/mvz +[@fidalgo]: https://github.com/fidalgo diff --git a/config/default.yml b/config/default.yml index b732b02ed5..35c987caee 100644 --- a/config/default.yml +++ b/config/default.yml @@ -2,7 +2,8 @@ AllCops: Exclude: - - bin/bundle + - bin/* + - db/schema.rb # What version of Rails is the inspected code using? If a value is specified # for TargetRailsVersion then it is used. Acceptable values are specificed # as a float (i.e. 5.1); the patch version of Rails should not be included.