Skip to content

Commit 5371163

Browse files
chore(deps): update dependency eslint-plugin-yml to v3 (#1529)
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [eslint-plugin-yml](https://ota-meshi.github.io/eslint-plugin-yml/) ([source](https://redirect.github.com/ota-meshi/eslint-plugin-yml)) | [`1.19.0` → `2.0.0`](https://renovatebot.com/diffs/npm/eslint-plugin-yml/1.19.0/2.0.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/eslint-plugin-yml/2.0.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint-plugin-yml/1.19.0/2.0.0?slim=true) | --- ### Release Notes <details> <summary>ota-meshi/eslint-plugin-yml (eslint-plugin-yml)</summary> ### [`v2.0.0`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/blob/HEAD/CHANGELOG.md#200) [Compare Source](https://redirect.github.com/ota-meshi/eslint-plugin-yml/compare/v1.19.1...v2.0.0) ##### Major Changes - [#&#8203;532](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/532) [`40eb4be`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/40eb4bee573a66f13cf12dd0162b78bfc5ab73a1) Thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/apps/copilot-swe-agent)! - feat: add ESLint language plugin support - [#&#8203;528](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/528) [`c4e74d0`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/c4e74d0f5bb39c85028c90c5d5f8557b1c6c8829) Thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/apps/copilot-swe-agent)! - Convert package to ESM-only. The package now uses `"type": "module"` and only exports ESM modules. CommonJS `require()` is no longer supported. Users must use ES modules (`import`) to load this plugin. - [#&#8203;527](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/527) [`4059169`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/40591697f7bb23cad0076ac53b188ca9de7203b0) Thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/apps/copilot-swe-agent)! - Drop support for legacy ESLint config format. The plugin now exports flat configuration as the main configuration format. The previous `flat/*` namespace is kept for backward compatibility. - [#&#8203;524](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/524) [`2260263`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/2260263247825ddc1e6803fc328a5b5ea53d117c) Thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/apps/copilot-swe-agent)! - Drop support for ESLint versions older than 9.38.0. The new supported version is `>=9.38.0`. - [#&#8203;522](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/522) [`dc5028e`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/dc5028eb222a1b247d0c51cbb9afbf479d01bdd8) Thanks [@&#8203;copilot-swe-agent](https://redirect.github.com/apps/copilot-swe-agent)! - Drop support for Node.js versions older than 20.19.0. The new supported version is `^20.19.0 || ^22.13.0 || >=24`. - [#&#8203;526](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/526) [`3e7cb79`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/3e7cb79b9873f50acad785d6ed23233084ed428c) Thanks [@&#8203;ota-meshi](https://redirect.github.com/ota-meshi)! - feat: update `standard` config - [#&#8203;523](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/523) [`50a96f8`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/50a96f81e81c53b5648ffe1aae19575fd0ceccb1) Thanks [@&#8203;renovate](https://redirect.github.com/apps/renovate)! - Update dependency yaml-eslint-parser to v2 ### [`v1.19.1`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/blob/HEAD/CHANGELOG.md#1191) [Compare Source](https://redirect.github.com/ota-meshi/eslint-plugin-yml/compare/v1.19.0...v1.19.1) ##### Patch Changes - [#&#8203;506](https://redirect.github.com/ota-meshi/eslint-plugin-yml/pull/506) [`736f153`](https://redirect.github.com/ota-meshi/eslint-plugin-yml/commit/736f15343788720aa210070f7e78aab3c5ef929d) Thanks [@&#8203;sumimakito](https://redirect.github.com/sumimakito)! - fix(sort-keys): fix incorrect result when move down the block located at the file start </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/JoshuaKGoldberg/eslint-plugin-package-json). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi44NS4xIiwidXBkYXRlZEluVmVyIjoiNDIuODUuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: michael faith <michaelfaith@users.noreply.github.com>
1 parent f58ff05 commit 5371163

File tree

3 files changed

+42
-27
lines changed

3 files changed

+42
-27
lines changed

eslint.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -137,10 +137,7 @@ export default defineConfig(
137137
rules: { "@typescript-eslint/no-unsafe-assignment": "off" },
138138
},
139139
{
140-
extends: [
141-
yml.configs["flat/recommended"],
142-
yml.configs["flat/prettier"],
143-
],
140+
extends: [yml.configs.recommended, yml.configs.prettier],
144141
files: ["**/*.{yml,yaml}"],
145142
rules: {
146143
"yml/file-extension": ["error", { extension: "yml" }],

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
"eslint-plugin-perfectionist": "5.3.0",
8989
"eslint-plugin-regexp": "2.10.0",
9090
"eslint-plugin-unicorn": "62.0.0",
91-
"eslint-plugin-yml": "1.19.0",
91+
"eslint-plugin-yml": "3.0.0",
9292
"husky": "9.1.7",
9393
"jiti": "2.6.1",
9494
"json-schema-to-ts": "3.1.1",

pnpm-lock.yaml

Lines changed: 40 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)