Personal prettier config
Go to file
2023-10-31 21:23:20 +01:00
.gitignore config 2023-10-03 14:37:05 +02:00
index.js also group $ or @ imports 2023-10-31 21:23:20 +01:00
package.json also group $ or @ imports 2023-10-31 21:23:20 +01:00
pnpm-lock.yaml config 2023-10-03 14:37:05 +02:00
README.md publish under othe rname 2023-10-06 22:24:30 +02:00

Prettier Config

Installation

pnpm add -D @nicco.io/prettier
// .prettierrc.js

import config from '@nicco.io/prettier'

export default {
  ...config,
}

Included

  • Sort imports
  • Sort package.json
  • Some custom preference settings