Skip to content

Chore/backend eslint config#67

Open
Samaro1 wants to merge 3 commits intoCreditra:mainfrom
Samaro1:chore/backend-eslint-config
Open

Chore/backend eslint config#67
Samaro1 wants to merge 3 commits intoCreditra:mainfrom
Samaro1:chore/backend-eslint-config

Conversation

@Samaro1
Copy link

@Samaro1 Samaro1 commented Feb 26, 2026

Adds an ESLint setup for the backend TypeScript codebase to standardize linting and improve code consistency without changing application logic.

Changes
Added ESLint and related dev dependencies (eslint, @typescript-eslint, airbnb-typescript, etc.)
Created .eslintrc.cjs with recommended and project-specific rules
Added .eslintignore to exclude build artifacts
Updated the lint script in package.json to run:
eslint --ext .ts src
Adjusted some rules to reduce unnecessary churn and match the current code style
Fixed or suppressed a few lint issues in test files (duplicate imports, unused variables, naming, quotes)
Added linting instructions to the README

Notes for Maintainer
Some tests were already failing before this PR (6 failed | 3 passed).
Those failures are unrelated to the ESLint setup.

Closes #43

@Samaro1 Samaro1 force-pushed the chore/backend-eslint-config branch from 30dccd6 to 905c464 Compare February 26, 2026 11:31
@greatest0fallt1me
Copy link
Contributor

@Samaro1 Can you resolve the conflicts?

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.

Add ESLint configuration tuned for backend TypeScript

2 participants