@manufac/prettier-config 1.9.0 → 1.10.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 CHANGED
@@ -1 +1 @@
1
- # prettier-config
1
+ # prettier-config
package/index.js CHANGED
@@ -1,22 +1,22 @@
1
- /**
2
- * @type {import("prettier").Config}
3
- */
4
- const config = {
5
- "arrowParens": "always",
6
- "endOfLine": "lf",
7
- "bracketSpacing": true,
8
- "bracketSameLine": false,
9
- "printWidth": 120,
10
- "semi": true,
11
- "singleQuote": false,
12
- "tabWidth": 2,
13
- "useTabs": false,
14
- "overrides": [{
15
- "files": "*.tsx",
16
- "options": {
17
- "printWidth": 100
18
- }
19
- }]
20
- };
21
-
1
+ /**
2
+ * @type {import("prettier").Config}
3
+ */
4
+ const config = {
5
+ "arrowParens": "always",
6
+ "endOfLine": "lf",
7
+ "bracketSpacing": true,
8
+ "bracketSameLine": false,
9
+ "printWidth": 120,
10
+ "semi": true,
11
+ "singleQuote": false,
12
+ "tabWidth": 2,
13
+ "useTabs": false,
14
+ "overrides": [{
15
+ "files": "*.tsx",
16
+ "options": {
17
+ "printWidth": 100
18
+ }
19
+ }]
20
+ };
21
+
22
22
  export default config;
package/package.json CHANGED
@@ -1,46 +1,46 @@
1
- {
2
- "name": "@manufac/prettier-config",
3
- "version": "1.9.0",
4
- "type": "module",
5
- "exports": {
6
- ".": "./index.js",
7
- "./svelte": "./svelte.js"
8
- },
9
- "repository": "https://github.com/manufac-analytics/prettier-config.git",
10
- "author": "Maneet Goyal <mgoyal@manufacanalytics.com>",
11
- "license": "MIT",
12
- "publishConfig": {
13
- "access": "public"
14
- },
15
- "devDependencies": {
16
- "prettier": "^3.7.4"
17
- },
18
- "peerDependencies": {
19
- "prettier": "^3.7.24",
20
- "svelte": "^5.0.0"
21
- },
22
- "peerDependenciesMeta": {
23
- "svelte": {
24
- "optional": true
25
- }
26
- },
27
- "keywords": [
28
- "manufac",
29
- "config",
30
- "es2015",
31
- "es2016",
32
- "es2017",
33
- "es2018",
34
- "prettier",
35
- "prettierconfig",
36
- "javascript",
37
- "styleguide",
38
- "typescript"
39
- ],
40
- "engines": {
41
- "node": ">=22.0.0"
42
- },
43
- "dependencies": {
44
- "prettier-plugin-svelte": "^3.4.1"
45
- }
46
- }
1
+ {
2
+ "name": "@manufac/prettier-config",
3
+ "version": "1.10.1",
4
+ "type": "module",
5
+ "exports": {
6
+ ".": "./index.js",
7
+ "./svelte": "./svelte.js"
8
+ },
9
+ "repository": "https://github.com/manufac-analytics/prettier-config.git",
10
+ "author": "Maneet Goyal <mgoyal@manufacanalytics.com>",
11
+ "license": "MIT",
12
+ "publishConfig": {
13
+ "access": "public"
14
+ },
15
+ "devDependencies": {
16
+ "prettier": "^3.8.1"
17
+ },
18
+ "peerDependencies": {
19
+ "prettier": "^3.7.24",
20
+ "svelte": "^5.0.0"
21
+ },
22
+ "peerDependenciesMeta": {
23
+ "svelte": {
24
+ "optional": true
25
+ }
26
+ },
27
+ "keywords": [
28
+ "manufac",
29
+ "config",
30
+ "es2015",
31
+ "es2016",
32
+ "es2017",
33
+ "es2018",
34
+ "prettier",
35
+ "prettierconfig",
36
+ "javascript",
37
+ "styleguide",
38
+ "typescript"
39
+ ],
40
+ "engines": {
41
+ "node": ">=22.0.0"
42
+ },
43
+ "dependencies": {
44
+ "prettier-plugin-svelte": "^3.5.1"
45
+ }
46
+ }
package/svelte.js CHANGED
@@ -1,28 +1,28 @@
1
- /**
2
- * @type {import("prettier").Config}
3
- */
4
- const config = {
5
- "arrowParens": "always",
6
- "endOfLine": "lf",
7
- "bracketSpacing": true,
8
- "bracketSameLine": false,
9
- "printWidth": 120,
10
- "semi": true,
11
- "singleQuote": false,
12
- "tabWidth": 2,
13
- "useTabs": false,
14
- "overrides": [{
15
- "files": "*.tsx",
16
- "options": {
17
- "printWidth": 100
18
- }
19
- }, {
20
- "files": "*.svelte",
21
- "options": {
22
- "parser": "svelte" // Ref: https://github.com/sveltejs/prettier-plugin-svelte?tab=readme-ov-file#setup
23
- }
24
- }],
25
- plugins: ["prettier-plugin-svelte"],
26
- };
27
-
1
+ /**
2
+ * @type {import("prettier").Config}
3
+ */
4
+ const config = {
5
+ "arrowParens": "always",
6
+ "endOfLine": "lf",
7
+ "bracketSpacing": true,
8
+ "bracketSameLine": false,
9
+ "printWidth": 120,
10
+ "semi": true,
11
+ "singleQuote": false,
12
+ "tabWidth": 2,
13
+ "useTabs": false,
14
+ "overrides": [{
15
+ "files": "*.tsx",
16
+ "options": {
17
+ "printWidth": 100
18
+ }
19
+ }, {
20
+ "files": "*.svelte",
21
+ "options": {
22
+ "parser": "svelte" // Ref: https://github.com/sveltejs/prettier-plugin-svelte?tab=readme-ov-file#setup
23
+ }
24
+ }],
25
+ plugins: ["prettier-plugin-svelte"],
26
+ };
27
+
28
28
  export default config;