AlumnForce / coding-conventions

[DEPRECATED] Style guide & coding conventions for AlumnForce projects
Creative Commons Attribution 4.0 International
11 stars 2 forks source link

Missing code standards for other languages #8

Open mrDlef opened 6 years ago

mrDlef commented 6 years ago

We need to add coding standards for JavaScript, Twig, Less and those I may be miss.

ivanPrunier commented 6 years ago

Totally agree. How should we proceed?

Madorakkusu commented 6 years ago

We are starting to use BEM for Less and Airbnb's Javascript conventions. I agree that we should do something with Twig aswell. Although we are actually experiencing some trouble coding in ES6 (the platform is not happy about ES6 :cry: ) we are already coding with most of those conventions. I will talk to the Front Team so we can fully use BEM.

Here's BEM : http://getbem.com/ Here's Airbnb : https://github.com/airbnb/javascript

Maybe I should make a PR and add them someday ?

mrDlef commented 6 years ago

@Madorakkusu Yes if you can do that it would be cool :)

Madorakkusu commented 6 years ago

@daidais Sure ;)