Socket
Book a DemoInstallSign in
Socket

@equinor/prettier-config-opt

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@equinor/prettier-config-opt

Shared team prettier configuration for OPT.

latest
Source
npmnpm
Version
6.12.4
Version published
Maintainers
3
Created
Source

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,
};

FAQs

Package last updated on 30 Jan 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