Skip to content

Remove lint npm script in favor of nx target#34145

Open
alexslavr wants to merge 2 commits into
26_1from
lavrov/devextreme-nx-lint
Open

Remove lint npm script in favor of nx target#34145
alexslavr wants to merge 2 commits into
26_1from
lavrov/devextreme-nx-lint

Conversation

@alexslavr

Copy link
Copy Markdown
Contributor

Follow-up for #34117

@alexslavr alexslavr requested a review from Copilot June 26, 2026 12:44
@alexslavr alexslavr self-assigned this Jun 26, 2026
@alexslavr alexslavr requested a review from a team as a code owner June 26, 2026 12:44
@alexslavr alexslavr added the 26_1 label Jun 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the lint npm script from packages/devextreme/package.json and updates repository documentation to direct contributors to the Nx devextreme:lint target instead.

Changes:

  • Removed scripts.lint from packages/devextreme/package.json (previously nx run devextreme:lint).
  • Updated .github/copilot-instructions.md to use pnpm nx run devextreme:lint for devextreme linting.
  • Updated CLAUDE.md lint instructions (but currently uses an Nx command form that likely won’t run as written).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
packages/devextreme/package.json Removes the local lint npm script to encourage using Nx targets directly.
CLAUDE.md Updates “all linting” command; currently missing the required project/target specification for Nx.
.github/copilot-instructions.md Updates lint command guidance to use the Nx devextreme:lint target.

Comment thread CLAUDE.md Outdated
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Alex Lavrov <36633600+alexslavr@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 26, 2026 12:47

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Comment thread CLAUDE.md
**From `packages/devextreme`:**
```bash
pnpm run lint # All linting
pnpm nx run devextreme:lint # All linting (aggregates lint-js, lint-ts, lint-dts, lint-texts)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants