Summary
The repository-wide lint and formatting scripts fail on files unrelated to the current change set. This prevents the documented quality checks from completing successfully even when the changed files pass targeted ESLint and Prettier checks.
Steps to reproduce
- Run
npm ci.
- Run
npm run lint --workspace=web.
- Run
npm run format:check --workspace=web.
Expected result
Both commands exit successfully.
Actual result
- Lint exits with 13 errors. Most are
@typescript-eslint/require-await violations in draft, message-reader, user-profile, messenger-user, and push API modules; two are @typescript-eslint/consistent-type-definitions violations in packages/web/src/pages/chat/chat-page-route-context.hook.ts.
- Format checking reports style differences in
packages/web/src/entities/instance/instance.test.ts and packages/web/src/pages/chat/chat-page-route-context.hook.ts.
Environment
- Node.js 22.22.2
- npm 10.9.7
Additional validation
Targeted ESLint and Prettier checks pass for the files in the current change set, confirming that these failures are repository baseline issues.
Summary
The repository-wide lint and formatting scripts fail on files unrelated to the current change set. This prevents the documented quality checks from completing successfully even when the changed files pass targeted ESLint and Prettier checks.
Steps to reproduce
npm ci.npm run lint --workspace=web.npm run format:check --workspace=web.Expected result
Both commands exit successfully.
Actual result
@typescript-eslint/require-awaitviolations in draft, message-reader, user-profile, messenger-user, and push API modules; two are@typescript-eslint/consistent-type-definitionsviolations inpackages/web/src/pages/chat/chat-page-route-context.hook.ts.packages/web/src/entities/instance/instance.test.tsandpackages/web/src/pages/chat/chat-page-route-context.hook.ts.Environment
Additional validation
Targeted ESLint and Prettier checks pass for the files in the current change set, confirming that these failures are repository baseline issues.