Skip to content

Rename npm scripts to lint:* and test:* - #790

Merged
mbohal merged 1 commit into
masterfrom
maintenance/refactor-npm-scripts
Nov 13, 2026
Merged

mbohal merged 1 commit into
masterfrom
maintenance/refactor-npm-scripts

Conversation

@mbohal

@mbohal mbohal commented Nov 13, 2026

Copy link
Copy Markdown
Contributor
  • Linters run as lint:eslint, lint:stylelint, lint:markdownlint and lint:types.
  • Playwright runs as test:playwright
  • test is removed

* Linters run as `lint:eslint`, `lint:stylelint`, `lint:markdownlint`
  and `lint:types`.
* Playwright runs as `test:playwright`
* `test` is removed
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-13 14:13 UTC

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues were identified for the npm command standardization and related configuration updates.

No open issues 🎉

What changed in this PR

Standardizes the project’s npm commands under lint:* and test:*, with matching updates to CI, contributor documentation, and assistant guidance.

Changes:

  • Renames lint and Playwright scripts and removes the generic test script.
  • Configures ESLint to target src and tests without explicit command-line paths.
  • Updates workflows, command examples, and assistant permissions to use the new names.
File Description
src/​docs/​contribute/​testing-guidelines.md Updates lint, test, snapshot, and report commands.
package.json Standardizes script names and removes obsolete aliases.
eslint.config.mjs Defines the default lint scope as src and tests.
CLAUDE.md Refreshes the command table and CI guidance.
.github/​workflows/​test.yml Runs Jest through test:jest.
.github/​workflows/​release-management.yml Uses test:jest during release checks.
.github/​workflows/​playwright.yml Uses the renamed Playwright script.
.claude/​skills/​commit/​SKILL.md Updates the pre-commit Playwright command.
.claude/​settings.json Adjusts command permissions for script families.
.claude/​rules/​testing.md Updates test, snapshot, and report examples.
.claude/​rules/​styling.md Uses lint:stylelint in styling guidance.
.claude/​rules/​frontend.md Uses the renamed ESLint and type-check scripts.
.claude/​rules/​docs.md Uses lint:markdownlint in documentation guidance.
.claude/​agents/​code-reviewer.md Updates CI gate descriptions and review reminders.

Review effort: Balanced

@mbohal
mbohal requested review from adamkudrna and removed request for adamkudrna November 13, 2026 10:12
@mbohal
mbohal merged commit ceeb710 into master Nov 13, 2026
18 checks passed
@mbohal
mbohal deleted the maintenance/refactor-npm-scripts branch November 13, 2026 14:13

This branch was successfully deployed

1 active deployment
pr-preview/pr-790 — 55bfdc8d Deployed Nov 13, 2026 by mbohal via Deploy PR Preview #165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants