└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Code Style Guides 2 | 3 | A collection of code style guide and coding standards resources. 4 | 5 | ## Front-End style guides 6 | 7 | General front-end code style guides. 8 | 9 | - [Code Guide by @mdo](http://codeguide.co/) 10 | - [Coding Standards by CX Partners](https://github.com/cxpartners/coding-standards) 11 | - [Code Standards by Isobar](http://isobar-idev.github.io/code-standards/) 12 | - [Front-End Dev Guidelines by TMW](http://tech.tmw.co.uk/code/TMW-frontend-guidelines/) 13 | - [Google HTML/CSS Style Guide](https://google-styleguide.googlecode.com/svn/trunk/htmlcssguide.xml) 14 | - [Architect Front-end Rules](https://github.com/wearearchitect/Front-end-Rules) 15 | 16 | ## HTML style guides 17 | 18 | Coding standards aimed specifically at HTML 19 | 20 | - [WordPress HTML coding standards](https://make.wordpress.org/core/handbook/coding-standards/html/) 21 | 22 | ## CSS style guides 23 | 24 | Style guides for CSS or CSS Preprocessors 25 | 26 | - [CSS Guidelines by Harry Roberts](http://cssguidelin.es/) 27 | - [Sass guidelines by Hugo Giraudel](http://sass-guidelin.es/) 28 | - [Idiomatic CSS by Nicolas Gallagher](https://github.com/necolas/idiomatic-css) 29 | - [Idiomatic Sass by Anthony Short](https://github.com/anthonyshort/idiomatic-sass) 30 | - [Sass conventions by Le Wattman](https://github.com/lewattman/sass-conventions) 31 | - [WordPress CSS coding standards](https://make.wordpress.org/core/handbook/coding-standards/css/) 32 | - [Scss-Styleguide by Tim Hartmann](https://github.com/timhartmann/Scss-Styleguide) 33 | - [How I Write My Sass by Stu Robson](https://alwaystwisted.com/articles/2013-12-29-how-i-write-my-sass) 34 | 35 | ## JavaScript style guides 36 | 37 | Style guides for JavaScript or JS Frameworks 38 | 39 | - [Code Conventions for the JavaScript Programming Language by Douglas Crockford](http://javascript.crockford.com/code.html) 40 | - [Google JavaScript Style Guide](https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml) 41 | - [Airbnb JavaScript Style Guide](https://github.com/airbnb/javascript) 42 | - [WordPress JavaScript Coding Standards](https://make.wordpress.org/core/handbook/coding-standards/javascript/) 43 | - [Angular Style Guide by Go Cardless](https://github.com/gocardless/angularjs-style-guide) 44 | - [AngularJS Styleguide by Todd Motto](https://github.com/toddmotto/angularjs-styleguide) 45 | 46 | ## PHP style guides 47 | 48 | Style guides for PHP 49 | 50 | - [WordPress PHP coding standards](https://make.wordpress.org/core/handbook/coding-standards/php/) 51 | 52 | 53 | ## Resources 54 | 55 | - [Auto-formatting JavaScript Code Style](https://medium.com/@addyosmani/auto-formatting-javascript-code-style-fe0f98a923b8) --------------------------------------------------------------------------------