This repository has been archived by the owner on Jun 27, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update directories excluded by rubocop (#1096)
* Update directories excluded by rubocop By excluding the `log` and `tmp` directories, we can speed up the local execution of rubocop a bit. Over the time, especially the `tmp` directory collects loads of files (e.g. from letter_opener) and we want to spare rubocop having to dig through all of them. * Attempt to merge excludes * A different attempt on merging the excludes * Remove deprecated cop This cop used to report false positives. * Inherit Rubocop's default exclude list * Update Rubocop We were on a "difficult" version 😉 Also: include some quick drive-by fixes.
- Loading branch information
1 parent
ee164fc
commit dee0319
Showing
5 changed files
with
22 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
require: rubocop-rspec | ||
|
||
inherit_from: .rubocop_todo.yml | ||
inherit_from: | ||
- .rubocop_todo.yml | ||
|
||
inherit_mode: | ||
merge: | ||
- Exclude | ||
|
||
AllCops: | ||
DisplayCopNames: true | ||
DisplayStyleGuide: true | ||
Exclude: | ||
- 'tmp/**/*' | ||
- 'log/**/*' | ||
|
||
Rails: | ||
Enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
db/migrate/20170720135154_rename_attendance_to_conference_preference.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters