Skip to content

Instantly share code, notes, and snippets.

@b87ee58351
Last active June 17, 2022 01:47
Show Gist options
  • Select an option

  • Save b87ee58351/af46204cdc0121404d54723dab79ad9a to your computer and use it in GitHub Desktop.

Select an option

Save b87ee58351/af46204cdc0121404d54723dab79ad9a 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
charset = utf-8
# 2 space indentation
indent_style = space
indent_size = 2
# Trim whitespace
trim_trailing_whitespace = true
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
[*.bat]
end_of_line = crlf
# Double whitespace at end of line denotes a line break
[*.md]
trim_trailing_whitespace = false
# Indentation override for all ext. under root directory
# PHP, Python etc.
[*.{php,py}]
indent_style = space
indent_size = 4
# Go, Rust, Sourcepawn etc.
[*.{go,rs,sp}]
indent_style = tab
indent_size = 4
{
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"vueIndentScriptAndStyle": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment