@effect-app/eslint-shared-config 0.5.3 → 0.5.5
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/CHANGELOG.md +15 -0
- package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/dprint.js +2 -1
- package/node_modules/@ben_12/eslint-plugin-dprint/dist/lib/dprint/yaml-config-schema.json +20 -0
- package/node_modules/@ben_12/eslint-plugin-dprint/package.json +12 -14
- package/package.json +3 -5
- package/patches/@ben_12+eslint-plugin-dprint+1.14.0.patch +0 -14
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @effect-app/eslint-shared-config
|
|
2
2
|
|
|
3
|
+
## 0.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 43334b4: try again
|
|
8
|
+
- d315086: patch dprint
|
|
9
|
+
- @effect-app/eslint-codegen-model@1.47.0
|
|
10
|
+
|
|
11
|
+
## 0.5.2
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- 344f332: bump to latest version again
|
|
16
|
+
- @effect-app/eslint-codegen-model@1.47.0
|
|
17
|
+
|
|
3
18
|
## 0.5.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -117,7 +117,8 @@ function getFormatter(filePath, configName, configFile, log = true) {
|
|
|
117
117
|
return formatter;
|
|
118
118
|
}
|
|
119
119
|
else if (isPluginName(configName) && log) {
|
|
120
|
-
|
|
120
|
+
// silenced to reduce noise
|
|
121
|
+
// console.warn("File %s not supported by %s", filePath, pluginsName[configName]);
|
|
121
122
|
}
|
|
122
123
|
}
|
|
123
124
|
else if (isPluginName(configName) && log) {
|
|
@@ -118,6 +118,26 @@
|
|
|
118
118
|
"description": "Control whether trailing zeros should be removed or not.",
|
|
119
119
|
"type": "boolean"
|
|
120
120
|
},
|
|
121
|
+
"proseWrap": {
|
|
122
|
+
"description": "Control whether to wrap prose in plain scalars when they exceed the print width.",
|
|
123
|
+
"type": "string",
|
|
124
|
+
"oneOf": [
|
|
125
|
+
{
|
|
126
|
+
"description": "Don't change how prose is wrapped.",
|
|
127
|
+
"type": "string",
|
|
128
|
+
"enum": [
|
|
129
|
+
"preserve"
|
|
130
|
+
]
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"description": "Wrap prose if it exceeds the print width.",
|
|
134
|
+
"type": "string",
|
|
135
|
+
"enum": [
|
|
136
|
+
"always"
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
121
141
|
"ignoreCommentDirective": {
|
|
122
142
|
"description": "Text directive for ignoring formatting specific content.",
|
|
123
143
|
"type": "string"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ben_12/eslint-plugin-dprint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.1",
|
|
4
4
|
"description": "An ESLint plugin that fixes code with dprint",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18.0.0"
|
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
],
|
|
13
13
|
"peerDependencies": {
|
|
14
14
|
"@dprint/dockerfile": "^0.3.3",
|
|
15
|
-
"@dprint/json": "^0.21.
|
|
15
|
+
"@dprint/json": "^0.21.1",
|
|
16
16
|
"@dprint/markdown": "^0.20.0",
|
|
17
17
|
"@dprint/toml": "^0.7.0",
|
|
18
|
-
"@dprint/typescript": "^0.95.
|
|
18
|
+
"@dprint/typescript": "^0.95.13",
|
|
19
19
|
"dprint-plugin-graphql": "^0.2.3",
|
|
20
|
-
"dprint-plugin-malva": "^0.15.
|
|
21
|
-
"dprint-plugin-markup": "^0.
|
|
22
|
-
"dprint-plugin-yaml": "^0.
|
|
20
|
+
"dprint-plugin-malva": "^0.15.2",
|
|
21
|
+
"dprint-plugin-markup": "^0.25.3",
|
|
22
|
+
"dprint-plugin-yaml": "^0.6.0",
|
|
23
23
|
"eslint": ">=7.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependenciesMeta": {
|
|
@@ -54,32 +54,30 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@dprint/formatter": "^0.4.1",
|
|
56
56
|
"debug": "^4.1.1",
|
|
57
|
-
"diff": "^
|
|
57
|
+
"diff": "^8.0.0",
|
|
58
58
|
"jsonc-parser": "^3.2.0"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
61
|
"@ben_12/eslint-plugin-dprint": "file:./test/internal-rules",
|
|
62
62
|
"@ben_12/eslint-simple-parser": "^0.1.0",
|
|
63
63
|
"@dprint/dockerfile": "^0.3.3",
|
|
64
|
-
"@dprint/json": "^0.21.
|
|
64
|
+
"@dprint/json": "^0.21.1",
|
|
65
65
|
"@dprint/markdown": "^0.20.0",
|
|
66
66
|
"@dprint/toml": "^0.7.0",
|
|
67
|
-
"@dprint/typescript": "^0.95.
|
|
67
|
+
"@dprint/typescript": "^0.95.13",
|
|
68
68
|
"@types/debug": "^4.1.5",
|
|
69
|
-
"@types/diff": "^7.0.0",
|
|
70
69
|
"@types/eslint": "^9.0.0",
|
|
71
70
|
"@types/node": "^18.0.0",
|
|
72
71
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
73
72
|
"axios": "^1.7.9",
|
|
74
73
|
"dprint-plugin-graphql": "^0.2.3",
|
|
75
|
-
"dprint-plugin-malva": "^0.15.
|
|
76
|
-
"dprint-plugin-markup": "^0.
|
|
77
|
-
"dprint-plugin-yaml": "^0.
|
|
74
|
+
"dprint-plugin-malva": "^0.15.2",
|
|
75
|
+
"dprint-plugin-markup": "^0.25.3",
|
|
76
|
+
"dprint-plugin-yaml": "^0.6.0",
|
|
78
77
|
"eslint": "^9.0.0",
|
|
79
78
|
"mocha": "^11.0.0",
|
|
80
79
|
"nyc": "^17.0.0",
|
|
81
80
|
"rimraf": "^6.0.0",
|
|
82
|
-
"shx": "^0.3.4",
|
|
83
81
|
"ts-node": "^10.0.0",
|
|
84
82
|
"typescript": "~5.0.0"
|
|
85
83
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/eslint-shared-config",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.5",
|
|
4
4
|
"description": "Shared flat ESLint base & vue configs for effect-app monorepo",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"eslint-plugin-codegen": "0.17.0",
|
|
23
23
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
24
24
|
"eslint-plugin-unused-imports": "4.3.0",
|
|
25
|
-
"@ben_12/eslint-plugin-dprint": "1.
|
|
25
|
+
"@ben_12/eslint-plugin-dprint": "1.14.1",
|
|
26
26
|
"eslint-plugin-formatjs": "6.1.0",
|
|
27
27
|
"@vue/eslint-config-typescript": "14.6.0",
|
|
28
28
|
"typescript-eslint": "8.53.0",
|
|
@@ -44,9 +44,7 @@
|
|
|
44
44
|
"bundledDependencies": [
|
|
45
45
|
"@ben_12/eslint-plugin-dprint"
|
|
46
46
|
],
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"patch-package": "^8.0.1"
|
|
49
|
-
},
|
|
47
|
+
"devDependencies": {},
|
|
50
48
|
"peerDependencies": {
|
|
51
49
|
"eslint": "^9.39.2",
|
|
52
50
|
"typescript": "~5.9.3",
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
diff --git a/dist/lib/dprint/dprint.js b/dist/lib/dprint/dprint.js
|
|
2
|
-
index 124201205c4c8f12942bae72018e4bc6351d5c2f..d73dc4f147957331d4bdd29b9451f7947d4312a5 100644
|
|
3
|
-
--- a/dist/lib/dprint/dprint.js
|
|
4
|
-
+++ b/dist/lib/dprint/dprint.js
|
|
5
|
-
@@ -117,7 +117,8 @@ function getFormatter(filePath, configName, configFile, log = true) {
|
|
6
|
-
return formatter;
|
|
7
|
-
}
|
|
8
|
-
else if (isPluginName(configName) && log) {
|
|
9
|
-
- console.warn("File %s not supported by %s", filePath, pluginsName[configName]);
|
|
10
|
-
+ // silenced to reduce noise
|
|
11
|
-
+ //console.warn("File %s not supported by %s", filePath, pluginsName[configName]);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
else if (isPluginName(configName) && log) {
|