Add editorconfig (#11551)

pull/12414/head
chenrui 2019-01-28 14:32:42 -05:00 committed by Kubernetes Prow Robot
parent d83bcfe033
commit 431c1f3922
2 changed files with 17 additions and 3 deletions

17
.editorconfig Normal file
View File

@ -0,0 +1,17 @@
[*]
end_of_line = lf
insert_final_newline = false
charset = utf-8
max_line_length = 80
trim_trailing_whitespace = true
[*.{html,js,json,sass,md,mmark,toml,yaml}]
indent_style = space
indent_size = 2
[*.{sh}]
indent_style = space
indent_size = 4
[Makefile]
indent_style = tab

3
.gitignore vendored
View File

@ -31,9 +31,6 @@ nohup.out
public/
resources/
# User-specific editorconfig files
.editorconfig
# Netlify Functions build output
package-lock.json
functions/