chore(.editorconfig): uniformize indent to 2 spaces
This commit is contained in:
parent
b580ea98a7
commit
d8eb5d4934
@ -3,63 +3,12 @@
|
|||||||
# Julien Fontanet's configuration
|
# Julien Fontanet's configuration
|
||||||
# https://gist.github.com/julien-f/8096213
|
# https://gist.github.com/julien-f/8096213
|
||||||
|
|
||||||
# Top-most EditorConfig file.
|
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
# Common config.
|
|
||||||
[*]
|
[*]
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
end_of_line = lf
|
||||||
|
indent_size = 2
|
||||||
|
indent_style = space
|
||||||
insert_final_newline = true
|
insert_final_newline = true
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
# CoffeeScript
|
|
||||||
#
|
|
||||||
# https://github.com/polarmobile/coffeescript-style-guide/blob/master/README.md
|
|
||||||
[*.{,lit}coffee]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# Markdown
|
|
||||||
[*.{md,mdwn,mdown,markdown}]
|
|
||||||
indent_size = 4
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# Package.json
|
|
||||||
#
|
|
||||||
# This indentation style is the one used by npm.
|
|
||||||
[package.json]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# Pug (Jade)
|
|
||||||
[*.{jade,pug}]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# JavaScript
|
|
||||||
#
|
|
||||||
# Two spaces seems to be the standard most common style, at least in
|
|
||||||
# Node.js (http://nodeguide.com/style.html#tabs-vs-spaces).
|
|
||||||
[*.{js,jsx,ts,tsx}]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# Less
|
|
||||||
[*.less]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# Sass
|
|
||||||
#
|
|
||||||
# Style used for http://libsass.com
|
|
||||||
[*.s[ac]ss]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
|
||||||
# YAML
|
|
||||||
#
|
|
||||||
# Only spaces are allowed.
|
|
||||||
[*.yaml]
|
|
||||||
indent_size = 2
|
|
||||||
indent_style = space
|
|
||||||
|
Loading…
Reference in New Issue
Block a user