@theholocron/prettier-config 1.16.0 → 3.0.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 +6 -0
- package/index.js +1 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -17,3 +17,9 @@ In your project `package.json` add the following:
|
|
|
17
17
|
"prettier": "@theholocron/prettier-config"
|
|
18
18
|
}
|
|
19
19
|
```
|
|
20
|
+
|
|
21
|
+
## What Do We Format?
|
|
22
|
+
|
|
23
|
+
* 1 tab character over x number of spaces; [don't come at me!](https://lea.verou.me/blog/2012/01/why-tabs-are-clearly-superior/)
|
|
24
|
+
* Use semicolons at the end of statements; for clarity, readability
|
|
25
|
+
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/prettier-config",
|
|
3
|
-
"
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "A Prettier configuration for formatting libraries in the Galaxy.",
|
|
5
|
+
"homepage": "https://github.com/theholocron/configs/tree/main/packages/prettier-config#readme",
|
|
6
|
+
"bugs": "https://github.com/theholocron/configs/issues",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/theholocron/configs.git"
|
|
10
|
+
},
|
|
11
|
+
"license": "GPL-3.0",
|
|
5
12
|
"author": "Newton Koumantzelis",
|
|
6
|
-
"version": "1.16.0",
|
|
7
13
|
"main": "index.js",
|
|
8
14
|
"files": [
|
|
9
15
|
"prettier.config.json",
|
|
10
16
|
"index.js"
|
|
11
17
|
],
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"url": "git+https://github.com/theholocron/configs.git"
|
|
18
|
+
"dependencies": {
|
|
19
|
+
"prettier": "^3.3.3"
|
|
15
20
|
},
|
|
16
|
-
"bugs": "https://github.com/theholocron/configs/issues",
|
|
17
|
-
"releases": "https://github.com/theholocron/configs/releases",
|
|
18
|
-
"wiki": "https://github.com/theholocron/configs/wiki",
|
|
19
|
-
"license": "GPL-3.0",
|
|
20
21
|
"publishConfig": {
|
|
21
22
|
"access": "public"
|
|
22
23
|
},
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
}
|
|
24
|
+
"releases": "https://github.com/theholocron/configs/releases",
|
|
25
|
+
"wiki": "https://github.com/theholocron/configs/wiki"
|
|
26
26
|
}
|