Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint and Prettier indentation conflict #29

Open
qualitymanifest opened this issue Dec 6, 2019 · 0 comments · May be fixed by #30
Open

ESLint and Prettier indentation conflict #29

qualitymanifest opened this issue Dec 6, 2019 · 0 comments · May be fixed by #30

Comments

@qualitymanifest
Copy link
Contributor

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.

@qualitymanifest qualitymanifest linked a pull request Dec 6, 2019 that will close this issue
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 a pull request may close this issue.

1 participant