Skip to content

vidavidorra/prettier-config

Prettier configuration

Prettier configuration.

  • Disable bracket spacing in object literals.
  • Use single quotes, for strings with a tie between double and single quotes or strings not containing any quotes.

npm version npm downloads Node.js version support Renovate semantic-release Code coverage License

Install

npm install --save-dev @vidavidorra/prettier-config prettier

Usage

Use this configuration in your project's Prettier configuration by specifying it as string value in the configuration, as documented in the Prettier Using a Shareable Config documentation. In the your package.json this is simply the prettier key with the plugin name as value, as shown in the following example.

{
  "prettier": "@vidavidorra/prettier-config"
}

Contributing

Please create an issue if you have a bug report or feature proposal, or create a discussion if you have a question. If you like this project, please consider giving it a star ⭐ to support my work.

Refer to the contributing guide for detailed information about other contributions, like pull requests.

Conventional Commits: 1.0.0 Linter XO code style Prettier code style

Security policy

Please refer to the Security Policy on GitHub for the security policy.

License

This project is licensed under the GPLv3 license.

Copyright © 2025 Jeroen de Bruijn

License notice

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.

The full text of the license is available in the LICENSE file in this repository and online

About

Prettier configuration

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •