Last active
September 20, 2023 20:46
-
-
Save volosovich/0d002202be3b3bba14d337eaaf37a350 to your computer and use it in GitHub Desktop.
prettier and editorconfig configs
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 helps developers define and maintain consistent | |
# coding styles between different editors and IDEs | |
# editorconfig.org | |
root = true | |
[*] | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
indent_style = tab | |
indent_size = 4 | |
[*.{diff,md}] | |
trim_trailing_whitespace = false |
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
# .prettierrc or .prettierrc.yaml | |
# need to use with .editorconfig | |
trailingComma: "es5" | |
semi: true | |
singleQuote: true | |
printWidth: 120 | |
set node version
"engines": {
"node": "^10.23 || ^12",
"npm": "^6"
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
debounce TS