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
The "Pretty" PR #1305
The "Pretty" PR #1305
Conversation
…easily run linters
.github/workflows/build.yml
Outdated
| @@ -62,6 +63,9 @@ jobs: | |||
| yarn install | |||
| yarn run test | |||
| - name: Run prettyfier | |||
| run: yarn run prettier --check . | |||
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.
run: |
cd js
yarn run prettier --check .
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.
Ah, I thought it'd pick it up from the command above.
Thanks!
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.
I recall there was a working-directory option that you can use otherwise. Something like:
run: yarn run prettier --check .
working-directory: js
Adds configuration for both prettier and eslint. Enforces prettier rules but not eslint rules.