1.3.17 • Published 1 year ago

@pyramine/prettier-config v1.3.17

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
1 year ago

Prettier Config

This package holds our pyramine.de Prettier config. It is used to get consistent formatting throughout our projects.

Install

To install this package just run:

npm i -D -E @pyramine/prettier-config

Note: this package only installs the prettier config. You need to install prettier separately.

Configure

To use this configuration with your prettier installation you can simply put this into your package.json:

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

Alternatively you can also use the prettier.config.js file:

// just use default config:
module.exports = '@pyramine/prettier-config';
// or if you want to extend the base config (not recomended):
const defaultConfig = require('@pyramine/prettier-config').default;

/** @type {import('prettier').Options} */
module.exports = {
    ...defaultConfig,
    singleQuote: false,
};
1.3.10

1 year ago

1.3.13

1 year ago

1.3.14

1 year ago

1.3.11

1 year ago

1.3.12

1 year ago

1.3.17

1 year ago

1.3.15

1 year ago

1.3.16

1 year ago

1.3.9

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

2 years ago

1.3.3

2 years ago

1.3.3-alpha.1

2 years ago

1.3.2

2 years ago

1.3.2-alpha.2

2 years ago