Downloads:

13,643

Downloads of v 9.9.0:

571

Last Update:

24 Sep 2022

Package Maintainer(s):

Software Author(s):

  • Esben Petersen

Tags:

formatter code vscode prettier

Prettier Code Formatter VSCode Extension

  • 1
  • 2
  • 3

9.9.0 | Updated: 24 Sep 2022

Downloads:

13,643

Downloads of v 9.9.0:

571

Maintainer(s):

Software Author(s):

  • Esben Petersen

  • 1
  • 2
  • 3
Prettier Code Formatter VSCode Extension 9.9.0

  • 1
  • 2
  • 3

This Package Contains an Exempted Check

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Exemption:

Requires any version of Visual Studio Code to be pre-installed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install Prettier Code Formatter VSCode Extension, run the following command from the command line or from PowerShell:

>

To upgrade Prettier Code Formatter VSCode Extension, run the following command from the command line or from PowerShell:

>

To uninstall Prettier Code Formatter VSCode Extension, run the following command from the command line or from PowerShell:

>

Deployment Method:

📝 NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade vscode-prettier -y --source="'INTERNAL REPO URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade vscode-prettier -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install vscode-prettier
  win_chocolatey:
    name: vscode-prettier
    version: '9.9.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'vscode-prettier' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '9.9.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller vscode-prettier
{
    Name     = "vscode-prettier"
    Version  = "9.9.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'vscode-prettier':
  ensure   => '9.9.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

There are versions of this package awaiting moderation . See the Version History section below.

This package was approved as a trusted package on 24 Sep 2022.

Description

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

JavaScript · TypeScript · Flow · JSX · JSON
CSS · SCSS · Less
HTML · Vue · Angular
GraphQL · Markdown · YAML
Your favorite language?

screenshot

Notes

  • This package requires Visual Studio Code 1.60.0 or newer.
    You can install either the vscode or vscode-insiders package.
  • The extension will be installed in all editions of Visual Studio Code which can be found.
  • While this package installs a specific version of the extension, Visual Studio Code by default will update the extension to the latest version on startup if there's a newer version available on the marketplace.
    See Extension auto-update for instructions on how to disable auto-update.
  • This package is automatically updated using the Chocolatey Automatic Package Update Model (AU).
    If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know the package is no longer updating correctly.

legal\LICENSE.txt
MIT License

Copyright (c) 2017 Esben Petersen

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
legal\VERIFICATION.txt
VERIFICATION

Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The Visual Code extension has been downloaded from the official Visual Studio Marketplace public gallery
and can be verified by:

1. Go to the Visual Studio Marketplace page for the extension

  https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

and download the extension esbenp.prettier-vscode-9.9.0.vsix using the Download Extension link
in the Resources section of the sidebar.

Alternatively the package can be downloaded directly from

  https://marketplace.visualstudio.com/_apis/public/gallery/publishers/esbenp/vsextensions/prettier-vscode/9.9.0/vspackage

2. The extension can be validated by comparing checksums
  - Use powershell function 'Get-Filehash' - Get-Filehash esbenp.prettier-vscode-9.9.0.vsix
  - Use chocolatey utility 'checksum.exe' - checksum -t sha256 -f esbenp.prettier-vscode-9.9.0.vsix

  Type:     sha256
  Checksum: 62BECCE07C9135CB017FC6209502EFC998DB94C86D92930FF9FF521FCA146AFD

  File LICENSE.txt is obtained from https://marketplace.visualstudio.com/items/esbenp.prettier-vscode/license
tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

Install-VsCodeExtension -extensionId "$toolsDir\esbenp.prettier-vscode-9.9.0.vsix"
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

Uninstall-VsCodeExtension -extensionId 'esbenp.prettier-vscode'
tools\esbenp.prettier-vscode-9.9.0.vsix
md5: F071ECC79C66B7F1B8B36750AE612B04 | sha1: 343EAA5073C55517B1290DA8D16146C0446A71A9 | sha256: 62BECCE07C9135CB017FC6209502EFC998DB94C86D92930FF9FF521FCA146AFD | sha512: E13CA7BF1DADA9557DA6B576D6800BBE9FEABC334AA6FBEF83A80EA5DAB2554CD71551EF4DF47FFBF04889D172BB4DE25763D4272F446C3E0D761806C1B954D8

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
Prettier Code Formatter VSCode Extension 9.10.3 1 Friday, December 2, 2022 Pending Automated Review
Prettier Code Formatter VSCode Extension 9.8.0 514 Sunday, August 21, 2022 Approved
Prettier Code Formatter VSCode Extension 9.5.0 1083 Tuesday, March 29, 2022 Approved
Prettier Code Formatter VSCode Extension 9.3.0 372 Monday, February 21, 2022 Approved
Prettier Code Formatter VSCode Extension 9.2.0 277 Sunday, February 13, 2022 Approved
Prettier Code Formatter VSCode Extension 9.1.0 385 Saturday, January 8, 2022 Approved
Prettier Code Formatter VSCode Extension 9.0.0 783 Tuesday, September 21, 2021 Approved
Prettier Code Formatter VSCode Extension 8.1.0 520 Tuesday, July 27, 2021 Approved
Prettier Code Formatter VSCode Extension 8.0.1 414 Thursday, June 24, 2021 Approved
Prettier Code Formatter VSCode Extension 7.1.1 184 Tuesday, June 22, 2021 Approved
Prettier Code Formatter VSCode Extension 6.4.0 544 Tuesday, May 11, 2021 Approved
Prettier Code Formatter VSCode Extension 6.3.2 467 Tuesday, April 6, 2021 Approved
Prettier Code Formatter VSCode Extension 6.3.1 368 Wednesday, March 17, 2021 Approved
Prettier Code Formatter VSCode Extension 6.2.0 181 Monday, March 15, 2021 Approved
Prettier Code Formatter VSCode Extension 5.9.2 427 Friday, February 12, 2021 Approved
Prettier Code Formatter VSCode Extension 5.9.1 295 Friday, February 5, 2021 Approved
Prettier Code Formatter VSCode Extension 5.8.0 589 Saturday, November 21, 2020 Approved
Prettier Code Formatter VSCode Extension 5.7.2 255 Thursday, November 12, 2020 Approved
Prettier Code Formatter VSCode Extension 5.7.1 303 Friday, September 25, 2020 Approved
Prettier Code Formatter VSCode Extension 5.6.0 185 Thursday, September 10, 2020 Approved
Prettier Code Formatter VSCode Extension 5.5.0 174 Friday, August 28, 2020 Approved
Prettier Code Formatter VSCode Extension 5.3.0 116 Thursday, August 27, 2020 Approved
Prettier Code Formatter VSCode Extension 5.2.1 119 Tuesday, August 25, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.3 397 Friday, July 3, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.2 138 Thursday, July 2, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.1 107 Wednesday, July 1, 2020 Approved
Prettier Code Formatter VSCode Extension 5.1.0 146 Saturday, June 20, 2020 Approved
Prettier Code Formatter VSCode Extension 5.0.1 84 Saturday, June 20, 2020 Approved
Prettier Code Formatter VSCode Extension 5.0.0 188 Wednesday, June 3, 2020 Approved
Prettier Code Formatter VSCode Extension 4.7.0 191 Thursday, May 14, 2020 Approved
Prettier Code Formatter VSCode Extension 4.6.0 141 Sunday, May 10, 2020 Approved
Prettier Code Formatter VSCode Extension 4.5.0 200 Thursday, April 23, 2020 Approved
Prettier Code Formatter VSCode Extension 4.4.0 176 Thursday, April 16, 2020 Approved
Prettier Code Formatter VSCode Extension 4.3.0 115 Tuesday, April 14, 2020 Approved
Prettier Code Formatter VSCode Extension 4.2.0 116 Friday, April 10, 2020 Approved
Prettier Code Formatter VSCode Extension 4.1.1 135 Tuesday, April 7, 2020 Approved
Prettier Code Formatter VSCode Extension 4.0.0 132 Saturday, April 4, 2020 Approved
Prettier Code Formatter VSCode Extension 3.20.0 305 Wednesday, January 29, 2020 Approved
Prettier Code Formatter VSCode Extension 3.19.0 112 Wednesday, January 29, 2020 Approved
Prettier Code Formatter VSCode Extension 3.18.0 194 Monday, December 23, 2019 Approved
Prettier Code Formatter VSCode Extension 3.17.0 145 Friday, December 20, 2019 Approved
Prettier Code Formatter VSCode Extension 3.16.1 138 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.16.0 133 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.15.0 115 Wednesday, December 18, 2019 Approved
Prettier Code Formatter VSCode Extension 3.14.0 135 Monday, December 16, 2019 Approved
Prettier Code Formatter VSCode Extension 3.13.0 117 Sunday, December 15, 2019 Approved
Prettier Code Formatter VSCode Extension 3.12.0 122 Sunday, December 15, 2019 Approved
Prettier Code Formatter VSCode Extension 3.11.0 151 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.10.0 166 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.9.0 112 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.8.0 110 Wednesday, December 4, 2019 Approved
Prettier Code Formatter VSCode Extension 3.7.0 195 Saturday, November 23, 2019 Approved
Discussion for the Prettier Code Formatter VSCode Extension Package

Ground Rules:

  • This discussion is only about Prettier Code Formatter VSCode Extension and the Prettier Code Formatter VSCode Extension package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Prettier Code Formatter VSCode Extension, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus