Created
February 3, 2016 18:41
-
-
Save gambala/0ce124eff5ae2e846592 to your computer and use it in GitHub Desktop.
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
inherit_from: .rubocop_todo.yml | |
AllCops: | |
Exclude: | |
- 'bin/*' | |
- 'db/schema.rb' | |
- 'tmp/**/*' | |
- 'vendor/**/*' | |
RunRailsCops: true | |
Documentation: | |
Enabled: false | |
LineLength: | |
Enabled: false | |
Max: 100 | |
Lint/AssignmentInCondition: | |
Enabled: false | |
Rails/ActionFilter: | |
Enabled: false | |
Style/CollectionMethods: | |
Description: Preferred collection methods. | |
StyleGuide: https://github.com/bbatsov/ruby-style-guide#map-find-select-reduce-size | |
Enabled: true | |
PreferredMethods: | |
collect: map | |
collect!: map! | |
find: detect | |
find_all: select | |
reduce: inject | |
Style/FileName: | |
Description: Use snake_case for source file names. | |
StyleGuide: https://github.com/bbatsov/ruby-style-guide#snake-case-files | |
Enabled: false | |
Exclude: [] | |
Style/MultilineOperationIndentation: | |
Enabled: false | |
Style/PredicateName: | |
Description: Check the names of predicate methods. | |
StyleGuide: https://github.com/bbatsov/ruby-style-guide#bool-methods-qmark | |
Enabled: true | |
NamePrefix: | |
- is_ | |
- has_ | |
- have_ | |
NamePrefixBlacklist: | |
- is_ | |
Exclude: | |
- spec/**/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment