@graham42/prettier-config

3.0.0 • Public • Published

🎨 Automated project setup - Prettier

This package provides automated setup of Prettier in a new project.

Usage

npx @graham42/prettier-config@latest

Features

This package will set up:

  • npm scripts check:format and fix:format in package.json
  • a .prettierrc.js file with config for better git diffs
  • a .gitignore file if one doesn't exist using npx gitignore@latest node
  • the prettier package
  • VS Code project settings to format on save using Prettier
  • some VS Code whitespace settings for better git diffs
  • the VS Code Prettier extension as a recommended workspace extension to help new contributors to your project get up and running

/@graham42/prettier-config/

    Package Sidebar

    Install

    npm i @graham42/prettier-config

    Weekly Downloads

    215

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    16.5 kB

    Total Files

    8

    Last publish

    Collaborators

    • graham42