forked from thoughtbot/paperclip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Code Climate Config (thoughtbot#2275)
Adds a Code Climate configuration enabling Fixme, Rubocop, and Duplication. The Code Climate RuboCop engine uses a newer version of RuboCop than the current Hound config, so .hound.yml was modified to work for both. The only notable change was removing PreferredHashMethods because there is no syntax for that cop that works with bout Hound and Code Climate.
- Loading branch information
Showing
2 changed files
with
22 additions
and
16 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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
engines: | ||
duplication: | ||
enabled: true | ||
config: | ||
languages: | ||
- ruby | ||
fixme: | ||
enabled: true | ||
rubocop: | ||
enabled: true | ||
ratings: | ||
paths: | ||
- "**.rb" | ||
exclude_paths: | ||
- features/ | ||
- spec/ |
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