Skip to content

chore: add ESLint configuration for server package#682

Open
Nitish296 wants to merge 2 commits into
parthbuilds-community:mainfrom
Nitish296:add-server-eslint-config
Open

chore: add ESLint configuration for server package#682
Nitish296 wants to merge 2 commits into
parthbuilds-community:mainfrom
Nitish296:add-server-eslint-config

Conversation

@Nitish296

Copy link
Copy Markdown

Summary

Adds ESLint support for the server/ package and fixes existing lint errors so backend linting can run successfully.

Changes

  • Added ESLint flat configuration (eslint.config.mjs)
  • Added ESLint dependencies to server/package.json
  • Added npm run lint script for the server package
  • Configured Node/CommonJS globals
  • Fixed existing ESLint errors (no-empty, no-control-regex, no-useless-escape, test globals, etc.)
  • Kept existing no-unused-vars issues as warnings to avoid large unrelated refactors

Verification

npm run lint

Output:

✖ 29 problems (0 errors, 29 warnings)

Commits

  1. chore: add ESLint configuration for server
  2. fix: resolve existing ESLint errors

@github-actions github-actions Bot added enhancement New feature or request refactor Improve code without changing functionality backend labels Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend enhancement New feature or request refactor Improve code without changing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant