Last active
May 29, 2019 16:01
-
-
Save liamross/0da647310522c2463d593f6b8bd6cf42 to your computer and use it in GitHub Desktop.
Basic prettier configs
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
# Ignore any files you wish to preserve format in (scss files?). | |
# somefile.scss | |
# Ignore build folders | |
dist | |
lib | |
storybook-build | |
# Ignore node modules folder | |
node_modules |
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
bracketSpacing: false | |
proseWrap: always | |
singleQuote: true | |
trailingComma: all | |
overrides: | |
- files: '*.ts' | |
options: | |
printWidth: 120 | |
- files: '*.tsx' | |
options: | |
printWidth: 120 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment