Closed leandertolksdorf closed 1 year ago
Project | sosci-frontend |
Status | Passed |
Commit | c12f13a4d0 |
Started | Nov 24, 2022 6:25 PM |
Ended | Nov 24, 2022 6:26 PM |
Duration | 00:27 💡 |
OS | Linux Ubuntu - 20.04 |
Browser | Chrome 107 |
View run in Cypress Dashboard ➡️
This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard
@motschel123 @PhlppKrmr @jandegen
I updated the scripts. Now to run eslint: npm run lint || lint:fix
, for prettier: npm run prettier || prettier:fix
and to run everything: npm run format
.
The prettier-scripts also run on .svelte files.
To configure VSCode to auto-format .svelte files on save, you have to add this to your settings.json:
"[svelte]": {"editor.defaultFormatter": "svelte.svelte-vscode"}
Done:
Please install the Prettier extension in your IDE and configure it to auto-format on every save. This will ensure a consistent formatting.
You can run the lint script manually with
npm run lint