Created
November 26, 2021 22:41
-
-
Save pocc/8287f9e6a52f07ca916a775a7f9a27af to your computer and use it in GitHub Desktop.
My editorconfig (cross-platform, cross-application editor config file)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; This file helps unify code style. | |
; | |
; Plugins are available for | |
; notepad++, emacs, vim, gedit, | |
; textmate, visual studio, and more. | |
; | |
; See http://editorconfig.org for details. | |
# top-most EditorConfig file | |
root = true | |
# For all projects | |
[*] | |
end_of_line = lf | |
trim_trailing_whitespace=true | |
insert_final_newline=true | |
charset=utf-8 | |
# Default charset | |
[*.{js,py}] | |
charset = utf-8 | |
# Python settings | |
[*.py] | |
indent_style = space | |
indent_size = 4 | |
max_line_length=80 | |
# Makefile settings | |
[Makefile] | |
indent_style = tab | |
# Indentation override for all JS under lib directory | |
[lib/**.js] | |
indent_style = space | |
indent_size = 2 | |
# Matches the exact files either package.json or .travis.yml | |
[{package.json,.travis.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