Lints and "Prettifies" all pwa /src code with the .eslintrc.js and .prettierrc.js config files. Check those out to see the rules, feedback welcomed.
Adds npm run lint command to pwa
Adds the above command as a required command in the github actions. Unlinted code will fail.
Adds vscode config files:
if you open the pwa folder specifically in vscode, it will enable things like "format on save" with the proper configuration, as well as recommend to you the following two extensions if you don't have them installed already. They are needed to lint within the editor, otherwise you may use npm run lint from the terminal. (imo autosaving is much nicer, makes me code faster.)
Description:
Closes issue #46
Notes:
/src
code with the.eslintrc.js
and.prettierrc.js
config files. Check those out to see the rules, feedback welcomed.npm run lint
command to pwapwa
folder specifically in vscode, it will enable things like "format on save" with the proper configuration, as well as recommend to you the following two extensions if you don't have them installed already. They are needed to lint within the editor, otherwise you may usenpm run lint
from the terminal. (imo autosaving is much nicer, makes me code faster.)Checklist: