2.0.5 • Published 2 months ago

@captive/prettier-config v2.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

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

{
  "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.

2.0.5

2 months ago

2.0.4

5 months ago

2.0.3

5 months ago

1.1.18

7 months ago

1.1.17

9 months ago

2.0.2

6 months ago

1.1.16

9 months ago

1.1.15

10 months ago

2.0.1

7 months ago

1.1.14

10 months ago

2.0.0

7 months ago

1.1.13

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago