From ed7ae2d2cd3be8e3f8f35cb07aa5fcb5be8cfebd Mon Sep 17 00:00:00 2001 From: Owen Smith Date: Tue, 14 Oct 2014 15:02:43 -0400 Subject: [PATCH] (chore) EditorConfig setup --- .editorconfig | 13 +++++++++++++ .npmignore | 3 ++- README.md | 8 +++++++- 3 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..81fb52f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,13 @@ +root = true + +[*] +charset = utf8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = tab +indent_size = 4 + +[{package.json,.travis.yml}] +indent_style = space +indent_size = 2 diff --git a/.npmignore b/.npmignore index db04f9e..3860573 100644 --- a/.npmignore +++ b/.npmignore @@ -2,7 +2,8 @@ .gitattributes .gitignore .npmignore +.editorconfig node_modules test gulpfile.js -typography.css.less \ No newline at end of file +typography.css.less diff --git a/README.md b/README.md index 7274af9..2d3f63f 100644 --- a/README.md +++ b/README.md @@ -32,4 +32,10 @@ To test using Karma: ```shell gulp test -``` \ No newline at end of file +``` + +## Contributing + +### Code Style + +This repository is configured with [EditorConfig](http://editorconfig.org) rules and contributions should make use of them. See the valence-ui [Code Style wiki page](https://github.com/Desire2Learn-Valence/valence-ui-helpers/wiki/Code-Style) for details.