Skip to content

Integrate Prettier with ESLint #135

@iRohitGaur

Description

@iRohitGaur

Prettier and ESLint have conflicts with code formatting. Task is to integrate Prettier with ESLint to resolve these conflicts.

We have 2 options:

  1. Either let ESLint know that we want to use Prettier as a formatter.
    https://dev.to/s2engineers/how-to-make-eslint-work-with-prettier-avoiding-conflicts-and-problems-57pi

  2. We can configure ESlint and Prettier together and resolve the conflicting rules without any conflicts. https://blog.theodo.com/2019/08/empower-your-dev-environment-with-eslint-prettier-and-editorconfig-with-no-conflicts/

You are more than welcome to suggest another approach.

PS: Remove all eslint-disable comments from the codebase after the integration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions