Remove Prettier from eslint
See original GitHub issueWhat is the Problem Being Solved?
https://github.com/Agoric/agoric-sdk/pull/4330#discussion_r789387409
Description of the Design
- Remove prettier concern from eslint
- anyone relying on the eslint autofix can enable formatOnSave with https://github.com/Agoric/agoric-sdk/blob/master/scripts/configure-vscode.sh
- Add prettier check to CI
yarn lint-fixin each package should still fix formatting (cc @kriskowal @warner )
Security Considerations
n/a
Test Plan
- prettier problems don’t appear in IDE
- pretty-check failures fail CI
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:12 (12 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

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-ignoreinstruction?Just ran into something else that would improve by removing this: eslint warnings in Github UI:
@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.