Skip to content

Latest commit

 

History

History

prettier-config

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

@atws/prettier-config

npm

This package contains a simple base config for prettier.

Usage

Install prettier and the package:

yarn add -D prettier @atws/prettier-config

Create a .prettierrc.js file in the root of your project and extend the base config.

const preset = require('@atws/prettier-config')

/** @type {import("prettier").Options} */
const config = {
  ...preset,
  plugins: [...preset.plugins],
}

module.exports = config