Skip to content
Snippets Groups Projects
Commit 4eb77948 authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

Update readme

parent 51eefe77
No related branches found
No related tags found
No related merge requests found
...@@ -28,3 +28,14 @@ bun run build ...@@ -28,3 +28,14 @@ bun run build
This will build the new bundle and deploy it to This will build the new bundle and deploy it to
`compendium_v2/static/*`. This should be committed to the repository. `compendium_v2/static/*`. This should be committed to the repository.
# Linting/Formatting
For the Flask app, use pep8 (autopep8 in vscode) with a max line length of 120.
The frontend (compendium-frontend) uses eslint for linting checks, and some formatting rules are enforced.
The build of the frontend is gated by a linting check, to fix anything auto-fixable, use:
```bash
bun run lint:fix
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment