Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tomlutzenberger/coding-guideline-collection

A collection of Config- and Linter-Files based on common coding guidelines
https://github.com/tomlutzenberger/coding-guideline-collection

best-practices collection configuration guideline linter publish-website standards

Last synced: 2 days ago
JSON representation

A collection of Config- and Linter-Files based on common coding guidelines

Awesome Lists containing this project

README

        

# 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](http://editorconfig.org/) - ([Official Docs](https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties))
* [HTMLHint](http://htmlhint.com/) - ([Official Docs](https://github.com/yaniswang/HTMLHint/wiki/Rules))
* [CSSLint](http://csslint.net/) - ([Official Docs](https://github.com/CSSLint/csslint/wiki/Rules))
* [CSSComb](http://csscomb.com/)
* [JSHint](http://jshint.com/) - ([Official Docs](http://jshint.com/docs/))
* [JSCS (includes ESLint now)](http://jscs.info/) - ([Official Docs](http://jscs.info/rules))
* [ESLint](http://eslint.org/) - ([Official Docs](http://eslint.org/docs/rules/))
* [Babel](https://babeljs.io/) - ([Official Docs](https://babeljs.io/docs/usage/babelrc/))

## 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](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/angularjs/) (TypeScript, JS)
* [Bootstrap](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/bootstrap/) (CSS, HTML, JS, LESS, SASS)
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/) (C++, CSS, HTML, JS, Java, Lisp, Objective-C, Python, R, Shell, XML)
* [Joomla](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/joomla/) (PHP, HTML, CSS, JS)
* [jQuery](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/jquery/) (JS, HTML, CSS))
* [Microsoft](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/microsoft/) (C#, Visual Basic)
* [Mozilla](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/mozilla/) (Python, Java, SVG)
* [NodeJS](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/nodejs/) (C++, Phyton, JS)
* [Open Knowledge Foundation](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/open-knowledge-foundation/) (CSS, HTML, JS, Python)
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/) (CSS, HTML, JS/JSON, LESS, PHP, SQL, Typoscript)
* [Wordpress](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/wordpress/) (PHP, HTML, CSS, JS)

### C
* [Apache](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/apache-c/)
* [Embedded C](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/embedded-c/)
* [GNU](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/gnu-c/)
* [Linux Kernel](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/linux-kernel/)

### C++
* [Geosoft](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/geosoft-c++/)
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [High Integrity](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/high-integrity-c++/)

### C#
* [Microsoft](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/microsoft/)

### CSS
* [Bootstrap](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/bootstrap/)
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [jQuery](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/jquery/)
* [Open Knowledge Foundation](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/open-knowledge-foundation/)
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)

### Erlang
* [Erlang (Official)](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/erlang-official/)

### HTML
* [Bootstrap](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/bootstrap/)
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [jQuery](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/jquery/)
* [Open Knowledge Foundation](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/open-knowledge-foundation/)
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)

### Java
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [Oracle](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/java-oracle/)

### Javascript/JSON
* [AngularJS](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/angularjs/)
* [Bootstrap](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/bootstrap/)
* [Douglas Crockford](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/javascript-douglas-crockford/)
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [jQuery](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/jquery/)
* [Open Knowledge Foundation](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/open-knowledge-foundation/)
* [NodeJS](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/nodejs/)
* [React](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/reactjs/)
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)

### LESS
* [Bootstrap](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/bootstrap/)
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)

### Lisp
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)

### MATLAB
* [Cornell University](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/matlab-cornell-university/)
* [MATLAB (Official)](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/matlab-official/)

### Objective-C
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [Raywenderlich](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/objective-c-raywenderlich/)

### Perl
* [Perl (Official)](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/perl-official/)

### PHP
* [Drupal](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/drupal/)
* [Laravel](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/laravel/)
* [PEAR](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/php-pear/)
* [PSR-1](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/php-psr-1/)
* [PSR-2](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/php-psr-2/)
* [Symfony](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/symfony/)
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)
* [Zend](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/zend/)

### Python
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)
* [Open Knowledge Foundation](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/open-knowledge-foundation/)
* [Python (Official)](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/python-official/)

### R
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)

### Ruby
* [Ian Macdonald](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/ruby-ian-macdonald/)

### Shell
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)

### SQL
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)

### Swift
* [Github](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/swift-github/)
* [Raywenderlich](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/swift-raywenderlich/)

### TypeScript
* [AngularJS](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/angularjs/)

### Typoscript
* [Typo3](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/typo3/)

### Visual Basic
* [Microsoft](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/microsoft/)

### XML
* [Google](https://github.com/tomlutzenberger/coding-guideline-collection/blob/master/google/)

## 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](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