-
Notifications
You must be signed in to change notification settings - Fork 574
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
Enforce prettier in CI #1804
Conversation
.github/workflows/ci.yml
Outdated
@@ -21,6 +21,7 @@ jobs: | |||
node-version: 18 | |||
- run: npm ci | |||
|
|||
- run: ./node_modules/.bin/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.
Please use npx prettier . --check
or npm run prettier
with a custom script in package.json instead
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.
Done in d3b6f05
4fbe725
to
b8f0a86
Compare
CI should be passing and be ready to merge |
rebased |
Should we add a pre-commit hook as well? https://prettier.io/docs/en/install#git-hooks |
Good idea, done! |
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [ng2-charts](https://github.com/valor-software/ng2-charts) | [`^5.0.3` -> `^6.0.0`](https://renovatebot.com/diffs/npm/ng2-charts/5.0.4/6.0.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/ng2-charts/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/ng2-charts/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/ng2-charts/5.0.4/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/ng2-charts/5.0.4/6.0.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>valor-software/ng2-charts (ng2-charts)</summary> ### [`v6.0.0`](https://github.com/valor-software/ng2-charts/releases/tag/v6.0.0) [Compare Source](valor-software/ng2-charts@v5.0.4...v6.0.0) #### What’s Changed - BREAKING Tree shakable standalone library ([#​1801](valor-software/ng2-charts#1801)) [@​PowerKiKi](https://github.com/PowerKiKi) Users must import the library in standalone mode - BREAKING drop hardcoded and generated colors ([#​1806](valor-software/ng2-charts#1806)) [@​PowerKiKi](https://github.com/PowerKiKi) Users must migrate to the Colors [plugin](https://www.chartjs.org/docs/latest/general/colors.html) from Chart.js for color generation - Angular 17 ([#​1757](valor-software/ng2-charts#1757)) [@​santam85](https://github.com/santam85) Angular 17 is the minimum version for v6 - Target ES2022 as is done in Angular 17 new projects ([#​1802](valor-software/ng2-charts#1802)) [@​PowerKiKi](https://github.com/PowerKiKi) - Enforce prettier in CI ([#​1804](valor-software/ng2-charts#1804)) [@​PowerKiKi](https://github.com/PowerKiKi) - Drop CHANGELOG.md ([#​1805](valor-software/ng2-charts#1805)) [@​PowerKiKi](https://github.com/PowerKiKi) - Migrate to new control flow syntax ([#​1827](valor-software/ng2-charts#1827)) [@​PowerKiKi](https://github.com/PowerKiKi) - Make defaults type safe ([#​1836](valor-software/ng2-charts#1836)) [@​Cselt](https://github.com/Cselt) - chore(deps-dev): bump [@​types/node](https://github.com/types/node) from 20.11.23 to 20.11.24 ([#​1857](valor-software/ng2-charts#1857)) [@​dependabot](https://github.com/dependabot) - chore(deps-dev): bump [@​types/node](https://github.com/types/node) from 20.11.20 to 20.11.21 ([#̴...
To be merged only after #1801