-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frontend setup #3
Conversation
c1fc7cb
to
bf792ab
Compare
|
||
strategy: | ||
matrix: | ||
commands: ['format:ci', 'lint:ci', build] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we include the test
command in the CI?
frontend/.husky/pre-commit
Outdated
#!/usr/bin/env sh | ||
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
cd frontend; yarn format; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we add yarn test
to the pre-commit hook?
frontend/package.json
Outdated
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", | ||
"lint:ci": "eslint \"{src,apps,libs,test}/**/*.ts\"", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar commands here. The backend uses lint:ci
since lint
had a auto --fix option.
Frontend setup using Vite and React