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

prettier-eslint error #879

Closed
ronaldruzicka opened this issue Jul 19, 2019 · 3 comments
Closed

prettier-eslint error #879

ronaldruzicka opened this issue Jul 19, 2019 · 3 comments
Labels
locked Please open a new issue and fill out the template instead of commenting.

Comments

@ronaldruzicka
Copy link

Hi,
recently I started to receive the following error while formatting via Prettier:

Screen Shot 2019-07-19 at 10 00 46

Prettier stops working and doesn't format the code. I can make it work if I turn off Eslint integration. But then I lose some formatting from Eslint. For example empty lines between functions or blocks of code:

const fn = () => {
  ...
}
// empty line
const anotherFn = () => {
  ...
}

Prettier without Eslint integration removes the the empty line.
The same with import/newline-after-import and other rules from Eslint.

OS: MacOS 10.14.5
VS code: 1.36.1
Prettier - Code formatter (VS code package): 1.9.0
Eslint (VS code package) - 1.9.0

Any help appreciated!

@idbartosz
Copy link

Probably related to #870 - leave 👍there to show authors that it should be fixed ASAP

@ntotten
Copy link
Member

ntotten commented Aug 12, 2019

Duplicate of #870

@ntotten ntotten marked this as a duplicate of #870 Aug 12, 2019
@ntotten ntotten closed this as completed Aug 12, 2019
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot added the locked Please open a new issue and fill out the template instead of commenting. label Apr 12, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked Please open a new issue and fill out the template instead of commenting.
Projects
None yet
Development

No branches or pull requests

3 participants