Closed mitogh closed 8 years ago
:+1: @mitogh I am all for this. Some quick question
.editorconfig
to have automated checking?Definitely on board with the Airbnb guide, it is what I personally follow as well.
Well basically SMACSS it's a good practices to name the classes, this guide it's more like use 2 spaces for indentation of CSS, SASS, HTML. The order of the properties of each selector but does not conflict with SMACSS.
Yes I think we can use that based on .editorconfig
cc @jeffreynolte
Works for me @mitogh
Thanks @jeffreynolte, I already added the AIRBN rules:
https://github.com/moxienyc/Lean/blob/development/.jscsrc
And two tasks to review the code:
gulp jscs // Review rules from airbn style guide
gulp reviewJS // Review AIRBN rules and jsHint rules.
:+1: Nice!
This has been completed for JS
PHP sniffer rules has been added.
:tada: :balloon:
Great now travis :astonished: :wine_glass:
Closing this one.
Wordpress code standards it's good but personally there few things were I'm not very comfortable regarding to the rules they follow so here are some changes I suggest to this, of course if you are not agree with this we can keep the way it's at the moment. So if you are agree just add :+1: and if not :-1: and a reason about it.
Basically I want to change the way we are indented the HTML and CSS and JS.
In the case of PHP code like:
I think there we could follow WP standards. This is easily customizable with the .editorconfig. So please let me know your thoughts.
@jeffreynolte @wissambellali @desaiuditd @nacho87
Thank you.