Real-Dev-Squad / website-backend

The backend code for all our website-related apps
https://api.realdevsquad.com/
MIT License
46 stars 201 forks source link

Fix ESLint issues #1963

Closed mehra-sourav closed 3 months ago

mehra-sourav commented 4 months ago

Issue Description

The recent update in the package versions has caused ESLint to throw some errors over some unlinted files. Those files need to be linted.

Expected Behavior

All files in this repo are expected to follow ESLint rules

Current Behavior

~64 files are not following some updated ESLint rules, namely the consistent-spacing-between-blocks rule introduced in v10.3.0 of eslint-plugin-mocha.

Screenshots

image

Reproducibility

Steps to Reproduce

  1. Remove node_modules (if present)
  2. Reinstall packages using yarn install

Severity/Priority

Checklist