Configure code formatting across teams in a Vue project (Quasar)
The Yawik project is a Quasar based SPA. For development we use vscode. The code formatting in vscode does not work. As soon as you save, e.g. double quotes are replaced by single quotes.
The formatting can be corrected by eslint --fix.
We offer $100 for a VScode configuration that allows us to use format on save.
Howto reproduce
git clone https://gitlab.com/yawik/jobwizard.git
cd jobwizard
yarn dev
Open some file eg. Jobs in your vscode and format the file. This will result in an error like.
We currently fix this with:
#:~/Projects/jobwizard$ yarn lintfix
yarn run v1.22.15
$ node --preserve-symlinks --preserve-symlinks-main ./node_modules/eslint/bin/eslint --ext .js,.vue src --fix
Edited by Carsten Bleek