Add .editorconfig and instructions on its use

This commit is contained in:
Tim Schaub
2015-04-04 14:17:31 +02:00
parent a19c58e490
commit 29596ced00
2 changed files with 23 additions and 0 deletions

View File

@@ -265,6 +265,14 @@ style of the existing OpenLayers 3 code, which includes:
* Use uppercase for `@const` variables.
### Configure your editor
If possible, configure your editor to follow the coding conventions of the
library. A `.editorconfig` file is included at the root of the repository that
can be used to configure whitespace and charset handling in your editor. See
that file for a description of the conventions. The [EditorConfig](
http://editorconfig.org/#download) site links to plugins for various editors.
### Pass the integration tests run automatically by the Travis CI system
The integration tests contain a number of automated checks to ensure that the