@stickyjs/prettier

1.3.10 • Public • Published

Prettier

@stickyjs/prettier

This module also installs prettier, husky and lint-staged.

Within your package.json:

{
  "prettier": "@stickyjs/prettier",
  "lint-staged": {
    "*": "prettier --write --ignore-unknown"
  }
}

Configuring ling-staged via .husky/pre-commit:

#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install lint-staged

Readme

Keywords

none

Package Sidebar

Install

npm i @stickyjs/prettier

Weekly Downloads

716

Version

1.3.10

License

none

Unpacked Size

2.04 kB

Total Files

4

Last publish

Collaborators

  • levaintech-bot
  • fuxingloh