1.0.1 • Published 1 year ago

prettier-define-config v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

✨ 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