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.

Support .prettierrc with dashed options

See original GitHub issue

Prettier supports both print-width and printWidth in .prettierrc, when you run it on the command line. Prettier-vscode works only with printWidth. Same for all other properties with dashes. This should be either fixed or a note should be added in readme to use camel case.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
omahlamacommented, Jan 17, 2018

Ok good to know, anyway I fixed our config to be camel cased, but wanted to open an issue in case someone else runs into this.

0reactions
github-actions[bot]commented, Apr 13, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Options - Prettier
Prettier ships with a handful of format options. To learn more about Prettier's stance on options – see the Option Philosophy. If you...
Read more >
How to configure prettier to automatically format your code
Site: https://prettier.io/prettier is a code formatter for JavaScript that I very highly recommend! In this I'll show you to install it, ...
Read more >
Linting in TypeScript using ESLint and Prettier - LogRocket Blog
Integrate Prettier with ESLint to automate type-checking in your TypeScript code and ensure that the code has no bugs.
Read more >
Configure Prettier and ESLint with Angular
How does ESLint help? ... Inside .prettierrc.json we can change the default settings by ... WebStorm has support of of the box for...
Read more >
prettier-plugin-jsdoc | Yarn - Package Manager
Full up to date list and description of options can be found in Prettier help. First install plugin then run Prettier with "--help"...
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