@schoero/configs 1.0.27 → 1.0.29
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/eslint/typescript.js +11 -14
- package/package.json +22 -23
package/eslint/typescript.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import eslintPluginImportX from "eslint-plugin-import-x";
|
|
2
2
|
import eslintPluginJSDoc from "eslint-plugin-jsdoc";
|
|
3
3
|
import eslintPluginJsonc from "eslint-plugin-jsonc";
|
|
4
|
-
import eslintPluginTypeScriptSortKeys from "eslint-plugin-typescript-sort-keys";
|
|
5
4
|
import eslintPluginTypeScript from "typescript-eslint";
|
|
6
5
|
|
|
7
6
|
import eslintPluginStylisticJS from "@stylistic/eslint-plugin-js";
|
|
@@ -22,7 +21,7 @@ export const typescript = [
|
|
|
22
21
|
parserOptions: {
|
|
23
22
|
EXPERIMENTAL_useProjectService: true,
|
|
24
23
|
projectService: true,
|
|
25
|
-
project: false
|
|
24
|
+
project: false
|
|
26
25
|
}
|
|
27
26
|
},
|
|
28
27
|
files: ["**/*.{ts,tsx,cts}"]
|
|
@@ -35,8 +34,8 @@ export const typescript = [
|
|
|
35
34
|
"eslint-plugin-jsdoc": eslintPluginJSDoc,
|
|
36
35
|
"eslint-plugin-typescript": eslintPluginTypeScript.plugin,
|
|
37
36
|
"eslint-plugin-stylistic-ts": eslintPluginStylisticTS,
|
|
38
|
-
"eslint-plugin-stylistic-js": eslintPluginStylisticJS
|
|
39
|
-
"eslint-plugin-typescript-sort-keys": eslintPluginTypeScriptSortKeys
|
|
37
|
+
"eslint-plugin-stylistic-js": eslintPluginStylisticJS
|
|
38
|
+
// "eslint-plugin-typescript-sort-keys": eslintPluginTypeScriptSortKeys
|
|
40
39
|
},
|
|
41
40
|
rules: {
|
|
42
41
|
|
|
@@ -59,14 +58,14 @@ export const typescript = [
|
|
|
59
58
|
|
|
60
59
|
// interfaces
|
|
61
60
|
"eslint-plugin-typescript/method-signature-style": ["warn", "property"], // https://www.totaltypescript.com/method-shorthand-syntax-considered-harmful
|
|
62
|
-
"eslint-plugin-typescript-sort-keys/interface": ["warn", "asc", {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
}],
|
|
61
|
+
// "eslint-plugin-typescript-sort-keys/interface": ["warn", "asc", {
|
|
62
|
+
// caseSensitive: true,
|
|
63
|
+
// natural: true,
|
|
64
|
+
// requiredFirst: true
|
|
65
|
+
// }],
|
|
67
66
|
|
|
68
67
|
// enum
|
|
69
|
-
"eslint-plugin-typescript-sort-keys/string-enum": "warn",
|
|
68
|
+
// "eslint-plugin-typescript-sort-keys/string-enum": "warn",
|
|
70
69
|
|
|
71
70
|
// functions
|
|
72
71
|
"eslint-plugin-typescript/unified-signatures": ["warn", { ignoreDifferentlyNamedParameters: true }],
|
|
@@ -93,9 +92,7 @@ export const typescript = [
|
|
|
93
92
|
"eslint-plugin-typescript/promise-function-async": "warn",
|
|
94
93
|
|
|
95
94
|
// quality
|
|
96
|
-
"no-loss-of-precision": "off",
|
|
97
95
|
"eslint-plugin-typescript/prefer-includes": "warn",
|
|
98
|
-
"eslint-plugin-typescript/no-loss-of-precision": "warn",
|
|
99
96
|
|
|
100
97
|
// nullish types
|
|
101
98
|
"eslint-plugin-typescript/non-nullable-type-assertion-style": "warn",
|
|
@@ -127,7 +124,7 @@ export const typescript = [
|
|
|
127
124
|
],
|
|
128
125
|
|
|
129
126
|
// no useless
|
|
130
|
-
"eslint-plugin-typescript/no-
|
|
127
|
+
"eslint-plugin-typescript/no-unnecessary-template-expression": "warn",
|
|
131
128
|
|
|
132
129
|
// modern syntax
|
|
133
130
|
"eslint-plugin-typescript/prefer-string-starts-ends-with": "warn",
|
|
@@ -254,7 +251,7 @@ export const typescript = [
|
|
|
254
251
|
EXPERIMENTAL_useProjectService: false,
|
|
255
252
|
projectService: false,
|
|
256
253
|
project: false,
|
|
257
|
-
program: null
|
|
254
|
+
program: null
|
|
258
255
|
}
|
|
259
256
|
},
|
|
260
257
|
files: [
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.29",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"name": "@schoero/configs",
|
|
5
5
|
"description": "",
|
|
@@ -40,12 +40,12 @@
|
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"changelogen": "^0.5.5",
|
|
43
|
-
"cspell": "^8.
|
|
44
|
-
"eslint": "^8.
|
|
43
|
+
"cspell": "^8.13.0",
|
|
44
|
+
"eslint": "^9.8.0",
|
|
45
45
|
"markdownlint": "^0.34.0",
|
|
46
|
-
"unwritten": "^0.2.
|
|
47
|
-
"vite": "^5.
|
|
48
|
-
"vitest": "^2.0.
|
|
46
|
+
"unwritten": "^0.2.12",
|
|
47
|
+
"vite": "^5.3.5",
|
|
48
|
+
"vitest": "^2.0.5"
|
|
49
49
|
},
|
|
50
50
|
"peerDependenciesMeta": {
|
|
51
51
|
"changelogen": {
|
|
@@ -86,43 +86,42 @@
|
|
|
86
86
|
"@cspell/dict-node": "^5.0.1",
|
|
87
87
|
"@cspell/dict-npm": "^5.0.18",
|
|
88
88
|
"@cspell/dict-public-licenses": "^2.0.7",
|
|
89
|
-
"@cspell/dict-software-terms": "^
|
|
89
|
+
"@cspell/dict-software-terms": "^4.0.3",
|
|
90
90
|
"@cspell/dict-typescript": "^3.1.6",
|
|
91
|
-
"@stylistic/eslint-plugin-js": "^2.
|
|
92
|
-
"@stylistic/eslint-plugin-jsx": "^2.
|
|
93
|
-
"@stylistic/eslint-plugin-plus": "^2.
|
|
94
|
-
"@stylistic/eslint-plugin-ts": "^2.
|
|
95
|
-
"cspell-lib": "^8.
|
|
91
|
+
"@stylistic/eslint-plugin-js": "^2.6.0",
|
|
92
|
+
"@stylistic/eslint-plugin-jsx": "^2.6.0",
|
|
93
|
+
"@stylistic/eslint-plugin-plus": "^2.6.0",
|
|
94
|
+
"@stylistic/eslint-plugin-ts": "^2.6.0",
|
|
95
|
+
"cspell-lib": "^8.13.0",
|
|
96
96
|
"eslint-plugin-import-newlines": "^1.4.0",
|
|
97
|
-
"eslint-plugin-import-x": "^
|
|
98
|
-
"eslint-plugin-jsdoc": "^48.
|
|
97
|
+
"eslint-plugin-import-x": "^3.1.0",
|
|
98
|
+
"eslint-plugin-jsdoc": "^48.10.2",
|
|
99
99
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
100
100
|
"eslint-plugin-markdown": "^5.1.0",
|
|
101
101
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
102
102
|
"eslint-plugin-sort-destructure-keys": "^2.0.0",
|
|
103
103
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
104
|
-
"eslint-plugin-
|
|
105
|
-
"eslint-plugin-
|
|
106
|
-
"eslint-plugin-unused-imports": "^3.2.0",
|
|
104
|
+
"eslint-plugin-unicorn": "^55.0.0",
|
|
105
|
+
"eslint-plugin-unused-imports": "^4.0.1",
|
|
107
106
|
"eslint-plugin-vitest": "^0.5.4",
|
|
108
107
|
"eslint-plugin-yml": "^1.14.0",
|
|
109
108
|
"markdownlint-cli2": "^0.13.0",
|
|
110
|
-
"typescript-eslint": "^
|
|
109
|
+
"typescript-eslint": "^8.0.0",
|
|
111
110
|
"vite-tsconfig-paths": "^4.3.2",
|
|
112
111
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
113
112
|
},
|
|
114
113
|
"optionalDependencies": {
|
|
115
|
-
"eslint-plugin-readable-tailwind": "1.5.3",
|
|
114
|
+
"eslint-plugin-readable-tailwind": "^1.5.3",
|
|
116
115
|
"eslint-plugin-tailwindcss": "^3.17.4"
|
|
117
116
|
},
|
|
118
117
|
"devDependencies": {
|
|
119
|
-
"@types/node": "^
|
|
118
|
+
"@types/node": "^22.0.2",
|
|
120
119
|
"changelogen": "^0.5.5",
|
|
121
|
-
"cspell": "^8.
|
|
122
|
-
"eslint": "^8.
|
|
120
|
+
"cspell": "^8.13.0",
|
|
121
|
+
"eslint": "^9.8.0",
|
|
123
122
|
"markdownlint": "^0.34.0",
|
|
124
123
|
"vite": "^5.3.5",
|
|
125
|
-
"vitest": "^2.0.
|
|
124
|
+
"vitest": "^2.0.5"
|
|
126
125
|
},
|
|
127
126
|
"keywords": []
|
|
128
127
|
}
|