@equinor/prettier-config-opt

6.12.4 • Public • Published

OPT Prettier Configuration

License Downloads

Release Vulnerabilities

This is the shared team Prettier configuration for OPT.

Usage

Install the package.

npm install --save-dev @equinor/prettier-config-opt
// or
yarn add --dev @equinor/prettier-config-opt

Next, add the shared prettier config in the extends section of your Prettier configuration.

// .prettierrc.json
"@equinor/prettier-config-opt"

Override prettier rules

To override/extend the prettier rules simply add the rules you want to add or modify

For example, to change the prettier rule semi:

// .prettierrc.js
module.exports = {
  ...require("@equinor/prettier-config-opt"),
  semi: true,
};

Readme

Keywords

none

Package Sidebar

Install

npm i @equinor/prettier-config-opt

Weekly Downloads

607

Version

6.12.4

License

MIT

Unpacked Size

3.54 kB

Total Files

4

Last publish

Collaborators

  • sindremohr
  • spcttre
  • sbeno