Last active
July 8, 2025 01:58
-
-
Save WLyKan/3e3aed145383596166ae87665e8ae2ea to your computer and use it in GitHub Desktop.
EditorConfig
This file contains hidden or 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
| # EditorConfig is awesome: https://EditorConfig.org | |
| # top-most EditorConfig file | |
| root = true | |
| # Unix-style newlines with a newline ending every file | |
| [*] | |
| quote_type=single | |
| charset = utf-8 | |
| end_of_line = lf | |
| indent_style = space | |
| indent_size = 2 | |
| insert_final_newline = true | |
| max_line_length = 80 | |
| trim_trailing_whitespace = true | |
| spaces_around_operators=true | |
| spaces_around_brackets=inside | |
| indent_brace_style=K&R | |
| # Matches multiple files with brace expansion notation | |
| # Set default charset | |
| [*.{js,py}] | |
| charset = utf-8 | |
| # 4 space indentation | |
| [*.py] | |
| indent_style = space | |
| indent_size = 4 | |
| # Tab indentation (no size specified) | |
| [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_size = 2 | |
| [*.{html,md}] | |
| max_line_length = 0 | |
| [*.md] | |
| trim_trailing_whitespace = false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment