config/enabled.yml in rubocop-0.14.1 vs config/enabled.yml in rubocop-0.15.0

- old
+ new

@@ -1,11 +1,9 @@ # These are all the cops that are enabled in the default configuration. -AccessControl: - Description: > - Indent private/protected as deep as defs and keep blank - lines around them. +AccessModifierIndentation: + Description: Check indentation of private/protected visibility modifiers. Enabled: true Alias: Description: 'Use alias_method instead of alias.' Enabled: true @@ -101,10 +99,14 @@ ConstantName: Description: 'Constants should use SCREAMING_SNAKE_CASE.' Enabled: true +CyclomaticComplexity: + Description: 'Avoid complex methods.' + Enabled: true + DefWithParentheses: Description: 'Use def with parentheses when there are arguments.' Enabled: true DefWithoutParentheses: @@ -123,10 +125,18 @@ EmptyLines: Description: "Don't use several empty lines in a row." Enabled: true +EmptyLinesAroundAccessModifier: + Description: "Keep blank lines around access modifiers." + Enabled: true + +EmptyLinesAroundBody: + Description: "Keeps track of blank lines around expression bodies." + Enabled: true + EmptyLineBetweenDefs: Description: 'Use empty lines between defs.' Enabled: true EmptyLiteral: @@ -565,9 +575,13 @@ ##################### Rails ################################## HasAndBelongsToMany: Description: 'Prefer has_many :through to has_and_belongs_to_many.' + Enabled: true + +Output: + Description: 'Checks for calls to puts, print, etc.' Enabled: true ReadAttribute: Description: 'Prefer self[:attribute] over read_attribute(:attribute).' Enabled: true