prettier-define-config
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

✨ Introduction

Provide type hints and checks when you define the configuration image

📦 Installation

# You may need to pre install prettier
pnpm i prettier -D

# pnpm 
pnpm i prettier-define-config -D

🦄 Usage

import a defineConfig function in.prettierrc.js files.

/* .prettierrc.js */
const { defineConfig }  = require('prettier-define-config')
module.exports = defineConfig({
  ...
})

📄 License

MIT License © 2022 c0dedance

Package Sidebar

Install

npm i prettier-define-config

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

1.46 kB

Total Files

5

Last publish

Collaborators

  • c0dedance