@panates/prettier-config 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -0
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
The shared [prettier](https://prettier.io) options for Panates repositories.
|
|
4
4
|
|
|
5
|
+
[![NPM Version][npm-image]][npm-url]
|
|
6
|
+
[![NPM Downloads][downloads-image]][downloads-url]
|
|
7
|
+
[![CI Tests][ci-test-image]][ci-test-url]
|
|
8
|
+
[![Test Coverage][coveralls-image]][coveralls-url]
|
|
9
|
+
|
|
5
10
|
## Install
|
|
6
11
|
|
|
7
12
|
```sh
|
|
@@ -33,3 +38,12 @@ export default { ...panates, printWidth: 100 };
|
|
|
33
38
|
| `trailingComma` | `"all"` |
|
|
34
39
|
|
|
35
40
|
Every other option is prettier's default.
|
|
41
|
+
|
|
42
|
+
[npm-image]: https://img.shields.io/npm/v/@panates/prettier-config
|
|
43
|
+
[npm-url]: https://www.npmjs.com/package/@panates/prettier-config
|
|
44
|
+
[downloads-image]: https://img.shields.io/npm/dm/@panates/prettier-config
|
|
45
|
+
[downloads-url]: https://www.npmjs.com/package/@panates/prettier-config
|
|
46
|
+
[ci-test-image]: https://github.com/panates/node-repo-presets/actions/workflows/test.yml/badge.svg
|
|
47
|
+
[ci-test-url]: https://github.com/panates/node-repo-presets/actions/workflows/test.yml
|
|
48
|
+
[coveralls-image]: https://img.shields.io/coveralls/panates/node-repo-presets/main.svg
|
|
49
|
+
[coveralls-url]: https://coveralls.io/r/panates/node-repo-presets
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@panates/prettier-config",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "Shared prettier options for Panates repositories",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,10 +17,6 @@
|
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"prettier": ">=3"
|
|
19
19
|
},
|
|
20
|
-
"scripts": {
|
|
21
|
-
"format": "prettier . --write --log-level=warn",
|
|
22
|
-
"prepublish": "npm run format"
|
|
23
|
-
},
|
|
24
20
|
"engines": {
|
|
25
21
|
"node": ">=18.0.0"
|
|
26
22
|
},
|
|
@@ -46,5 +42,9 @@
|
|
|
46
42
|
"Ilker Gurelli <i.gurelli@panates.com>",
|
|
47
43
|
"Onur Tokel <o.tokel@panates.com>",
|
|
48
44
|
"Bircan Yuruk <b.yuruk@panates.com>"
|
|
49
|
-
]
|
|
50
|
-
|
|
45
|
+
],
|
|
46
|
+
"scripts": {
|
|
47
|
+
"format": "prettier . --write --log-level=warn",
|
|
48
|
+
"prepublish": "npm run format"
|
|
49
|
+
}
|
|
50
|
+
}
|