From 5500f2199013302c33a882ac1eb7c8c2c6a4cac9 Mon Sep 17 00:00:00 2001 From: Alex Lavrov <36633600+alexslavr@users.noreply.github.com> Date: Fri, 26 Jun 2026 16:42:21 +0400 Subject: [PATCH 1/2] Update linting commands in documentation and package.json for consistency --- .github/copilot-instructions.md | 2 +- CLAUDE.md | 2 +- packages/devextreme/package.json | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index a670af5c1ef4..b0cf5af9073d 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -28,7 +28,7 @@ pnpm nx test devextreme-angular # wrapper tests (also -react, -vue) # Lint pnpm nx run-many -t lint # all packages -pnpm run lint # devextreme package: js, ts, dts, texts +pnpm nx run devextreme:lint # devextreme package: js, ts, dts, texts pnpm run lint-js -- --fix # auto-fix JS # Regenerate (after changes to generators, TS declarations, or devextreme-internal-tools) diff --git a/CLAUDE.md b/CLAUDE.md index 32090732beb1..3908cb0607b8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -68,7 +68,7 @@ QUnit tests are not written for new code but used to verify existing grid behavi **From `packages/devextreme`:** ```bash -pnpm run lint # All linting +pnpm nx lint # All linting (aggregates lint-js, lint-ts, lint-dts, lint-texts) pnpm run lint-js # JS only pnpm run lint-ts # TS only pnpm run lint-dts # .d.ts files diff --git a/packages/devextreme/package.json b/packages/devextreme/package.json index 81aac96d065a..62124bf95b42 100644 --- a/packages/devextreme/package.json +++ b/packages/devextreme/package.json @@ -179,7 +179,6 @@ }, "scripts": { "clean": "gulp clean", - "lint": "nx run devextreme:lint", "lint-js": "eslint --quiet '**/*.js'", "lint-ts": "eslint --quiet '**/*.{tsx,ts}' --ignore-pattern '**/*.d.ts'", "lint-dts": "eslint './js/**/*.d.ts'", From 266b5751eaf6248e3936f1263c75a188059be535 Mon Sep 17 00:00:00 2001 From: Alex Lavrov <36633600+alexslavr@users.noreply.github.com> Date: Fri, 26 Jun 2026 16:47:51 +0400 Subject: [PATCH 2/2] Potential fix for pull request finding 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> --- CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 3908cb0607b8..3856b9286502 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -68,7 +68,7 @@ QUnit tests are not written for new code but used to verify existing grid behavi **From `packages/devextreme`:** ```bash -pnpm nx lint # All linting (aggregates lint-js, lint-ts, lint-dts, lint-texts) +pnpm nx run devextreme:lint # All linting (aggregates lint-js, lint-ts, lint-dts, lint-texts) pnpm run lint-js # JS only pnpm run lint-ts # TS only pnpm run lint-dts # .d.ts files