1.0.1 • Published 11 months ago

@openregion/prettier-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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.

1.0.1

11 months ago

1.0.0

12 months ago