-
-
Save vladvinnikov/4a721769ffb7d8b0fbaf to your computer and use it in GitHub Desktop.
Revisions
-
gambala created this gist
Feb 3, 2016 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,46 @@ 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/**/*