| 1 |
# http://EditorConfig.org |
| 2 |
# |
| 3 |
# Julien Fontanet's configuration |
| 4 |
# https://gist.github.com/julien-f/8096213 |
| 5 |
|
| 6 |
# Top-most EditorConfig file. |
| 7 |
root = true |
| 8 |
|
| 9 |
# Common config. |
| 10 |
[*] |
| 11 |
charset = utf-8 |
| 12 |
end_of_line = lf |
| 13 |
insert_final_newline = true |
| 14 |
trim_trailing_whitespaces = true |
| 15 |
|
| 16 |
# CoffeeScript |
| 17 |
# |
| 18 |
# https://github.com/polarmobile/coffeescript-style-guide/blob/master/README.md |
| 19 |
[*.{,lit}coffee] |
| 20 |
indent_size = 2 |
| 21 |
indent_style = space |
| 22 |
|
| 23 |
# Markdown |
| 24 |
[*.{md,mdwn,mdown,markdown}] |
| 25 |
indent_size = 2 |
| 26 |
indent_style = space |
| 27 |
|
| 28 |
# Package.json |
| 29 |
# |
| 30 |
# This indentation style is the one used by npm. |
| 31 |
[/package.json] |
| 32 |
indent_size = 2 |
| 33 |
indent_style = space |
| 34 |
|
| 35 |
# Jade |
| 36 |
[*.jade] |
| 37 |
indent_size = 2 |
| 38 |
indent_style = space |
| 39 |
|
| 40 |
# JavaScript |
| 41 |
# |
| 42 |
# Two spaces seems to be the standard most common style, at least in |
| 43 |
# Node.js (http://nodeguide.com/style.html#tabs-vs-spaces). |
| 44 |
[*.js] |
| 45 |
indent_size = 2 |
| 46 |
indent_style = space |
| 47 |
|
| 48 |
# Less |
| 49 |
[*.js] |
| 50 |
indent_size = 2 |
| 51 |
indent_style = space |
| 52 |
|
| 53 |
# Sass |
| 54 |
# |
| 55 |
# Style used for http://libsass.com |
| 56 |
[*.s[ac]ss] |
| 57 |
indent_size = 2 |
| 58 |
indent_style = space |
| 59 |
|
| 60 |
# YAML |
| 61 |
# |
| 62 |
# Only spaces are allowed. |
| 63 |
[*.yaml] |
| 64 |
indent_size = 2 |
| 65 |
indent_style = space |