Skip to content

[Dependency] Stylelint to v17, Standard Config to v40#12415

Merged
williamjallen merged 2 commits intomainfrom
stylelint-config-combined
Feb 7, 2026
Merged

[Dependency] Stylelint to v17, Standard Config to v40#12415
williamjallen merged 2 commits intomainfrom
stylelint-config-combined

Conversation

@JManion32
Copy link
Contributor

Why is this Change Important & Necessary?

Both Stylelint and Stylelint Standard Config had major version bumps that depend on one another (see #12369 and #12389). These are peer dependencies, and thus we can't do one without the other.

What is the New Behavior?

Ran npm install --save-dev stylelint@17.1.0 stylelint-config-standard@40.0.0 to update both dependencies at once. There should be no ERESOLVE errors on this PR since npm will now be able to run without error.

What steps should a reviewer take to reproduce or test the bug or new feature?

Are all code changes acceptable, conforming to Submitty best design practices as well as the new rules set by Stylelint?

Automated Testing & Documentation

GitHub formatter has been removed from Stylelint. This is not a problem for our project as we only run a check on CI.

Other information

We need to combine Stylelint and the Stylelint Standard Config so we can avoid future peer dependency conflicts. I think this will continue to happen with each major version bump if we do not.

@github-project-automation github-project-automation bot moved this to Seeking Reviewer in Submitty Development Feb 7, 2026
@JManion32 JManion32 changed the title [Dependency] Stylelint to v17, config to v40 [Dependency] Stylelint to v17, Standard Config to v40 Feb 7, 2026
@codecov
Copy link

codecov bot commented Feb 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 21.67%. Comparing base (9c7283a) to head (352e26f).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##               main   #12415   +/-   ##
=========================================
  Coverage     21.67%   21.67%           
  Complexity     9623     9623           
=========================================
  Files           268      268           
  Lines         36171    36171           
  Branches        486      486           
=========================================
  Hits           7840     7840           
  Misses        27849    27849           
  Partials        482      482           
Flag Coverage Δ
autograder 21.39% <ø> (ø)
js 2.04% <ø> (ø)
migrator 100.00% <ø> (ø)
php 20.69% <ø> (ø)
python_submitty_utils 80.08% <ø> (ø)
submitty_daemon_jobs 90.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

It seems to be just those. I ran Stylelint locally and also got errors for override.css, but this seems to be ignored on CI?
@JManion32
Copy link
Contributor Author

@williamjallen This is ready for review. I looked through the Stylelint migration guide and was surprised to see that we didn't need to take much action this time around. Let me know if there's anything I missed!

@automateprojectmangement automateprojectmangement bot moved this from Seeking Reviewer to In Review in Submitty Development Feb 7, 2026
@github-project-automation github-project-automation bot moved this from In Review to Awaiting Maintainer Review in Submitty Development Feb 7, 2026
@williamjallen williamjallen merged commit 25f9960 into main Feb 7, 2026
26 checks passed
@williamjallen williamjallen deleted the stylelint-config-combined branch February 7, 2026 03:04
@github-project-automation github-project-automation bot moved this from Awaiting Maintainer Review to Done in Submitty Development Feb 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants