Skip to content

fix(ci): separate file and project lint commands - #65

Merged
aryanjasala merged 1 commit into
mainfrom
fix/lint-files-scripts
Nov 5, 2026
Merged

aryanjasala merged 1 commit into
mainfrom
fix/lint-files-scripts

Conversation

@Adi-ty

@Adi-ty Adi-ty commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

Description

Separate changed-file linting from whole-project linting. Previously, appending changed paths to scripts targeting ./src still linted the entire directory.

Technical Details

  • Add path-free lint:js:files and lint:css:files commands.
  • Keep lint:js and lint:css targeting ./src by delegating to the new commands.
  • Update CI inputs and pre-commit hooks to use file-specific commands.
  • Allow CSS linting to succeed when all supplied files are ignored.
  • Correct indentation in webpack.config.js.

Checklist

Screenshots

N/A

To-do

Before merging, ensure the workflow ref used here includes rtCamp/wp-shared-workflows#47, then rerun CI.

Fixes/Covers issue

Related to rtCamp/wp-shared-workflows#47.

@Adi-ty
Adi-ty marked this pull request as ready for review November 4, 2026 13:10
Copilot AI balanced review requested due to automatic review settings November 4, 2026 13:10

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.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing. Review the Copilot code review billing settings.

@aryanjasala
aryanjasala requested a balanced review from Copilot November 4, 2026 13:31

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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues

Review effort: Lite

Comment thread package.json Resolved
Comment thread package.json Resolved
@aryanjasala
aryanjasala merged commit 2c4c7b9 into main Nov 5, 2026
18 of 19 checks passed
@aryanjasala
aryanjasala deleted the fix/lint-files-scripts branch November 5, 2026 12:03
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.

3 participants