@effect-app/eslint-shared-config 0.0.12 → 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/CHANGELOG.md +18 -0
- package/package.json +21 -24
- package/src/dprint.json +5 -2
- package/src/eslint.base.config.mjs +2 -1
- package/src/eslint.vue.config.mjs +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @effect-app/eslint-shared-config
|
|
2
2
|
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 3d49d81: update packages
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [3d49d81]
|
|
12
|
+
- @effect-app/eslint-codegen-model@1.43.0
|
|
13
|
+
|
|
14
|
+
## 0.0.13
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- e366964: 120 line width
|
|
19
|
+
- @effect-app/eslint-codegen-model@1.42.3
|
|
20
|
+
|
|
3
21
|
## 0.0.12
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@effect-app/eslint-shared-config",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Shared flat ESLint base & vue configs for effect-app monorepo",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -16,33 +16,30 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@eslint/js": "9.35.0",
|
|
19
|
-
"@eslint/eslintrc": "
|
|
20
|
-
"eslint-plugin-import": "
|
|
21
|
-
"eslint-import-resolver-typescript": "
|
|
22
|
-
"eslint-plugin-codegen": "
|
|
23
|
-
"eslint-plugin-sort-destructure-keys": "
|
|
24
|
-
"eslint-plugin-unused-imports": "
|
|
19
|
+
"@eslint/eslintrc": "3.3.1",
|
|
20
|
+
"eslint-plugin-import": "2.32.0",
|
|
21
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
22
|
+
"eslint-plugin-codegen": "0.17.0",
|
|
23
|
+
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
24
|
+
"eslint-plugin-unused-imports": "4.2.0",
|
|
25
25
|
"@ben_12/eslint-plugin-dprint": "1.7.5",
|
|
26
|
-
"eslint-plugin-formatjs": "
|
|
27
|
-
"@vue/eslint-config-typescript": "
|
|
26
|
+
"eslint-plugin-formatjs": "5.4.0",
|
|
27
|
+
"@vue/eslint-config-typescript": "14.6.0",
|
|
28
28
|
"typescript-eslint": "8.43.0",
|
|
29
|
-
"eslint-plugin-vue": "
|
|
30
|
-
"dprint-plugin-malva": "
|
|
31
|
-
"dprint-plugin-markup": "
|
|
32
|
-
"dprint-plugin-yaml": "
|
|
33
|
-
"@dprint/typescript": "
|
|
29
|
+
"eslint-plugin-vue": "10.4.0",
|
|
30
|
+
"dprint-plugin-malva": "0.14.3",
|
|
31
|
+
"dprint-plugin-markup": "0.23.4",
|
|
32
|
+
"dprint-plugin-yaml": "0.5.1",
|
|
33
|
+
"@dprint/typescript": "0.95.11",
|
|
34
34
|
"@eslint/compat": "1.3.2",
|
|
35
|
-
"eslint-import-resolver-webpack": "
|
|
36
|
-
"eslint-plugin-
|
|
37
|
-
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
35
|
+
"eslint-import-resolver-webpack": "0.13.10",
|
|
36
|
+
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
38
37
|
"eslint-watch": "^8.0.0",
|
|
39
|
-
"@
|
|
40
|
-
"eslint
|
|
41
|
-
"@
|
|
42
|
-
"
|
|
43
|
-
"@
|
|
44
|
-
"jsonc-parser": "^3.3.1",
|
|
45
|
-
"@effect-app/eslint-codegen-model": "1.42.3"
|
|
38
|
+
"@typescript-eslint/eslint-plugin": "8.43.0",
|
|
39
|
+
"@typescript-eslint/parser": "8.43.0",
|
|
40
|
+
"@dprint/formatter": "0.4.1",
|
|
41
|
+
"jsonc-parser": "3.3.1",
|
|
42
|
+
"@effect-app/eslint-codegen-model": "1.43.0"
|
|
46
43
|
},
|
|
47
44
|
"bundledDependencies": [
|
|
48
45
|
"@ben_12/eslint-plugin-dprint"
|
package/src/dprint.json
CHANGED
|
@@ -8,13 +8,16 @@
|
|
|
8
8
|
"memberExpression.linePerExpression": true,
|
|
9
9
|
"binaryExpression.linePerExpression": true,
|
|
10
10
|
"importDeclaration.forceSingleLine": true,
|
|
11
|
-
"exportDeclaration.forceSingleLine": true
|
|
11
|
+
"exportDeclaration.forceSingleLine": true,
|
|
12
|
+
"lineWidth": 120,
|
|
12
13
|
},
|
|
13
14
|
"json": {},
|
|
14
15
|
"markdown": {},
|
|
15
16
|
"toml": {},
|
|
16
17
|
"malva": {},
|
|
17
|
-
"markup": {
|
|
18
|
+
"markup": {
|
|
19
|
+
"printWidth": 120
|
|
20
|
+
},
|
|
18
21
|
"yaml": {},
|
|
19
22
|
"excludes": [
|
|
20
23
|
"**/node_modules",
|
|
@@ -195,7 +195,8 @@ export function augmentedConfig(dirName, forceTS = false, project = undefined) {
|
|
|
195
195
|
"memberExpression.linePerExpression": true,
|
|
196
196
|
"binaryExpression.linePerExpression": true,
|
|
197
197
|
"importDeclaration.forceSingleLine": true,
|
|
198
|
-
"exportDeclaration.forceSingleLine": true
|
|
198
|
+
"exportDeclaration.forceSingleLine": true,
|
|
199
|
+
"lineWidth": 120,
|
|
199
200
|
}
|
|
200
201
|
},
|
|
201
202
|
],
|
|
@@ -85,13 +85,13 @@ export function vueConfig(dirName, forceTS = false, dprintConfigFile ) {
|
|
|
85
85
|
config: {
|
|
86
86
|
// The markup_fmt configuration of dprint
|
|
87
87
|
// See also https://dprint.dev/plugins/markup_fmt/config/
|
|
88
|
+
"printWidth": 120,
|
|
88
89
|
},
|
|
89
90
|
},
|
|
90
91
|
],
|
|
91
92
|
"@ben_12/dprint/typescript": [
|
|
92
93
|
"error",
|
|
93
94
|
{
|
|
94
|
-
// Usa lo stesso file config risolto in modo assoluto
|
|
95
95
|
configFile: dprintConfigFile,
|
|
96
96
|
config: {
|
|
97
97
|
indentWidth: 2,
|
|
@@ -103,6 +103,7 @@ export function vueConfig(dirName, forceTS = false, dprintConfigFile ) {
|
|
|
103
103
|
"binaryExpression.linePerExpression": true,
|
|
104
104
|
"importDeclaration.forceSingleLine": true,
|
|
105
105
|
"exportDeclaration.forceSingleLine": true,
|
|
106
|
+
"lineWidth": 120,
|
|
106
107
|
},
|
|
107
108
|
},
|
|
108
109
|
],
|