Skip to content

Instantly share code, notes, and snippets.

@nandomoreirame
Last active August 4, 2021 20:31
Show Gist options
  • Save nandomoreirame/1810085f0e48214fc07d5371459851fa to your computer and use it in GitHub Desktop.
Save nandomoreirame/1810085f0e48214fc07d5371459851fa to your computer and use it in GitHub Desktop.
my .editorconfig
# https://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 100
[*.{php,rb}]
tab_width = 4
indent_size = 4
indent_style = tab
[**.{min.js,min.css}]
indent_style = ignore
insert_final_newline = ignore
[*.{md,json}]
insert_final_newline = false
[.{env,env.*,nvmrc,yvmrc,npmrc,prettierignore,prettierrc,eslintignore,eslintrc,babelrc,stylelintrc,editorconfig}]
insert_final_newline = false
trim_trailing_whitespace = false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment