Skip to content

ESLint and Prettier indentation conflict #29

@qualitymanifest

Description

@qualitymanifest

Just checking out this project to see if there was anything I could help with. I figured I'd run tests before getting started, and I'm getting some linter errors regarding lines 169-192 in foodSiteDetail. ESLint wants to add 2 spaces, but then when you do that Prettier wants you to take them away.

From my understanding eslint-config-prettier is supposed to prevent this, but I think the indent rule in eslintrc is overriding that. When I remove that prettier handles indentation just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions