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.

How to use presets from eslint-plugin-prettierx configuration?

See original GitHub issue

I have the following eslint config which works fine.

    "plugins": [
    "extends": [

How do I setup prettierx to grab the configuration from here during formatting? Or do I have to duplicate it in a prettierrc file or something?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

brodybitscommented, Feb 17, 2021

See the note at the end of

Note: This method does not offer a way to extend the configuration to overwrite some properties from the shared configuration. If you need to do that, import the file in a .prettierrc.js file and export the modifications, e.g:

module.exports = {
  semi: false,

I would love to make the Prettier stack more pluggable and extensible but am not in a position to make this a priority as a lone freelancer 😃

aMarCruzcommented, Feb 20, 2021

@ronag , @brodybits , sorry by the delay.

DELETED, THIS COMMENT IS NOT VALID FOR eslint-plugin-prettierx 😖

Read more comments on GitHub >

github_iconTop Results From Across the Web

Integrating with Linters - Prettier
Use Prettier for code formatting concerns, and linters for code-quality concerns, as outlined in ... eslint-config-prettier · stylelint-config-prettier.
Read more >
Eslint / Prettier - What presets should we use?
I'm thinking we could use prettier with the default config (no config file). Yes, I know, that means no trailing comma, no semis...
Read more >
ESLint plugin for Prettier formatting - GitHub
eslint -plugin-prettier Build Status. Runs Prettier as an ESLint rule and reports differences as individual ESLint issues. If your desired formatting does ...
Read more >
Setting up efficient workflows with ESLint, Prettier and ...
For special rules like TypeScript or new features that are not supported by ESLint, we have to install either a eslint-config-xxx or a...
Read more >
Configuring ESLint with Prettier | Dev Diary
We'll see 2 methods to configure ESLint with Prettier and write ... We'll use 2 presets (think of them as a collection of...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found