Skip to content

TKW: add actionlint, pin deps exactly, and finish the Gale migration - #94

Merged
codebend3r merged 2 commits into
mainfrom
actionlint-and-stylelint-removal
Sep 21, 2026
Merged

codebend3r merged 2 commits into
mainfrom
actionlint-and-stylelint-removal

Conversation

@codebend3r

Copy link
Copy Markdown
Owner

Summary

  • add actionlint and run it in lint, system-check, and both workflows
  • pin every dependency exactly via exact = true in bunfig.toml
  • finish the Gale migration — nothing named stylelint is installed any more

actionlint

  • github-actionlint (1.7.12) downloads and runs the official rhysd/actionlint release binary
  • new lint:actions script, folded into lint, so system-check covers it
  • new Lint Actions step in pull-request-checks.yml and sanity-check.yml
  • both workflows lint clean today; a bad runs-on label was used to confirm it actually fails

Exact pins

  • exact = true under [install] in bunfig.toml — bun add can no longer write a ^ or ~ range
  • every existing entry in package.json was already exact; nothing needed rewriting

Spellcheck

  • @ocular-d/typos-bin and the spellcheck script were already present and already wired into both workflows — no change needed

Gale / stylelint removal

  • rename .stylelintrc.json to gale.json; Gale was reading it, so deleting it outright would have silently disabled every SCSS rule
  • inline the resolved stylelint-config-recommended-scss ruleset, dropping both stylelint and stylelint-config-recommended-scss (the config package pulled stylelint back in as a peer)
  • gale --print-config is byte-identical to the pre-change effective config
  • Gale implements the scss/* rules natively and honors stylelint-disable comments, so the three existing ones still work
  • point lint-staged at gale --fix
  • rename lint:css to lint:scss, fixing the workflow steps that still called the old name
  • refresh docs/tooling-rule-mapping.md, component-scaffold, and style-critic

- rename `.stylelintrc.json` to `gale.json`; Gale was reading it, so deleting it would have silently disabled every SCSS rule
- inline the resolved `stylelint-config-recommended-scss` ruleset so no `stylelint` package is installed, directly or as a peer
- drop `stylelint` and `stylelint-config-recommended-scss` from `devDependencies`
- point `lint-staged` at `gale --fix` instead of `stylelint --fix`
- rename `lint:css` to `lint:scss` and update both workflows
- `gale --print-config` is byte-identical to the pre-change effective config
- Gale implements `scss/*` natively and honors `stylelint-disable` comments, so the three existing ones still work
- refresh `docs/tooling-rule-mapping.md`, `component-scaffold` and `style-critic` for the new tool names
- add `github-actionlint` (`1.7.12`), which runs the official `rhysd/actionlint` release binary
- add a `lint:actions` script and fold it into `lint`, so `system-check` covers it alongside `spellcheck`
- add a `Lint Actions` step to `pull-request-checks.yml` and `sanity-check.yml`
- set `exact = true` under `[install]` in `bunfig.toml` so `bun add` can never write a `^` or `~` range
- `@ocular-d/typos-bin` and the `spellcheck` script were already in place and already wired into both workflows
@netlify

netlify Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for theknownworld ready!

Name Link
🔨 Latest commit f454ebb
🔍 Latest deploy log https://app.netlify.com/projects/theknownworld/deploys/6ab1b1bbc491fd0008342975
😎 Deploy Preview https://deploy-preview-94--theknownworld.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@codebend3r
codebend3r merged commit 5038661 into main Sep 21, 2026
5 checks passed
@codebend3r
codebend3r deleted the actionlint-and-stylelint-removal branch September 21, 2026 22:57
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.

1 participant