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.

What do you think about eslint-plugin-prettier?

See original GitHub issue

https://github.com/not-an-aardvark/eslint-plugin-prettier

It allows you to:

  • Verify that files are formatted with prettier by running eslint.
  • Format files by runnung eslint --fix.
  • Re-use any tooling/setup that works with eslint.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
kentcdoddscommented, Jan 26, 2017

Well, if @not-an-aardvark can agree to allow configuration to disable error reporting from this plugin, then we could do away with my module. Otherwise, yes, I think they should both exist to support the different use cases.

1reaction
lydellcommented, Jan 26, 2017

Yes, I’ll send a PR soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

ESLint plugin for Prettier formatting - GitHub
This plugin works best if you disable all other ESLint rules relating to code formatting, and only enable rules that detect potential bugs....
Read more >
Prettier + ESLint = ❤️ | Ben Ilegbodu
Prettier is a highly-opinionated code formatter intended to remove discussions about code style in code reviews. By default, we run prettier -- ...
Read more >
Integrating with Linters - Prettier
First, we have plugins that let you run Prettier as if it was a linter rule: eslint-plugin-prettier · stylelint-prettier. These plugins were especially...
Read more >
Why use "eslint-plugin-prettier" over "eslint-config-prettier"
1 Answer 1 · eslint-plugin-prettier - runs Prettier as an ESLint rule and reports differences as individual ESLint issues. · eslint-config- ...
Read more >
How to use Prettier with ESLint - Robin Wieruch
We will start by installing the Prettier and ESLint extension/plugin for your editor/IDE. For instance, in VSCode you can find Prettier and ...
Read more >

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