Angular VS Code Extension Pack
This extension pack contains all of my favorite VS Code extensions primarily targeted for Angular development.
I've been inspired by John's Papa Angular Essentials - Extension Pack for VS Code.
Recommended settings
Editor settings
"editor.codeLens": false,
"editor.renderWhitespace": "none",
"editor.autoIndent": true,
"editor.tabSize": 2,
"editor.wordWrap": "off",
"editor.formatOnSave": true,
"editor.formatOnType": false,
"[typescript]": {
"editor.formatOnPaste": false
},
"[css]": {
"editor.formatOnSave": false,
"editor.formatOnPaste": false
},
// recommended by stylelint extension
"css.validate": false,
"less.validate": false,
"scss.validate": false,
File settings
"files.exclude": {
"**/.git": true,
"**/.DS_Store": true,
"**/*.js": {
"when": "$(basename).ts"
},
"**/*.js.map": {
"when": "$(basename)"
},
"**/*.css": {
"when": "$(basename).css"
}
},
"files.hotExit": "onExit",
"files.defaultLanguage": "typescript",
"files.trimTrailingWhitespace": true,
Prettier settings
"prettier.singleQuote": true,
"prettier.printWidth": 120,
"prettier.stylelintIntegration": true,
Stylelint settings
(as a stylelint
property in package.json
or a .stylelintrc
file)
{
"extends": [
"stylelint-config-standard",
"stylelint-config-concentric-order",
"./node_modules/prettier-stylelint/config.js"
],
"rules": {
"at-rule-no-unknown": null,
"selector-type-no-unknown": null
}
}
It requires following packages installed:
stylelint-config-standard
stylelint-config-concentric-order
prettier-stylelint
List of extensions included in pack:
I hope you'll enjoy!