Skip to content

1318-integrate-stylelint-into-ci#1367

Merged
danhalson merged 15 commits intomainfrom
danhalson/1318-integrate-stylelint-into-ci
Mar 12, 2026
Merged

1318-integrate-stylelint-into-ci#1367
danhalson merged 15 commits intomainfrom
danhalson/1318-integrate-stylelint-into-ci

Conversation

@danhalson
Copy link
Contributor

Closes: #1318

@danhalson danhalson temporarily deployed to previews/1367/merge March 6, 2026 14:25 — with GitHub Actions Inactive
@danhalson danhalson self-assigned this Mar 6, 2026
@danhalson danhalson force-pushed the danhalson/1318-integrate-stylelint-into-ci branch from 45255fd to c8e1b18 Compare March 6, 2026 14:51
@danhalson danhalson temporarily deployed to previews/1367/merge March 6, 2026 14:51 — with GitHub Actions Inactive
@danhalson danhalson force-pushed the danhalson/1318-integrate-stylelint-into-ci branch from c8e1b18 to 85487a5 Compare March 6, 2026 14:51
@danhalson danhalson temporarily deployed to previews/1367/merge March 6, 2026 14:52 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 6, 2026 16:48 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 10, 2026 09:54 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 10, 2026 10:02 — with GitHub Actions Inactive
@danhalson danhalson force-pushed the danhalson/1318-integrate-stylelint-into-ci branch from 93b29f4 to 67fa85b Compare March 10, 2026 10:12
@danhalson danhalson temporarily deployed to previews/1367/merge March 10, 2026 10:12 — with GitHub Actions Inactive
@danhalson danhalson changed the title Danhalson/1318-integrate-stylelint-into-ci 1318-integrate-stylelint-into-ci Mar 10, 2026
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 08:13 — with GitHub Actions Inactive
@danhalson danhalson force-pushed the danhalson/1318-integrate-stylelint-into-ci branch from 8fef540 to cf663c7 Compare March 11, 2026 08:14
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 08:14 — with GitHub Actions Inactive
@danhalson danhalson force-pushed the danhalson/1318-integrate-stylelint-into-ci branch from cf663c7 to 8fef540 Compare March 11, 2026 08:21
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 08:22 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 08:30 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 08:58 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 09:16 — with GitHub Actions Inactive
@danhalson danhalson temporarily deployed to previews/1367/merge March 11, 2026 09:23 — with GitHub Actions Inactive
@danhalson danhalson marked this pull request as ready for review March 11, 2026 09:27
Copilot AI review requested due to automatic review settings March 11, 2026 09:27
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Integrates Stylelint into the CI pipeline and updates the codebase/tooling to resolve existing Stylelint (and related formatting) issues, including a broad set of SCSS logical-property updates and devcontainer/editor configuration to surface lint feedback locally.

Changes:

  • Adds a Stylelint step to the CI workflow (conditionally triggered via paths-filter).
  • Updates Stylelint + related tooling dependencies (plus associated lockfile changes).
  • Fixes existing SCSS lint issues (logical properties, Sass interpolation fixes, etc.) and updates documentation/devcontainer settings.

Reviewed changes

Copilot reviewed 18 out of 22 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.github/workflows/ci-cd.yml Adds a Stylelint CI step gated by SCSS file changes.
.devcontainer/devcontainer.json Enables ESLint/Stylelint validation in the devcontainer’s VS Code settings.
.stylelintrc (Context) Stylelint config extends stylelint-config-recommended-scss and enables stylelint-use-logical.
package.json Bumps Stylelint + related tooling (Prettier/PostCSS/etc.).
yarn.lock Lockfile updates reflecting the dependency upgrades.
README.md Adds “Linting” section describing CI + local lint commands.
CHANGELOG.md Notes CI/devcontainer lint integration and lint fixes.
src/assets/stylesheets/*.scss Resolves Stylelint errors (logical properties, overflow-wrap, Sass interpolation, etc.).
src/assets/stylesheets/App.scss Refactors focus styling into a placeholder selector reused by a/button.
src/utils/ResizableWithHandle.js Formatting change (indentation).
src/components/Menus/Sidebar/Sidebar.jsx Formatting change (indentation).
src/components/Editor/Runners/PythonRunner/OutputViewToggle.jsx Formatting change (indentation).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 12 to +21
- Introduce @testing-library for cypress
- Update cypress (#1283)
- Dev container highlights eslint & stylelint detections (#1367)
- CI runs stylelint (#1367)

### Fixed

- Clear loaded modules to remove state between runs (#1287)
- Fix intermitently failing dropdown test (#1285)
- Fix a handful of linting issues across both eslint and stylelint (#1367)
Copy link
Contributor

Choose a reason for hiding this comment

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

We changed the release process to use Github to generate the changelog from merged PRs so this file is no longer used. Instead the PR title will be added to the changelog (and the PR linked to).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah, that's good news! do you want me to remove this then

Copy link
Contributor

Choose a reason for hiding this comment

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

Up to you, but it won't be used as it is.

Copy link
Contributor

@zetter-rpf zetter-rpf left a comment

Choose a reason for hiding this comment

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

It's great to have our styles linted again ☑️ ☑️ ☑️ ☑️

@danhalson danhalson merged commit e34755e into main Mar 12, 2026
7 checks passed
@danhalson danhalson deleted the danhalson/1318-integrate-stylelint-into-ci branch March 12, 2026 15:51
jamiebenstead pushed a commit that referenced this pull request Mar 13, 2026
jamiebenstead pushed a commit that referenced this pull request Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integrate Stylelint Into CI and Fix Existing Errors

3 participants