Skip to content

Commit cfaabd7

Browse files
committedSep 5, 2019
docs: add banner
1 parent c570245 commit cfaabd7

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed
 

‎.github/funding.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
github: shellscape
21
patreon: shellscape
32
custom: https://paypal.me/shellscape
4-
liberpay: shellscape
3+
liberapay: shellscape

‎README.md

+4
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
[size]: https://packagephobia.now.sh/badge?p=prettier-plugin-package
88
[size-url]: https://packagephobia.now.sh/result?p=prettier-plugin-package
99

10+
![banner](https://raw.githubusercontent.com/shellscape/prettier-plugin-package/master/assets/banner.svg?sanitize=true)
11+
1012
# prettier-plugin-package [![tests][tests]][tests-url] [![cover][cover]][cover-url] [![size][size]][size-url] [![libera manifesto](https://img.shields.io/badge/libera-manifesto-lightgrey.svg)](https://liberamanifesto.com)
1113

1214

@@ -32,6 +34,8 @@ npm install prettier prettier-plugin-package --save-dev
3234
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
3335
</a>
3436

37+
_Please consider donating if you find this project useful._
38+
3539
## Usage
3640

3741
Once installed, [Prettier plugins](https://prettier.io/docs/en/plugins.html) should be automatically recognized by Prettier. To use this plugin, confirm that it's installed and run Prettier using your preferred method. For example:

‎test/snapshots/test.js.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ Generated by [AVA](https://ava.li).
2828
"ci:test": "npm run test -- --verbose",␊
2929
"commitlint": "commitlint",␊
3030
"commitmsg": "commitlint -e $GIT_PARAMS",␊
31-
"lint": "eslint --fix --cache lib test",␊
31+
"lint": "eslint --fix --cache lib test && prettier --write package.json",␊
3232
"lint-staged": "lint-staged",␊
33+
"prepublishOnly": "npm run lint",␊
3334
"security": "npm audit",␊
3435
"test": "ava"␊
3536
},␊

‎test/snapshots/test.js.snap

23 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.