jquery/jquery-ui — pull request #606 by treyhunner (2012-02-28 14:58:56+00:00)
Title: Add EditorConfig file denoting indentation for JS

This `.editorconfig` file defines the indentation style used in all jQuery UI JavaScript libraries.

[EditorConfig][] is a file format for defining coding conventions in shared code bases. EditorConfig plugins are available for [many popular text editors][plugins].

With this `.editorconfig` file present code contributors with an EditorConfig plugin installed will find adhering to the defined indentation style more natural.

As can be seen from the indentation fixes I made in #605, jQuery UI contributors sometimes mistakenly use spaces for indentation and they are not always consistent in their use of space (some use [2 spaces][], some use [4 spaces][], and some use [8 spaces][]).

Note: I co-created EditorConfig last year. We greatly appreciate feedback on the project.

[EditorConfig]: http://editorconfig.org "EditorConfig homepage"
[plugins]: http://editorconfig.org/#download
[2 spaces]: https://github.com/jquery/jquery-ui/pull/605/files#L5L5
[4 spaces]: https://github.com/jquery/jquery-ui/pull/605/files#L8L628
[8 spaces]: https://github.com/jquery/jquery-ui/pull/605/files#L9L372