Skip to content

Commit

Permalink
Add editorconfig (kubernetes#11551)
Browse files Browse the repository at this point in the history
  • Loading branch information
chenrui333 authored and k8s-ci-robot committed Jan 28, 2019
1 parent d83bcfe commit 431c1f3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -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 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ nohup.out
public/
resources/

# User-specific editorconfig files
.editorconfig

# Netlify Functions build output
package-lock.json
functions/
Expand Down

0 comments on commit 431c1f3

Please sign in to comment.