Last active
June 20, 2022 15:22
-
-
Save ianpegg/16a0941ea540f816f100dc46067d896f to your computer and use it in GitHub Desktop.
In-house document layout rules for EggCup Web Design Ltd.
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 ## | |
# Tutorial and examples: | |
# --> https://www.freecodecamp.org/news/how-to-use-editorconfig-to-standardize-code-styles/ | |
# List of all possible properties: | |
# --> https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties | |
# This is the top-most EditorConfig file in this project: | |
root = true | |
# Set default charset: | |
[*] | |
charset = utf-8 | |
# Unix-style newlines with a newline ending every file: | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
# 4 space indentation by default: | |
[*] | |
indent_style = space | |
indent_size = 4 | |
trim_trailing_whitespace = true | |
# Syntax formatting rules | |
curly_bracket_next_line = true | |
spaces_around_operators = true | |
# 2 space indentation for: JSON, YAML & Markdown: | |
[*.{json,yml,md}] | |
indent_style = space | |
indent_size = 2 | |
# Preserve double spaces at the end of lines to signify line break | |
[*.md] | |
trim_trailing_whitespace = false | |
# Tab separated files need to use tabs rather than spaces! | |
[*.tsv] | |
indent_style = tab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment