You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@captive/prettier-config

Package Overview
Dependencies
1
Maintainers
3
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@captive/prettier-config

Prettier shared configuration


Version published
Weekly downloads
830
decreased by-15.99%
Maintainers
3
Created
Weekly downloads
 

Readme

Source

Captive Prettier configuration (@captive/prettier-config)

NPM Version License

Prettier shared configuration

Installation

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

Usage

In the .prettierrc.json for your project

"@captive/prettier-config"

Or in the .prettierrc.js, to be able to override rules

module.exports = {
  ...require('@captive/prettier-config'),
  // Override rules
};

Rules

@captive/prettier-config
{
  "default": {
    "singleQuote": true,
    "trailingComma": "es5",
    "overrides": [
      {
        "files": [
          "*.css",
          "*.scss"
        ],
        "options": {
          "trailingComma": "none"
        }
      }
    ]
  }
}

Requirements

Prettier: 2.x || 3.x

License

MIT © Julien Polo julien.polo@gmail.com

About Captive

captive

@captive/prettier-config is maintained and funded by Captive. The names and logos for captive are trademarks of captive-studio.

We love open source software! See our other projects or hire us to design, develop, and grow your product.

Keywords

FAQs

Package last updated on 14 Mar 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc