Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,18 @@ updates:
- "maintenance"
# Limit the number of open PRs
open-pull-requests-limit: 10
# Propose a new release only after it has been out for 7 days, so a compromised
# release is usually found and pulled first. Security updates are not delayed.
cooldown:
default-days: 7
# Create a group of updates for all actions
groups:
# Security fixes arrive in a pull request of their own, apart from the weekly
# version updates. Needs Dependabot security updates on in the repository settings.
security-updates:
applies-to: "security-updates"
patterns:
- "*"
actions:
patterns:
- "*"
Expand All @@ -40,8 +50,18 @@ updates:
- "maintenance"
# Limit the number of open PRs
open-pull-requests-limit: 10
# Propose a new release only after it has been out for 7 days, so a compromised
# release is usually found and pulled first. Security updates are not delayed.
cooldown:
default-days: 7
# Group updates by dependency type
groups:
# Security fixes arrive in a pull request of their own, apart from the weekly
# version updates. Needs Dependabot security updates on in the repository settings.
security-updates:
applies-to: "security-updates"
patterns:
- "*"
# Group all dev dependencies together
dev-dependencies:
dependency-type: "development"
Expand All @@ -68,8 +88,18 @@ updates:
- "maintenance"
# Limit the number of open PRs
open-pull-requests-limit: 10
# Propose a new release only after it has been out for 7 days, so a compromised
# release is usually found and pulled first. Security updates are not delayed.
cooldown:
default-days: 7
# Group all of the development tooling together
groups:
# Security fixes arrive in a pull request of their own, apart from the weekly
# version updates. Needs Dependabot security updates on in the repository settings.
security-updates:
applies-to: "security-updates"
patterns:
- "*"
dev-dependencies:
dependency-type: "development"
# Allow updates to all dependency types
Expand All @@ -88,6 +118,12 @@ updates:
- dependency-name: "eslint-plugin-unicorn"
update-types:
- "version-update:semver-major"
# @wordpress/stylelint-config accepts Stylelint 17 at most. With Stylelint 18, "npm ls"
# reports an invalid tree and the lint job fails. Remove this entry when a release of
# the WordPress config supports Stylelint 18.
- dependency-name: "stylelint"
update-types:
- "version-update:semver-major"

# Updates for the Python linters that the lint job installs
- package-ecosystem: "pip"
Expand All @@ -104,8 +140,18 @@ updates:
- "maintenance"
# Limit the number of open PRs
open-pull-requests-limit: 10
# Propose a new release only after it has been out for 7 days, so a compromised
# release is usually found and pulled first. Security updates are not delayed.
cooldown:
default-days: 7
# Group all of the linters together
groups:
# Security fixes arrive in a pull request of their own, apart from the weekly
# version updates. Needs Dependabot security updates on in the repository settings.
security-updates:
applies-to: "security-updates"
patterns:
- "*"
lint-tools:
patterns:
- "*"
2 changes: 1 addition & 1 deletion .github/workflows/wp-compatibility-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1296,7 +1296,7 @@ jobs:
id: install_npm_dependencies
run: |
npm ci --no-audit --no-fund
npm ls @wordpress/eslint-plugin eslint markdownlint-cli2 stylelint stylelint-config-standard
npm ls @wordpress/eslint-plugin @wordpress/stylelint-config eslint markdownlint-cli2 stylelint

- name: Install Python linters
id: install_python_linters
Expand Down
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "stylelint-config-standard",
"extends": "@wordpress/stylelint-config",
"plugins": ["stylelint-no-unsupported-browser-features"],
"rules": {
"plugin/no-unsupported-browser-features": [true, { "severity": "error" }]
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The code uses PHP 8 forms: short arrays, constructor property promotion, `readonly` classes and properties for the optimization and admin classes, and a null-coalescing assignment. Behavior is unchanged
- A new Rector job fails when PHP 8.3 or Rector's dead-code, code-quality, type-declaration, or early-return rules would change the code; `rector.php` skips the rules that conflict with WordPress, each with its reason. PHPCS requires the short array syntax
- ESLint applies modern-JavaScript rules, and ESLint and Stylelint fail on a browser feature that WordPress's supported browsers lack. `package.json` overrides `smol-toml`, `katex`, and `re2js` (used by the Markdown linter) for their advisories
- Stylelint checks the stylesheet against WordPress's CSS coding standards (`@wordpress/stylelint-config`) in place of `stylelint-config-standard`; the stylesheet already met them. The WordPress config needs Stylelint 17, so Stylelint stays on 17 until the config supports 18

## [1.6.1] - 2026-10-09

Expand Down
Loading
Loading