Skip to content

Instantly share code, notes, and snippets.

@ademidoff
Last active November 8, 2020 12:04
Show Gist options
  • Save ademidoff/77c42ef6d50ed589b31d8b8e8408d176 to your computer and use it in GitHub Desktop.
Save ademidoff/77c42ef6d50ed589b31d8b8e8408d176 to your computer and use it in GitHub Desktop.
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,jsx,ts,tsx,go}]
charset = utf-8
[*.go]
indent_style = tab
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4
[*.{js,jsx,ts,tsx}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[*test.{js,jsx,ts,tsx}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
[{package.json,*.yml}]
indent_style = space
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment