How to make prettier run before ESLint on save?

I just saw Theo's latest video where he recommended we configure prettier/eslint so that prettier runs first on save for style corrections, then afterwards ESLint does another pass for code quality. How do I ensure that this order occurs upon save? Is it enough to just have the following settings?
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
thanks!
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server