Last active
February 26, 2023 02:10
-
-
Save affeldt28/26a20d25657a1b9328514d3d771ef756 to your computer and use it in GitHub Desktop.
Formatting config
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
# Editor configuration, see https://editorconfig.org | |
root = true | |
[*] | |
charset = utf-8 | |
indent_style = tab | |
indent_size = 4 | |
end_of_line = lf | |
insert_final_newline = true | |
trim_trailing_whitespace = true | |
max_line_length = 80 | |
[*.md] | |
max_line_length = off | |
trim_trailing_whitespace = false | |
[*.{yml,yaml}] | |
indent_style = space | |
indent_size = 2 | |
[*.json] | |
indent_style = space | |
indent_size = 4 |
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
/** @type {import('@types/prettier').Config} */ | |
module.exports = { | |
semi: true, | |
singleQuote: true, | |
quoteProps: "as-needed", | |
jsxSingleQuote: false, | |
trailingComma: "all", | |
bracketSpacing: true, | |
bracketSameLine: false, | |
arrowParens: "always", | |
proseWrap: "preserve", | |
htmlWhitespaceSensitivity: "css", | |
vueIndentScriptAndStyle: false, | |
embeddedLanguageFormatting: "auto", | |
singleAttributePerLine: false, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment