@schoero/configs 0.0.0-beta.19 → 0.0.0-beta.20
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/html.js +1 -1
- package/eslint/jsx.js +0 -10
- package/eslint/tailwind.js +15 -0
- package/package.json +14 -14
package/eslint/html.js
CHANGED
|
@@ -14,7 +14,7 @@ export const html = [
|
|
|
14
14
|
},
|
|
15
15
|
rules: {
|
|
16
16
|
"eslint-plugin-html/no-duplicate-attrs": "warn",
|
|
17
|
-
"eslint-plugin-html/
|
|
17
|
+
"eslint-plugin-html/no-duplicate-id": "warn",
|
|
18
18
|
"eslint-plugin-html/no-obsolete-tags": "warn",
|
|
19
19
|
"eslint-plugin-html/require-li-container": "warn",
|
|
20
20
|
"eslint-plugin-html/no-multiple-h1": "warn",
|
package/eslint/jsx.js
CHANGED
|
@@ -25,16 +25,6 @@ export const jsx = [
|
|
|
25
25
|
"eslint-plugin-stylistic-jsx": eslintPluginStylisticJSX
|
|
26
26
|
},
|
|
27
27
|
rules: {
|
|
28
|
-
"eslint-plugin-typescript/naming-convention": [
|
|
29
|
-
"warn",
|
|
30
|
-
...namingConventions.filter(({ selector }) => selector !== "variable"),
|
|
31
|
-
{
|
|
32
|
-
format: ["camelCase", "PascalCase", "UPPER_CASE"],
|
|
33
|
-
leadingUnderscore: "allow",
|
|
34
|
-
selector: "variable"
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
|
|
38
28
|
"eslint-plugin-stylistic-jsx/jsx-curly-brace-presence": ["warn", { children: "never", propElementValues: "always", props: "never" }],
|
|
39
29
|
"eslint-plugin-stylistic-jsx/jsx-child-element-spacing": "warn",
|
|
40
30
|
"eslint-plugin-stylistic-jsx/jsx-closing-bracket-location": ["warn", "line-aligned"],
|
package/eslint/tailwind.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import eslintPluginReadableTailwind from "eslint-plugin-readable-tailwind";
|
|
2
2
|
import eslintPluginTailwindcss from "eslint-plugin-tailwindcss";
|
|
3
|
+
import eslintParserSvelte from "svelte-eslint-parser";
|
|
3
4
|
|
|
4
5
|
import eslintParserHTML from "@html-eslint/parser";
|
|
5
6
|
|
|
@@ -39,5 +40,19 @@ export const tailwind = [
|
|
|
39
40
|
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": ["warn", { ...tailwindOptions }],
|
|
40
41
|
"eslint-plugin-readable-tailwind/sort-classes": ["warn", { ...tailwindOptions }]
|
|
41
42
|
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
files: ["**/*.svelte"],
|
|
46
|
+
plugins: {
|
|
47
|
+
"eslint-plugin-readable-tailwind": eslintPluginReadableTailwind
|
|
48
|
+
},
|
|
49
|
+
languageOptions: {
|
|
50
|
+
parser: eslintParserSvelte
|
|
51
|
+
},
|
|
52
|
+
rules: {
|
|
53
|
+
"eslint-plugin-readable-tailwind/multiline": ["warn", { ...tailwindOptions, printWidth: 119 }],
|
|
54
|
+
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": ["warn", { ...tailwindOptions }],
|
|
55
|
+
"eslint-plugin-readable-tailwind/sort-classes": ["warn", { ...tailwindOptions }]
|
|
56
|
+
}
|
|
42
57
|
}
|
|
43
58
|
];
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.0-beta.
|
|
2
|
+
"version": "0.0.0-beta.20",
|
|
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.29",
|
|
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.13",
|
|
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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"@cspell/dict-node": "^4.0.3",
|
|
54
54
|
"@cspell/dict-npm": "^5.0.14",
|
|
55
55
|
"@cspell/dict-public-licenses": "^2.0.5",
|
|
56
|
-
"@cspell/dict-software-terms": "^3.3.
|
|
56
|
+
"@cspell/dict-software-terms": "^3.3.15",
|
|
57
57
|
"@cspell/dict-typescript": "^3.1.2",
|
|
58
58
|
"@html-eslint/eslint-plugin": "^0.22.0",
|
|
59
59
|
"@html-eslint/parser": "^0.22.0",
|
|
@@ -61,33 +61,33 @@
|
|
|
61
61
|
"@stylistic/eslint-plugin-jsx": "^1.5.1",
|
|
62
62
|
"@stylistic/eslint-plugin-plus": "^1.5.1",
|
|
63
63
|
"@stylistic/eslint-plugin-ts": "^1.5.1",
|
|
64
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
65
|
-
"@typescript-eslint/parser": "^6.
|
|
66
|
-
"cspell-lib": "^8.
|
|
64
|
+
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
|
65
|
+
"@typescript-eslint/parser": "^6.16.0",
|
|
66
|
+
"cspell-lib": "^8.3.0",
|
|
67
67
|
"eslint-plugin-import": "npm:eslint-plugin-i@2.28.1",
|
|
68
68
|
"eslint-plugin-import-newlines": "^1.3.4",
|
|
69
|
-
"eslint-plugin-jsdoc": "^46.
|
|
69
|
+
"eslint-plugin-jsdoc": "^46.10.1",
|
|
70
70
|
"eslint-plugin-jsonc": "^2.11.2",
|
|
71
71
|
"eslint-plugin-markdown": "^3.0.1",
|
|
72
|
-
"eslint-plugin-readable-tailwind": "^0.2.0-beta.
|
|
72
|
+
"eslint-plugin-readable-tailwind": "^0.2.0-beta.1",
|
|
73
73
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
74
74
|
"eslint-plugin-sort-destructure-keys": "^1.5.0",
|
|
75
75
|
"eslint-plugin-sort-keys": "^2.3.5",
|
|
76
|
-
"eslint-plugin-tailwindcss": "^3.13.
|
|
76
|
+
"eslint-plugin-tailwindcss": "^3.13.1",
|
|
77
77
|
"eslint-plugin-typescript-sort-keys": "^3.1.0",
|
|
78
78
|
"eslint-plugin-unicorn": "^50.0.1",
|
|
79
79
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
80
|
-
"eslint-plugin-vitest": "^0.3.
|
|
80
|
+
"eslint-plugin-vitest": "^0.3.20",
|
|
81
81
|
"eslint-plugin-yml": "^1.11.0",
|
|
82
82
|
"markdownlint-cli2": "^0.11.0",
|
|
83
83
|
"npm": "^10.2.5",
|
|
84
|
-
"vite-tsconfig-paths": "^4.2.
|
|
84
|
+
"vite-tsconfig-paths": "^4.2.3",
|
|
85
85
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
86
86
|
},
|
|
87
87
|
"devDependencies": {
|
|
88
|
-
"@types/node": "^20.10.
|
|
88
|
+
"@types/node": "^20.10.6",
|
|
89
89
|
"changelogen": "^0.5.5",
|
|
90
|
-
"cspell": "^8.
|
|
90
|
+
"cspell": "^8.3.0",
|
|
91
91
|
"eslint": "^8.56.0",
|
|
92
92
|
"markdownlint": "^0.32.1",
|
|
93
93
|
"vite": "^5.0.10",
|