Socket
Book a DemoInstallSign in
Socket

@openregion/prettier-config

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openregion/prettier-config

Prettier shared config

latest
Source
npmnpm
Version
1.0.1
Version published
Maintainers
0
Created
Source

Prettier shared config

Open Region Prettier shared config

Usage

Install package

npm install --save-dev @openregion/prettier-config

Create .prettierrc.mjs file with this content

import openRegionPrettierConfig from '@openregion/prettier-config';

export default {
  ...openRegionPrettierConfig,
};

ESLint

To use this package with ESLint, install

npm install --save-dev eslint-config-prettier

Extend ESLint config (.eslintrc) with prettier. Example:

{
  "extends": [
    "@openregion",
    "prettier"
  ]
}

This will turn off all rules that are unnecessary or might conflict with Prettier.

Keywords

config

FAQs

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