Skip to content
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

Enforce prettier in CI #1804

Merged
merged 3 commits into from
Feb 1, 2024
Merged

Enforce prettier in CI #1804

merged 3 commits into from
Feb 1, 2024

Conversation

PowerKiKi
Copy link
Contributor

To be merged only after #1801

@@ -21,6 +21,7 @@ jobs:
node-version: 18
- run: npm ci

- run: ./node_modules/.bin/prettier --check .
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use npx prettier . --check or npm run prettier with a custom script in package.json instead

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done in d3b6f05

@PowerKiKi PowerKiKi force-pushed the prettier branch 2 times, most recently from 4fbe725 to b8f0a86 Compare February 1, 2024 10:18
@PowerKiKi PowerKiKi marked this pull request as ready for review February 1, 2024 10:18
@PowerKiKi
Copy link
Contributor Author

CI should be passing and be ready to merge

@PowerKiKi
Copy link
Contributor Author

rebased

@santam85
Copy link
Contributor

santam85 commented Feb 1, 2024

Should we add a pre-commit hook as well? https://prettier.io/docs/en/install#git-hooks

@PowerKiKi
Copy link
Contributor Author

Good idea, done!

@santam85 santam85 merged commit 789faff into valor-software:master Feb 1, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants