Skip to content

chore: update dependency stylelint-config-standard to v38#328

Merged
yt-ymmt merged 3 commits into
masterfrom
renovate/stylelint-config-standard-38.x
May 2, 2025
Merged

chore: update dependency stylelint-config-standard to v38#328
yt-ymmt merged 3 commits into
masterfrom
renovate/stylelint-config-standard-38.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 21, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
stylelint-config-standard ^36.0.1 -> ^38.0.0 age adoption passing confidence

Release Notes

stylelint/stylelint-config-standard (stylelint-config-standard)

v38.0.0

Compare Source

  • Removed: stylelint less than 16.18.0 from peer dependencies.
  • Changed: updated to stylelint-config-recommended@16.0.0.
  • Added: color-function-alias-notation: "without-alpha" rule.
  • Added: container-name-pattern (kebab-case with optional -- prefix) rule.
  • Added: layer-name-pattern (kebab-case) rule.

v37.0.0

Compare Source


Configuration

📅 Schedule: Branch creation - "after 8am and before 5pm every weekday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot requested a review from a team as a code owner April 21, 2025 02:47
@renovate renovate Bot added the renovate label Apr 21, 2025
@renovate renovate Bot requested review from negiandleek and s-sasaki-0529 and removed request for a team April 21, 2025 02:47
@renovate renovate Bot force-pushed the renovate/stylelint-config-standard-38.x branch from 14e3e2a to d2f852d Compare April 22, 2025 00:07
@renovate renovate Bot changed the title Update dependency stylelint-config-standard to v38 chore: update dependency stylelint-config-standard to v38 Apr 22, 2025
@renovate renovate Bot force-pushed the renovate/stylelint-config-standard-38.x branch 7 times, most recently from eed25a2 to df2c8fd Compare April 24, 2025 23:20
@renovate renovate Bot force-pushed the renovate/stylelint-config-standard-38.x branch from df2c8fd to bc17e4c Compare April 30, 2025 02:02
@yt-ymmt
Copy link
Copy Markdown
Contributor

yt-ymmt commented May 2, 2025

stylelint-config-standardの36.0.1から38.0.0へのアップデート内容

バージョン37.0.0の変更点

  • 依存関係: stylelint 16.13.0未満のサポートを削除
  • stylelint-config-recommendedを15.0.0にアップデート

ref. stylelint/stylelint-config-standard リリースページ(37.0.0)

バージョン38.0.0の変更点

  • 依存関係: stylelint 16.18.0未満のサポートを削除
  • stylelint-config-recommendedを16.0.0にアップデート
  • 新ルール追加: color-function-alias-notation: "without-alpha"
  • 新ルール追加: container-name-pattern(kebab-caseと任意の--プレフィックス)
  • 新ルール追加: layer-name-pattern(kebab-case)

ref. stylelint/stylelint-config-standard リリースページ(38.0.0)

影響について

このアップデートによる当プロジェクトへの影響はありません。

1. 依存関係の要件は満たしている

現在のpackage.jsonでは既にstylelint v16.19.0を使用しており、新しい要件を満たしています。

エビデンス:

// package.json(一部抜粋)
{
  "stylelint": "^16.19.0",
  "stylelint-config-standard": "^38.0.0"
}

2. 新ルール(container-name-pattern, layer-name-pattern)の影響はない

プロジェクト内でCSSコンテナクエリ(container-nameプロパティや@containerクエリ)やCSSカスケードレイヤー(@layer宣言)を使用している箇所はありません。

プロジェクト全体の検索結果

$ grep -r "container-name" --include="*.{css,scss,js,ts,astro}" .
// 結果なし

$ grep -r "@container" --include="*.{css,scss,js,ts,astro}" .
// 結果なし

$ grep -r "@layer" --include="*.{css,scss,js,ts,astro}" .
// 結果なし

3. color-function-alias-notationルールの影響はない

現在のstylelint設定では、既にcolor-function-notation: "legacy"を指定しており、新ルールとの競合はありません。

// stylelint.config.cjs(一部抜粋)
module.exports = {
  extends: ['stylelint-config-standard'],
  // ...
  rules: {
    // ...
    'color-function-notation': 'legacy',
    // ...
  },
};

以上の理由から、stylelint-config-standardを38.0.0にアップデートしてもプロジェクトに影響はなく、安全に更新できると判断します。

@yt-ymmt yt-ymmt merged commit d60dbbb into master May 2, 2025
5 checks passed
@yt-ymmt yt-ymmt deleted the renovate/stylelint-config-standard-38.x branch May 2, 2025 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants