Created
April 25, 2020 00:07
-
-
Save cryptoquick/32b2400838609c918a27aa6beb07b874 to your computer and use it in GitHub Desktop.
preferred linter config (prettier for typescript + lint script)
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": true, | |
"semi": false, | |
"singleQuote": true, | |
"trailingComma": "all", | |
"arrowParens": "always", | |
"tabWidth": 2, | |
"useTabs": false | |
} |
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
{ | |
"scripts": { | |
"lint": "prettier --parser typescript --check \"src/**/*.{ts,tsx}\"", | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment