Coding Guideline Collection
This is a collection of files, which follow common coding guidelines.
It is intended to make developers life easier and help them to code better.
Supported Files
- EditorConfig - (Official Docs)
- HTMLHint - (Official Docs)
- CSSLint - (Official Docs)
- CSSComb
- JSHint - (Official Docs)
- JSCS (includes ESLint now) - (Official Docs)
- ESLint - (Official Docs)
- Babel - (Official Docs)
Languages and Guidelines
General
Projects or Organisations using multiple languages.
To prevent having a bunch of files with only few rules, they are combined in one single file per Project/Organisation.
- AngularJS (TypeScript, JS)
- Bootstrap (CSS, HTML, JS, LESS, SASS)
- Google (C++, CSS, HTML, JS, Java, Lisp, Objective-C, Python, R, Shell, XML)
- Joomla (PHP, HTML, CSS, JS)
- jQuery (JS, HTML, CSS))
- Microsoft (C#, Visual Basic)
- Mozilla (Python, Java, SVG)
- NodeJS (C++, Phyton, JS)
- Open Knowledge Foundation (CSS, HTML, JS, Python)
- Typo3 (CSS, HTML, JS/JSON, LESS, PHP, SQL, Typoscript)
- Wordpress (PHP, HTML, CSS, JS)
C
C++
C#
CSS
Erlang
HTML
Java
Javascript/JSON
LESS
Lisp
MATLAB
Objective-C
Perl
PHP
Python
R
Ruby
Shell
SQL
Swift
TypeScript
Typoscript
Visual Basic
XML
Missing files
If a file you need is missing, let me know by opening a new issue.
You can also create a pull request to provide it yourself.
Attribution
Links to original files or corresponding ressources can be found in the respective files.
License
This collection is published under the MIT License and can be used for any commercial and personal projects.
Changelog
- 2016-10-28 - Updated and extended Drupal coding standard
- 2016-10-27 - Updated and extended Bootstrap coding standard
- 2016-10-26 - Added NodeJS, React, Symfony and AngularJS coding standards
- 2016-10-25 - Updated Typo3 coding standards
- 2016-10-19 - Added Swift and Objective-C coding standards
- 2016-10-15 - Restructured directories and files
- 2016-09-20 - Added Laravel coding standard
- 2016-07-19 - Renamed repository, reorganized files and introduced Linter files (starting with Bootstrap)
- 2016-07-04 - Added Bootstrap coding standard
- 2016-06-30 - Added Geosoft C++ coding standard
- 2016-06-29 - Added Microsoft and MATLAB coding standards
- 2016-06-28 - Added Erlang, GNU C, Linux Kernel, Open Knowledge Foundation and Embedded C coding standards
- 2016-06-27 - Added several coding standards (General, C, JavaScript, PHP, Ruby)
- 2016-06-26 - Added PHP PEAR, Perl, Python and Oracle Java coding standard
- 2016-06-25 - Added Zend and Mozilla coding standard
- 2016-06-24 - Added PSR-1 and PSR-2 coding standard