Created
December 7, 2018 01:18
-
-
Save tiagolpadua/3ad4a4ba30c2ba9fbe1951412b571d6c to your computer and use it in GitHub Desktop.
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
npm install --save-dev tslint tslint-angular prettier | |
.tslintrc | |
{ | |
"extends": "angular" | |
} | |
.prettierrc | |
{ | |
"printWidth": 120, | |
"singleQuote": true, | |
"useTabs": false, | |
"tabWidth": 2, | |
"semi": true, | |
"bracketSpacing": true | |
} | |
Instalar plugins no VSCode: TSLint e Prettier | |
File -> Preferences -> Settings -> ... -> Open settings.json -> workspace settings | |
{ | |
"editor.formatOnSave": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment