Skip to content

Commit cbc0673

Browse files
authored
Merge pull request #168 from fidalgo/ignore-db-schema-and-bin-directory
[Fix #166] Ignore db/schema and bin
2 parents 5f60b16 + b1756fe commit cbc0673

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@
77
* [#170](https://github.com/rubocop-hq/rubocop-rails/pull/170): Make `Rails/BulkChangeTable` not suggest combining methods with an intervening block. ([@mvz][])
88
* [#159](https://github.com/rubocop-hq/rubocop-rails/issues/159): Fix autocorrect for `Rails/EnumHash` when using % arrays notations. ([@ngouy][])
99

10+
### Changes
11+
12+
* [#166](https://github.com/rubocop-hq/rubocop-rails/issues/166): Add db/schema.rb and bin/* to the excluded files. ([@fidalgo][])
13+
1014
## 2.4.0 (2019-11-27)
1115

1216
### New features
@@ -115,3 +119,4 @@
115119
[@DNA]: https://github.com/DNA
116120
[@ngouy]: https://github.com/ngouy
117121
[@mvz]: https://github.com/mvz
122+
[@fidalgo]: https://github.com/fidalgo

config/default.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22

33
AllCops:
44
Exclude:
5-
- bin/bundle
5+
- bin/*
6+
- db/schema.rb
67
# What version of Rails is the inspected code using? If a value is specified
78
# for TargetRailsVersion then it is used. Acceptable values are specificed
89
# as a float (i.e. 5.1); the patch version of Rails should not be included.

0 commit comments

Comments
 (0)