RealDevSquad / RealDevSquad/website-backend

[RFC] Prettier / ESLint issue

Open
#682 0 comments 1 reaction 1 assignee View on GitHub

@RitikJaiswal75 is already working on this.

Since Aug 21, 2022.

backend beginner friendly enhancement
Dominant language
JavaScript
Stars
74
Forks
276
Avg merge
1d 26m
Merged PRs (30d)
14

Description

Issue:

The default behavior of prettier is to use four spaces for indentation. But, for the backend, we are using two spaces. This delays the coding process. The first time we open the project the eslint appears all over. This also conflicts with the local prettier formatting which changes on each save.

Category

  • Enhancement

Issue discovered and discussed on:

  • Discovered: 13 August 2022
  • Discussed: 17 August 2022 (Over the hangout call with Ankush)

Solutions:

  • A possible method to solve this is by using prettierrc. But, looking for other ways to solve it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.