DEV Community

Discussion on: Using ESLint and Prettier with VScode in an Angular Project 🚀(outdated)

Collapse
 
tstevanovich profile image
Tony Stevanovich

I've been looking for a guide like this. Thank you for putting this together.
Only things I changed from your article was
1: the addition of a .prettierignore file to format package.json, package-lock.json or the dist folder.
2: I added "trailingComma": "none" to the .prettierrc.json file.
3: I really don't like how prettier formats HTML files, so I changed up settings.json with this:
"[html]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "vscode.html-language-features"
},

Collapse
 
dreiv profile image
Andrei Voicu

I'm glad you found it useful :D