Skip to content

Commit

Permalink
adds .editorconfig from mofo-style
Browse files Browse the repository at this point in the history
  • Loading branch information
josmas committed Mar 20, 2016
1 parent 3120104 commit 20cd324
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# EditorConfig : http://EditorConfig.org - Copied from node_modules/mofo-style
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
6 changes: 5 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ Refer to the [README](README.md).

## Code Style

### Editor
Please use an editor with support for [ESLint](http://eslint.org/) and [EditorConfig](http://editorconfig.org/). Configuration
files for both tools are provided in the root directory of the project.

### JavaScript

See [Mozilla Foundation JavaScript Style Guide](https://www.npmjs.com/package/mofo-style)
Expand Down Expand Up @@ -55,4 +59,4 @@ Run tests with `mocha` or `npm test`.
- If your PR is ready for review, another contributor will be assigned to review your PR within 1 business day
- The reviewer will comment on the PR with a final r+ or r-, along with inline comments on the code (if any)
- r-: address the comments left by the reviewer. Once you're ready to continue the review, ping the reviewer in a comment.
- r+: You code will be merged to `master`
- r+: You code will be merged to `master`

0 comments on commit 20cd324

Please sign in to comment.