Permalink
Browse files

Update RBP config

  • Loading branch information...
1 parent 2623daf commit b4e0bfbcdb9fb51ecfe0daae8964be442d06a4bd @timurvafin timurvafin committed Oct 15, 2012
Showing with 29 additions and 24 deletions.
  1. +29 −24 config/rails_best_practices.yml
@@ -1,32 +1,37 @@
-MoveFinderToNamedScopeCheck: { }
-UseModelAssociationCheck: { }
-UseScopeAccessCheck: { }
AddModelVirtualAttributeCheck: { }
-ReplaceComplexCreationWithFactoryMethodCheck: { attribute_assignment_count: 2 }
-MoveModelLogicIntoModelCheck: { use_count: 4 }
-OveruseRouteCustomizationsCheck: { customize_count: 3 }
-NeedlessDeepNestingCheck: { nested_count: 2 }
-NotUseDefaultRouteCheck: { }
+AlwaysAddDbIndexCheck: { }
+DryBundlerInCapistranoCheck: { }
+HashSyntaxCheck: { }
+IsolateSeedDataCheck: { }
KeepFindersOnTheirOwnModelCheck: { }
LawOfDemeterCheck: { }
-UseObserverCheck: { }
-IsolateSeedDataCheck: { }
-AlwaysAddDbIndexCheck: { }
-UseBeforeFilterCheck: { customize_count: 2 }
+#LongLineCheck: { max_line_length: 80 }
MoveCodeIntoControllerCheck: { }
-MoveCodeIntoModelCheck: { use_count: 2 }
MoveCodeIntoHelperCheck: { array_count: 3 }
-ReplaceInstanceVariableWithLocalVariableCheck: { }
-DryBundlerInCapistranoCheck: { }
-UseSayWithTimeInMigrationsCheck: { }
-UseQueryAttributeCheck: { }
-RemoveTrailingWhitespaceCheck: { }
-UseMultipartAlternativeAsContentTypeOfEmailCheck: { }
-SimplifyRenderInViewsCheck: { }
-SimplifyRenderInControllersCheck: { }
+MoveCodeIntoModelCheck: { use_count: 2 }
+MoveFinderToNamedScopeCheck: { }
+MoveModelLogicIntoModelCheck: { use_count: 4 }
+NeedlessDeepNestingCheck: { nested_count: 2 }
+NotUseDefaultRouteCheck: { }
+NotUseTimeAgoInWordsCheck: { }
+OveruseRouteCustomizationsCheck: { customize_count: 3 }
+ProtectMassAssignmentCheck: { }
RemoveEmptyHelpersCheck: { }
RemoveTabCheck: { }
-RestrictAutoGeneratedRoutesCheck: { }
-# RemoveUnusedMethodsInModelsCheck: { except_methods: [] }
+RemoveTrailingWhitespaceCheck: { }
RemoveUnusedMethodsInControllersCheck: { except_methods: [] }
-# RemoveUnusedMethodsInHelpersCheck: { except_methods: [] }
+RemoveUnusedMethodsInHelpersCheck: { except_methods: [] }
+RemoveUnusedMethodsInModelsCheck: { except_methods: [] }
+ReplaceComplexCreationWithFactoryMethodCheck: { attribute_assignment_count: 2 }
+ReplaceInstanceVariableWithLocalVariableCheck: { }
+RestrictAutoGeneratedRoutesCheck: { }
+SimplifyRenderInControllersCheck: { }
+SimplifyRenderInViewsCheck: { }
+#UseBeforeFilterCheck: { customize_count: 2 }
+UseModelAssociationCheck: { }
+UseMultipartAlternativeAsContentTypeOfEmailCheck: { }
+#UseParenthesesInMethodDefCheck: { }
+UseObserverCheck: { }
+UseQueryAttributeCheck: { }
+UseSayWithTimeInMigrationsCheck: { }
+UseScopeAccessCheck: { }

0 comments on commit b4e0bfb

Please sign in to comment.