@elnop/prettier-config 0.0.0-stage → 0.1.0
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 -2
- package/package.json +24 -4
- package/prettierConfig.json +5 -0
package/README.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @elnop/prettier-config
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Prettier config: single quotes, trailing commas everywhere, 200 columns. Everything else is Prettier's default.
|
|
4
|
+
|
|
5
|
+
```sh
|
|
6
|
+
npm install --save-dev @elnop/prettier-config
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
In `package.json`:
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"prettier": "@elnop/prettier-config"
|
|
14
|
+
}
|
|
15
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elnop/prettier-config",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Prettier config: single quotes, trailing commas, 200 columns.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"prettier",
|
|
7
|
+
"prettier-config"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://github.com/Elnop/elnop-tooling/tree/main/packages/configs/prettier-config#readme",
|
|
10
|
+
"bugs": "https://github.com/Elnop/elnop-tooling/issues",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/Elnop/elnop-tooling.git",
|
|
14
|
+
"directory": "packages/configs/prettier-config"
|
|
15
|
+
},
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"author": "elnop",
|
|
18
|
+
"type": "module",
|
|
19
|
+
"files": [
|
|
20
|
+
"prettierConfig.json"
|
|
21
|
+
],
|
|
22
|
+
"exports": "./prettierConfig.json",
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"prettier": "^3.9.10"
|
|
25
|
+
}
|
|
26
|
+
}
|