@schoero/configs 0.0.0-beta.26 → 0.0.0-beta.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/README.md +2 -2
- package/cspell/dict/names.txt +4 -1
- package/eslint/imports.js +3 -3
- package/eslint/typescript.js +9 -10
- package/package.json +29 -29
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ This repository contains shared configuration files used to configure my persona
|
|
|
10
10
|
- unwritten
|
|
11
11
|
- changelogen
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
## Installation
|
|
14
14
|
|
|
15
15
|
```sh
|
|
16
16
|
npm i --save-dev @schoero/configs
|
|
@@ -182,4 +182,4 @@ npm i --save-dev @schoero/configs
|
|
|
182
182
|
"test": "vitest -c ./vite.config.ts"
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
```
|
|
185
|
+
```
|
package/cspell/dict/names.txt
CHANGED
package/eslint/imports.js
CHANGED
|
@@ -40,9 +40,9 @@ export const imports = [
|
|
|
40
40
|
["^"],
|
|
41
41
|
|
|
42
42
|
// internal packages
|
|
43
|
-
["^@"],
|
|
44
|
-
["^@schoero"],
|
|
45
|
-
["^(?!node:)(.*):"],
|
|
43
|
+
["^@(?!.*\\u0000$)"],
|
|
44
|
+
["^@schoero(?!.*\\u0000$)"],
|
|
45
|
+
["^(?!node:)(?!.*\\u0000$)(.*):"],
|
|
46
46
|
|
|
47
47
|
// parent imports. Put `..` last
|
|
48
48
|
["^\\.\\.(?!/?.*\\u0000$)", "^\\.\\./?(?!.*\\u0000$)"],
|
package/eslint/typescript.js
CHANGED
|
@@ -2,11 +2,10 @@ import eslintPluginImport from "eslint-plugin-import";
|
|
|
2
2
|
import eslintPluginJSDoc from "eslint-plugin-jsdoc";
|
|
3
3
|
import eslintPluginJsonc from "eslint-plugin-jsonc";
|
|
4
4
|
import eslintPluginTypeScriptSortKeys from "eslint-plugin-typescript-sort-keys";
|
|
5
|
+
import eslintPluginTypeScript from "typescript-eslint";
|
|
5
6
|
|
|
6
7
|
import eslintPluginStylisticJS from "@stylistic/eslint-plugin-js";
|
|
7
8
|
import eslintPluginStylisticTS from "@stylistic/eslint-plugin-ts";
|
|
8
|
-
import eslintPluginTypeScript from "@typescript-eslint/eslint-plugin";
|
|
9
|
-
import eslintParserTypeScript from "@typescript-eslint/parser";
|
|
10
9
|
|
|
11
10
|
import { javascript } from "./javascript.js";
|
|
12
11
|
|
|
@@ -19,9 +18,9 @@ export const typescript = [
|
|
|
19
18
|
{
|
|
20
19
|
|
|
21
20
|
languageOptions: {
|
|
22
|
-
parser:
|
|
21
|
+
parser: eslintPluginTypeScript.parser,
|
|
23
22
|
parserOptions: {
|
|
24
|
-
project:
|
|
23
|
+
project: true
|
|
25
24
|
}
|
|
26
25
|
},
|
|
27
26
|
files: ["**/*.{ts,tsx}"]
|
|
@@ -29,9 +28,9 @@ export const typescript = [
|
|
|
29
28
|
|
|
30
29
|
{
|
|
31
30
|
languageOptions: {
|
|
32
|
-
parser:
|
|
31
|
+
parser: eslintPluginTypeScript.parser,
|
|
33
32
|
parserOptions: {
|
|
34
|
-
project:
|
|
33
|
+
project: true
|
|
35
34
|
}
|
|
36
35
|
},
|
|
37
36
|
files: ["**/*.{ts}"],
|
|
@@ -54,7 +53,7 @@ export const typescript = [
|
|
|
54
53
|
plugins: {
|
|
55
54
|
"eslint-plugin-import": eslintPluginImport,
|
|
56
55
|
"eslint-plugin-jsdoc": eslintPluginJSDoc,
|
|
57
|
-
"eslint-plugin-typescript": eslintPluginTypeScript,
|
|
56
|
+
"eslint-plugin-typescript": eslintPluginTypeScript.plugin,
|
|
58
57
|
"eslint-plugin-stylistic-ts": eslintPluginStylisticTS,
|
|
59
58
|
"eslint-plugin-stylistic-js": eslintPluginStylisticJS,
|
|
60
59
|
"eslint-plugin-typescript-sort-keys": eslintPluginTypeScriptSortKeys
|
|
@@ -271,11 +270,11 @@ export const typescript = [
|
|
|
271
270
|
// standalone typescript
|
|
272
271
|
{
|
|
273
272
|
languageOptions: {
|
|
274
|
-
parser:
|
|
273
|
+
parser: eslintPluginTypeScript.parser,
|
|
275
274
|
parserOptions: { project: null, program: null }
|
|
276
275
|
},
|
|
277
276
|
plugins: {
|
|
278
|
-
"eslint-plugin-typescript": eslintPluginTypeScript
|
|
277
|
+
"eslint-plugin-typescript": eslintPluginTypeScript.plugin
|
|
279
278
|
},
|
|
280
279
|
files: [
|
|
281
280
|
"**/*.config.ts",
|
|
@@ -290,7 +289,7 @@ export const typescript = [
|
|
|
290
289
|
],
|
|
291
290
|
rules: {
|
|
292
291
|
...Object.fromEntries(
|
|
293
|
-
Object.entries(eslintPluginTypeScript.configs
|
|
292
|
+
Object.entries(eslintPluginTypeScript.configs.disableTypeChecked.rules).map(([ruleName, ruleConfig]) => {
|
|
294
293
|
return [
|
|
295
294
|
ruleName.replace("@typescript-eslint", "eslint-plugin-typescript"),
|
|
296
295
|
ruleConfig
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.0-beta.
|
|
2
|
+
"version": "0.0.0-beta.29",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"name": "@schoero/configs",
|
|
5
5
|
"description": "",
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"@cspell/dict-bash": "^4.1.3",
|
|
42
|
-
"@cspell/dict-companies": "^3.0.
|
|
42
|
+
"@cspell/dict-companies": "^3.0.31",
|
|
43
43
|
"@cspell/dict-css": "^4.0.12",
|
|
44
44
|
"@cspell/dict-de-ch": "^1.2.0",
|
|
45
|
-
"@cspell/dict-en_us": "^4.3.
|
|
45
|
+
"@cspell/dict-en_us": "^4.3.16",
|
|
46
46
|
"@cspell/dict-fr-fr": "^2.2.2",
|
|
47
47
|
"@cspell/dict-fullstack": "^3.1.5",
|
|
48
48
|
"@cspell/dict-html": "^4.0.5",
|
|
@@ -51,45 +51,45 @@
|
|
|
51
51
|
"@cspell/dict-lorem-ipsum": "^4.0.0",
|
|
52
52
|
"@cspell/dict-markdown": "^2.0.1",
|
|
53
53
|
"@cspell/dict-node": "^4.0.3",
|
|
54
|
-
"@cspell/dict-npm": "^5.0.
|
|
54
|
+
"@cspell/dict-npm": "^5.0.15",
|
|
55
55
|
"@cspell/dict-public-licenses": "^2.0.5",
|
|
56
|
-
"@cspell/dict-software-terms": "^3.3.
|
|
56
|
+
"@cspell/dict-software-terms": "^3.3.18",
|
|
57
57
|
"@cspell/dict-typescript": "^3.1.2",
|
|
58
|
-
"@stylistic/eslint-plugin-js": "^1.
|
|
59
|
-
"@stylistic/eslint-plugin-jsx": "^1.
|
|
60
|
-
"@stylistic/eslint-plugin-plus": "^1.
|
|
61
|
-
"@stylistic/eslint-plugin-ts": "^1.
|
|
62
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
63
|
-
"
|
|
64
|
-
"cspell-lib": "^8.3.1",
|
|
58
|
+
"@stylistic/eslint-plugin-js": "^1.6.1",
|
|
59
|
+
"@stylistic/eslint-plugin-jsx": "^1.6.1",
|
|
60
|
+
"@stylistic/eslint-plugin-plus": "^1.6.1",
|
|
61
|
+
"@stylistic/eslint-plugin-ts": "^1.6.1",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^6.21.0",
|
|
63
|
+
"cspell-lib": "^8.3.2",
|
|
65
64
|
"eslint-plugin-import": "npm:eslint-plugin-i@2.29.1",
|
|
66
65
|
"eslint-plugin-import-newlines": "^1.3.4",
|
|
67
|
-
"eslint-plugin-jsdoc": "^
|
|
68
|
-
"eslint-plugin-jsonc": "^2.
|
|
66
|
+
"eslint-plugin-jsdoc": "^48.0.6",
|
|
67
|
+
"eslint-plugin-jsonc": "^2.13.0",
|
|
69
68
|
"eslint-plugin-markdown": "^3.0.1",
|
|
70
|
-
"eslint-plugin-readable-tailwind": "^0.
|
|
71
|
-
"eslint-plugin-simple-import-sort": "^
|
|
69
|
+
"eslint-plugin-readable-tailwind": "^1.0.0",
|
|
70
|
+
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
72
71
|
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
73
72
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
74
|
-
"eslint-plugin-tailwindcss": "^3.
|
|
73
|
+
"eslint-plugin-tailwindcss": "^3.14.2",
|
|
75
74
|
"eslint-plugin-typescript-sort-keys": "^3.1.0",
|
|
76
|
-
"eslint-plugin-unicorn": "^
|
|
77
|
-
"eslint-plugin-unused-imports": "^3.
|
|
78
|
-
"eslint-plugin-vitest": "^0.3.
|
|
79
|
-
"eslint-plugin-yml": "^1.
|
|
80
|
-
"markdownlint-cli2": "^0.
|
|
81
|
-
"
|
|
82
|
-
"vite-tsconfig-paths": "^4.
|
|
75
|
+
"eslint-plugin-unicorn": "^51.0.1",
|
|
76
|
+
"eslint-plugin-unused-imports": "^3.1.0",
|
|
77
|
+
"eslint-plugin-vitest": "^0.3.22",
|
|
78
|
+
"eslint-plugin-yml": "^1.12.2",
|
|
79
|
+
"markdownlint-cli2": "^0.12.1",
|
|
80
|
+
"typescript-eslint": "^7.0.1",
|
|
81
|
+
"vite-tsconfig-paths": "^4.3.1",
|
|
83
82
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
84
83
|
},
|
|
85
84
|
"devDependencies": {
|
|
86
|
-
"@types/node": "^20.
|
|
85
|
+
"@types/node": "^20.11.17",
|
|
86
|
+
"@typescript-eslint/parser": "^6.21.0",
|
|
87
87
|
"changelogen": "^0.5.5",
|
|
88
|
-
"cspell": "^8.3.
|
|
88
|
+
"cspell": "^8.3.2",
|
|
89
89
|
"eslint": "^8.56.0",
|
|
90
|
-
"markdownlint": "^0.
|
|
91
|
-
"vite": "^5.
|
|
92
|
-
"vitest": "^1.
|
|
90
|
+
"markdownlint": "^0.33.0",
|
|
91
|
+
"vite": "^5.1.1",
|
|
92
|
+
"vitest": "^1.2.2"
|
|
93
93
|
},
|
|
94
94
|
"keywords": [],
|
|
95
95
|
"optionalPeerDependencies": {
|