-
Notifications
You must be signed in to change notification settings - Fork 133
Bump lint-staged from 15.5.1 to 16.0.0 #2006
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
Bump lint-staged from 15.5.1 to 16.0.0 #2006
Conversation
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 15.5.1 to 16.0.0. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v15.5.1...v16.0.0) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 16.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
Note regarding: performance/lint-staged.config.js Lines 28 to 30 in 4279a01
See second changelog entry at https://github.com/lint-staged/lint-staged/releases/tag/v16.0.0 |
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
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've updated the lint-staged config to eliminate the micromatch
dependency. I also simplified the configuration. When a lint-staged command is a function, it does not automatically pass the files to the function, which is what we want to for PHPStan and TypeScript. But when the command is a string, then it does automatically pass the files.
This also updates the TypeScript config so that the lint-staged config is also checked, in addition to other JS files not in the plugins
directory. This PR also fixes a couple issues uncovered by this.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## trunk #2006 +/- ##
=======================================
Coverage 72.50% 72.50%
=======================================
Files 88 88
Lines 7144 7144
=======================================
Hits 5180 5180
Misses 1964 1964
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
LGTM!
Bumps lint-staged from 15.5.1 to 16.0.0.
Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
dad5490
chore(changeset): release1c19e82
build(deps): update dependencies and require Node.js 20.1808cf8f5
docs: update README.md and bump nano-spawn as major change276dcc8
refactor: simplify config validationd4b7cac
test: update tests0ee9ab8
fix: update TypeScript type definitions12525b2
refactor: rename functions541c353
refactor: separate "make cmd tasks" and "make function tasks"27110ef
feat: added support for custom configuration52366f9
ci: update Node.js versions used in CIDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)