Skip to content

Instantly share code, notes, and snippets.

@taking
Last active May 23, 2022 01:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taking/4c78943080c6d6dbef9426c5cc1f83ec to your computer and use it in GitHub Desktop.
Save taking/4c78943080c6d6dbef9426c5cc1f83ec to your computer and use it in GitHub Desktop.
# Personal .editorconfig setting, 2022-05-23
# top-most EditorConfig file
root = true
# Tab indentation
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 120
tab_width = 4
# The indent size used in the `package.json` file cannot be changed
# https://github.com/npm/npm/pull/3180#issuecomment-16336516
[{*.html,*.json,*.js}]
indent_size = 2
[{*.yml,*.yaml,package.json}]
indent_size = 2
[*.py]
indent_size = 4
[*.go]
indent_size = 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment