@theholocron/prettier-config 1.16.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 ADDED
@@ -0,0 +1,19 @@
1
+ # Prettier Config
2
+
3
+ A [Prettier configuration](https://prettier.io/docs/en/configuration) for formatting libraries in the Galaxy.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install --save-dev @theholocron/prettier-config
9
+ ```
10
+
11
+ ## Usage
12
+
13
+ In your project `package.json` add the following:
14
+
15
+ ```json
16
+ {
17
+ "prettier": "@theholocron/prettier-config"
18
+ }
19
+ ```
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = require("./prettier.config.json");
package/package.json ADDED
@@ -0,0 +1,26 @@
1
+ {
2
+ "name": "@theholocron/prettier-config",
3
+ "homepage": "https://github.com/the-holocron/configs/tree/master/packages/prettier-config#readme",
4
+ "description": "A Prettier configuration for formatting libraries in the Galaxy.",
5
+ "author": "Newton Koumantzelis",
6
+ "version": "1.16.0",
7
+ "main": "index.js",
8
+ "files": [
9
+ "prettier.config.json",
10
+ "index.js"
11
+ ],
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/theholocron/configs.git"
15
+ },
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
+ "publishConfig": {
21
+ "access": "public"
22
+ },
23
+ "dependencies": {
24
+ "prettier": "^3.3.3"
25
+ }
26
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "printWidth": 120,
3
+ "tabWidth": 4,
4
+ "useTabs": true,
5
+ "semi": true,
6
+ "quoteProps": "as-needed",
7
+ "trailingComma": "es5",
8
+ "bracketSpacing": true,
9
+ "jsxBracketSameLine": false,
10
+ "arrowParens": "always"
11
+ }