bracketSpacing and compatibility with Prettier configs
See original GitHub issueLack of the bracketSpacing
option in PrettierX breaks compatibility with Prettier configs.
This configuration with Prettier…
{
"bracketSpacing": false,
}
Does not work with PrettierX.
I think the compatibility should be preserved by expanding bracketSpacing
in its equivalent grainy options.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
Options - Prettier
Bracket Spacing. Print spaces between brackets in object literals. Valid options: true - Example: { foo: bar } .
Read more >prettier: true , but no spaces inside braces: {Foo} #614 - GitHub
I have prettier: true in my xo config, but, I'm seeing this ... Wow, dreams come true, prettier actually has an option bracketSpacing...
Read more >Prettier+ - Visual Studio Marketplace
Give Prettier the ability to read the user settings of Visual Studio ... Prettier+ is a superset of Prettier, Full backward compatibility.
Read more >Efficient workflow with ESLint and Prettier - Dhanraj Padmashali
The Config. I use .prettierrc.js and .eslintrc.js to manage configurations for JavaScript based projects.
Read more >Using Prettier and ESLint to automate formatting and fixing ...
Learn how to use ESLint and Prettier together to automatically format and fix JavaScript code in your projects.
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 FreeTop 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
Top GitHub Comments
Got it, wish you would have mentioned it before. Definitely was a breaking change:)
@brodybits , I like the granular options in prettierx v17. The only downside is that unsupported options causes prettierx loading to fail. (See aMarCruz/eslint-plugin-prettierx#7) As always, thanks for your prompt reply. Closing.