Skip to content
Closed
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
100 changes: 51 additions & 49 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"pretty-quick": ">=3.1.3",
"sitemap-generator": "^8.5.1",
"stylelint-config-standard": ">=29.0.0",
"stylelint-order": ">=6.0.1",
"stylelint-order": ">=8.1.1",
"stylelint": ">=14.16.1",
Comment on lines +11 to 12
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🌐 Web query:

What are the peer dependency requirements for stylelint-order 8.1.1 (especially required stylelint version), and which stylelint-config-standard version is compatible with stylelint >=16.18.0?

💡 Result:

For stylelint-order version 8.1.1, the required peer dependency is stylelint: ^16.18.0 || ^17.0.0 [1][2]. Regarding compatibility with stylelint version 16.18.0 or greater, stylelint-config-standard versions starting from 34.0.0 (and newer) are designed to support more recent releases of stylelint, as they have progressively removed support for older stylelint versions from their peer dependencies [3]. Specifically, current documentation for stylelint-config-standard indicates it maintains a peer dependency on stylelint: ^17.0.0 [4], but versions like 39.0.0 explicitly removed support for stylelint versions less than 16.23.0 [3]. Therefore, to be compatible with stylelint >=16.18.0, you should use a version of stylelint-config-standard that has updated its peer requirements to align with your specific stylelint version [3].

Citations:


Align stylelint range with stylelint-order 8.x peer requirements.

stylelint-order@8.1.1 requires stylelint: ^16.18.0 || ^17.0.0, but Line 12 still allows stylelint >=14.16.1, which can install an incompatible Stylelint and break linting/peer resolution.

Suggested fix
-    "stylelint": ">=14.16.1",
+    "stylelint": ">=16.18.0",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"stylelint-order": ">=8.1.1",
"stylelint": ">=14.16.1",
"stylelint-order": ">=8.1.1",
"stylelint": ">=16.18.0",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` around lines 11 - 12, Update the stylelint version range in
package.json so it matches stylelint-order@8.1.1's peer requirement; replace the
current "stylelint": ">=14.16.1" entry with a range that satisfies "^16.18.0 ||
^17.0.0" (keeping "stylelint-order": ">=8.1.1" as-is) to prevent installing
incompatible Stylelint versions.

"url-parse": ">=1.5.10"
},
Expand Down