@schoero/configs 1.0.4 → 1.0.6
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/cspell/dict/html.txt +3 -1
- package/cspell/dict/names.txt +1 -0
- package/eslint/jsx.js +14 -4
- package/eslint/tailwind.js +3 -3
- package/package.json +20 -20
package/cspell/dict/html.txt
CHANGED
package/cspell/dict/names.txt
CHANGED
package/eslint/jsx.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import eslintPluginStylisticJS from "@stylistic/eslint-plugin-js";
|
|
2
2
|
import eslintPluginStylisticJSX from "@stylistic/eslint-plugin-jsx";
|
|
3
|
+
import eslintPluginStylisticPlus from "@stylistic/eslint-plugin-plus";
|
|
3
4
|
import eslintPluginStylisticTS from "@stylistic/eslint-plugin-ts";
|
|
4
5
|
import eslintPluginTypeScript from "@typescript-eslint/eslint-plugin";
|
|
5
6
|
import eslintParserTypeScript from "@typescript-eslint/parser";
|
|
@@ -11,7 +12,8 @@ export const jsx = [
|
|
|
11
12
|
files: ["**/*.{jsx,tsx}"],
|
|
12
13
|
plugins: {
|
|
13
14
|
"eslint-plugin-stylistic-js": eslintPluginStylisticJS,
|
|
14
|
-
"eslint-plugin-stylistic-ts": eslintPluginStylisticTS
|
|
15
|
+
"eslint-plugin-stylistic-ts": eslintPluginStylisticTS,
|
|
16
|
+
"eslint-plugin-stylistic-plus": eslintPluginStylisticPlus
|
|
15
17
|
},
|
|
16
18
|
rules: {
|
|
17
19
|
"eslint-plugin-stylistic-js/no-extra-parens": "off",
|
|
@@ -31,11 +33,13 @@ export const jsx = [
|
|
|
31
33
|
"eslint-plugin-stylistic-jsx/jsx-curly-newline": ["warn", "consistent"],
|
|
32
34
|
"eslint-plugin-stylistic-jsx/jsx-curly-spacing": ["warn", "never"],
|
|
33
35
|
"eslint-plugin-stylistic-jsx/jsx-equals-spacing": ["warn", "never"],
|
|
36
|
+
"eslint-plugin-stylistic-jsx/jsx-function-call-newline": ["warn", "multiline"],
|
|
34
37
|
"eslint-plugin-stylistic-jsx/jsx-first-prop-new-line": ["warn", "multiline-multiprop"],
|
|
35
38
|
"eslint-plugin-stylistic-jsx/jsx-indent": ["warn", 2],
|
|
39
|
+
"eslint-plugin-stylistic-jsx/jsx-pascal-case": "warn",
|
|
36
40
|
"eslint-plugin-stylistic-jsx/jsx-indent-props": ["warn", 2],
|
|
37
41
|
"eslint-plugin-stylistic-jsx/jsx-max-props-per-line": ["warn", { maximum: 1, when: "multiline" }],
|
|
38
|
-
"eslint-plugin-stylistic-jsx/jsx-one-expression-per-line": ["warn", { allow: "single-
|
|
42
|
+
"eslint-plugin-stylistic-jsx/jsx-one-expression-per-line": ["warn", { allow: "single-line" }],
|
|
39
43
|
"eslint-plugin-stylistic-jsx/jsx-props-no-multi-spaces": "warn",
|
|
40
44
|
"eslint-plugin-stylistic-jsx/jsx-self-closing-comp": "warn",
|
|
41
45
|
"eslint-plugin-stylistic-jsx/jsx-sort-props": ["warn", { ignoreCase: true, callbacksLast: true, shorthandFirst: true, multiline: "last" }],
|
|
@@ -44,6 +48,7 @@ export const jsx = [
|
|
|
44
48
|
declaration: "parens-new-line",
|
|
45
49
|
assignment: "parens-new-line",
|
|
46
50
|
return: "parens-new-line",
|
|
51
|
+
propertyValue: "parens-new-line",
|
|
47
52
|
arrow: "parens-new-line",
|
|
48
53
|
condition: "parens-new-line",
|
|
49
54
|
logical: "parens-new-line",
|
|
@@ -54,7 +59,8 @@ export const jsx = [
|
|
|
54
59
|
{
|
|
55
60
|
files: ["**/*.{tsx}"],
|
|
56
61
|
plugins: {
|
|
57
|
-
"eslint-plugin-typescript": eslintPluginTypeScript
|
|
62
|
+
"eslint-plugin-typescript": eslintPluginTypeScript,
|
|
63
|
+
"eslint-plugin-stylistic-plus": eslintPluginStylisticPlus
|
|
58
64
|
},
|
|
59
65
|
languageOptions: {
|
|
60
66
|
parser: eslintParserTypeScript,
|
|
@@ -71,7 +77,11 @@ export const jsx = [
|
|
|
71
77
|
leadingUnderscore: "allow",
|
|
72
78
|
selector: "variable"
|
|
73
79
|
}
|
|
74
|
-
]
|
|
80
|
+
],
|
|
81
|
+
|
|
82
|
+
// Spacings
|
|
83
|
+
"eslint-plugin-stylistic-plus/type-generic-spacing": "warn",
|
|
84
|
+
"eslint-plugin-stylistic-plus/type-named-tuple-spacing": "warn"
|
|
75
85
|
}
|
|
76
86
|
}
|
|
77
87
|
];
|
package/eslint/tailwind.js
CHANGED
|
@@ -19,9 +19,9 @@ export const tailwind = [
|
|
|
19
19
|
"eslint-plugin-tailwindcss/enforces-shorthand": ["warn", tailwindOptions],
|
|
20
20
|
"eslint-plugin-tailwindcss/no-contradicting-classname": ["warn", tailwindOptions],
|
|
21
21
|
|
|
22
|
-
"eslint-plugin-readable-tailwind/multiline": ["warn", {
|
|
23
|
-
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace":
|
|
24
|
-
"eslint-plugin-readable-tailwind/sort-classes":
|
|
22
|
+
"eslint-plugin-readable-tailwind/multiline": ["warn", { printWidth: 119 }],
|
|
23
|
+
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": "warn",
|
|
24
|
+
"eslint-plugin-readable-tailwind/sort-classes": "warn"
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
];
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.0.
|
|
2
|
+
"version": "1.0.6",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"name": "@schoero/configs",
|
|
5
5
|
"description": "",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
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.19",
|
|
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",
|
|
@@ -50,35 +50,35 @@
|
|
|
50
50
|
"@cspell/dict-it-it": "^3.1.0",
|
|
51
51
|
"@cspell/dict-lorem-ipsum": "^4.0.0",
|
|
52
52
|
"@cspell/dict-markdown": "^2.0.1",
|
|
53
|
-
"@cspell/dict-node": "^
|
|
53
|
+
"@cspell/dict-node": "^5.0.1",
|
|
54
54
|
"@cspell/dict-npm": "^5.0.15",
|
|
55
55
|
"@cspell/dict-public-licenses": "^2.0.6",
|
|
56
|
-
"@cspell/dict-software-terms": "^3.3.
|
|
57
|
-
"@cspell/dict-typescript": "^3.1.
|
|
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": "^7.
|
|
63
|
-
"@typescript-eslint/parser": "^7.
|
|
56
|
+
"@cspell/dict-software-terms": "^3.3.20",
|
|
57
|
+
"@cspell/dict-typescript": "^3.1.4",
|
|
58
|
+
"@stylistic/eslint-plugin-js": "^1.8.0",
|
|
59
|
+
"@stylistic/eslint-plugin-jsx": "^1.8.0",
|
|
60
|
+
"@stylistic/eslint-plugin-plus": "^1.8.0",
|
|
61
|
+
"@stylistic/eslint-plugin-ts": "^1.8.0",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^7.8.0",
|
|
63
|
+
"@typescript-eslint/parser": "^7.8.0",
|
|
64
64
|
"cspell-lib": "^8.7.0",
|
|
65
65
|
"eslint-plugin-import": "npm:eslint-plugin-i@2.29.1",
|
|
66
66
|
"eslint-plugin-import-newlines": "^1.4.0",
|
|
67
67
|
"eslint-plugin-jsdoc": "^48.2.3",
|
|
68
|
-
"eslint-plugin-jsonc": "^2.15.
|
|
68
|
+
"eslint-plugin-jsonc": "^2.15.1",
|
|
69
69
|
"eslint-plugin-markdown": "^4.0.1",
|
|
70
|
-
"eslint-plugin-readable-tailwind": "^1.
|
|
71
|
-
"eslint-plugin-simple-import-sort": "^12.
|
|
72
|
-
"eslint-plugin-sort-destructure-keys": "^1.
|
|
70
|
+
"eslint-plugin-readable-tailwind": "^1.4.0-beta.2",
|
|
71
|
+
"eslint-plugin-simple-import-sort": "^12.1.0",
|
|
72
|
+
"eslint-plugin-sort-destructure-keys": "^1.6.0",
|
|
73
73
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
74
74
|
"eslint-plugin-tailwindcss": "^3.15.1",
|
|
75
75
|
"eslint-plugin-typescript-sort-keys": "^3.2.0",
|
|
76
76
|
"eslint-plugin-unicorn": "^52.0.0",
|
|
77
|
-
"eslint-plugin-unused-imports": "^3.
|
|
78
|
-
"eslint-plugin-vitest": "^0.5.
|
|
77
|
+
"eslint-plugin-unused-imports": "^3.2.0",
|
|
78
|
+
"eslint-plugin-vitest": "^0.5.4",
|
|
79
79
|
"eslint-plugin-yml": "^1.14.0",
|
|
80
80
|
"markdownlint-cli2": "^0.13.0",
|
|
81
|
-
"typescript-eslint": "^7.
|
|
81
|
+
"typescript-eslint": "^7.8.0",
|
|
82
82
|
"vite-tsconfig-paths": "^4.3.2",
|
|
83
83
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
84
84
|
},
|
|
@@ -88,8 +88,8 @@
|
|
|
88
88
|
"cspell": "^8.7.0",
|
|
89
89
|
"eslint": "^8.57.0",
|
|
90
90
|
"markdownlint": "^0.34.0",
|
|
91
|
-
"vite": "^5.2.
|
|
92
|
-
"vitest": "^1.5.
|
|
91
|
+
"vite": "^5.2.10",
|
|
92
|
+
"vitest": "^1.5.3"
|
|
93
93
|
},
|
|
94
94
|
"keywords": [],
|
|
95
95
|
"optionalPeerDependencies": {
|