From 5cebe1d1f9a2bae2dacfa6f6a73d7a53b9dbb0e7 Mon Sep 17 00:00:00 2001 From: marco Date: Thu, 23 Jul 2015 13:47:34 +0200 Subject: [PATCH] Refactoring contributing guidelines. --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3865b434eb..69ad4fa7d3 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,7 +1,7 @@ # Contributing ## Coding guidelines -- Two spaces indentation, Ruby style. +- Two spaces indentation. - CamelCase for classes. - camelCase for methods & variables. - Max line length at 80 chars. @@ -9,4 +9,4 @@ - Classes can be no longer than 100 LOC. - Methods can be no longer than 5 LOC. - Pass no more than 4 parameters/hash keys into a method. -- Routes can instantiate only one object. Therefore, views can only know about one instance variable and views should only send messages to that object ($object->collaborator->value is not allowed). +- Routes can instantiate only one object.