Skip to content

Add option neverIndentImports to skip import statements formatting#5991

Closed
dimikot wants to merge 1 commit intoprettier:masterfrom
dimikot:master
Closed

Add option neverIndentImports to skip import statements formatting#5991
dimikot wants to merge 1 commit intoprettier:masterfrom
dimikot:master

Conversation

@dimikot
Copy link
Copy Markdown

@dimikot dimikot commented Mar 19, 2019

People sometimes prefer to use VSCode's built-in source.organizeImports feature which, among other things, places all imports on the same line. Adding neverIndentImports to Prettier to optionally disable import statements indentation.

  • I’ve added tests to confirm my change works.
  • I’ve added my changes to the CHANGELOG.unreleased.md file following the template.
  • I’ve read the contributing guidelines.

Copy link
Copy Markdown
Member

@alexander-akait alexander-akait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before send a PR please create issue, because we don't love options, please read https://prettier.io/docs/en/option-philosophy.html

@alexander-akait
Copy link
Copy Markdown
Member

Sorry we don't want new option (please look https://prettier.io/docs/en/option-philosophy.html) and don't want to change current output, anyway thanks for using prettier

@lock lock bot added the locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting. label Feb 4, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Feb 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

locked-due-to-inactivity Please open a new issue and fill out the template instead of commenting.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants