vscode prettier format only when prettierrc code example
Example 1: prettier config vscode
npm install --save-dev --save-exact prettier
Example 2: prettier install in vscode
Install node.js first
npm install --save-dev --save-exact prettier
Install node.js first