question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove Prettier from eslint

See original GitHub issue

What is the Problem Being Solved?

https://github.com/Agoric/agoric-sdk/pull/4330#discussion_r789387409

Description of the Design

Security Considerations

n/a

Test Plan

  • prettier problems don’t appear in IDE
  • pretty-check failures fail CI

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
mhofmancommented, Jan 28, 2022

Any reason people can’t update their IDEs to run both eslint and prettier fix on save? VSCode should do prettier by default. I actually don’t like having eslint fix on by default as that’s usually more invasive changes, but I understand some may want to have it. The code hint overload can be real between all these tools.

Btw, do we know if the eslint-prettier plugin respects the // prettier-ignore instruction?

0reactions
turadgcommented, Apr 1, 2022

Just ran into something else that would improve by removing this: eslint warnings in Github UI: Screen Shot 2022-04-01 at 8 06 47 AM

@FUDCo doesn’t want any format-on-save and his draft PRs aren’t meant to pass CI. The Prettier warnings clutter reading the code and provide no useful information.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to remove prettier plugin from ESLint in VS Code?
I've been using prettier plugin for ESLint for a while and now I've got project with different .eslintrc.js . My config use to...
Read more >
error Delete `··` prettier/prettier · Issue #219 - GitHub
I note that you are not extending the eslint-config-prettier configuration. You should configure that there are no eslint rules that conflict ...
Read more >
eslint-plugin-prettier - npm
Runs Prettier as an ESLint rule and reports differences as individual ESLint issues. If your desired formatting does not match Prettier's output ...
Read more >
Ignoring Code - Prettier
Use “prettier-ignore” comments to ignore parts of files. Ignoring Files: .prettierignore. To exclude files from formatting, create a .prettierignore file in the ...
Read more >
Set up ESLint and Prettier for React Native projects - Three29
ESLint is a linting tool for JavaScript that allows developers to find problematic patterns or code that doesn't adhere to certain style guidelines....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found