0.0.3 • Published 6 years ago

pretty-plz v0.0.3

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

pretty-plz

Zero-config JavaScript project formatter.

npm i -g pretty-plz

Why?

We love Standard and Prettier, but when you manage a lot of projects they feel like not enough.

Before plz we often had to configure Prettier for each project, specify directories to format, etc. In addition to that, we have to initialize, update, and name the common files to ensure they're consistent.

With this CLI tool, we don't have to do that any more. It's as simple as plz.

Features

  • One command
  • JSX? and MDX? formatting
  • Ensures project conventions
  • Zero-config

Installation

# plz depends on a global prettier install
npm i -g pretty-plz prettier mdxfmt

Usage

plz

What does it do?

  • Formats all JS, JSX files
    • No semicolons
    • Single quotes
    • Ignores the following
      • node_modules/*
      • dist/*
      • docs/bundle.js
      • out/*
  • Formats all MD, MDX files
    • Formats lists
    • Titleizes headings
    • Ignores the following
      • node_modules/*
  • Renames LICENSE.md and README.md
  • Formats JSON files
  • Formats package.json
    • Ensures proper key ordering
    • Lints for repo/keywords/name and other keys
  • .npmrc => package-lock=false
  • .travis.yml => Pins latest LTS versions
  • .editorconfig

Made by Compositor | MIT License