1.0.0 • Published 1 year ago
prettier-plugin-json-objectify v1.0.0
📖 Introduction
remove quote on Json object keys
const o = {
'name': 'prettier',
'pkg-name': 'prettier-plugin-json-objectify'
}
const o = {
name: 'prettier',
'pkg-name': 'prettier-plugin-json-objectify'
}
📦 Installation
# You may need to pre install prettier
pnpm i prettier -D
# pnpm
pnpm i prettier-plugin-json-objectify -D
🦄 Usage
/* package.json */
"scripts": {
"format": "prettier --write ./src/**/*"
},
# run
pnpm format
📄 License
1.0.0
1 year ago