2.0.12 • Published 9 months ago

@captive/prettier-config v2.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
9 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.12

9 months ago

2.0.11

9 months ago

2.0.10

10 months ago

2.0.7

10 months ago

2.0.9

10 months ago

2.0.8

10 months ago

2.0.6

12 months ago

2.0.5

1 year ago

2.0.4

2 years ago

2.0.3

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

2.0.2

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

2.0.1

2 years ago

1.1.14

2 years ago

2.0.0

2 years ago

1.1.13

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago