/prettier-config

prettier config for self use

Primary LanguageJavaScriptMIT LicenseMIT

@magicdawn/prettier-config

prettier config for self use

npm version npm downloads npm license

Install

$ pnpm add -D @magicdawn/prettier-config

Usage

package.json

{
  "prettier": "@magicdawn/prettier-config"
}

prettier.config.cjs

module.exports = {
  ...require('@magicdawn/prettier-config'),
}

prettier.config.js with type=module

import defaultConfig from '@magicdawn/prettier-config'

export default {
  ...defaultConfig,
}

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org