Created
January 9, 2022 15:25
-
-
Save mangkoran/23430bcb4f5523dea974cfe3ff479d16 to your computer and use it in GitHub Desktop.
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
# EditorConfig is awesome: https://EditorConfig.org | |
# https://github.com/mdn/kuma/blob/master/.editorconfig | |
# Top-most EditorConfig file ? | |
root = true | |
# Unix-style newlines with a newline ending every file | |
[*] | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
# Indentation | |
indent_style = space | |
indent_size = 4 | |
# YAML and Jenkins use two spaces | |
[{*.{yaml,yml},Jenkinsfile}] | |
indent_size = 2 | |
# git and Makefile use the superior tabs | |
[{.git*,Makefile,make.bat}] | |
indent_style = tab | |
# https://github.com/facebook/react/blob/main/.editorconfig | |
# JavaScript and TypeScript | |
[*.{js,json,jsx,ts,tsx}] | |
indent_size = 2 | |
max_line_length = 80 | |
[*.md] | |
max_line_length = 0 | |
trim_trailing_whitespace = false | |
[COMMIT_EDITMSG] | |
max_line_length = 0 | |
# https://google.github.io/styleguide/htmlcssguide.html#Indentation | |
[*.{html,css}] | |
indent_size = 2 |
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
# EditorConfig for /home/mangkoran/repos/mangkoran-site/pages/index.tsx | |
charset = utf-8 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
indent_style = space | |
indent_size = 2 | |
max_line_length = 80 | |
tab_width = 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment