@schoero/configs 0.0.0-beta.20 → 0.0.0-beta.22
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/tailwind.js +0 -31
- package/package.json +1 -3
- package/eslint/html.js +0 -28
package/eslint/tailwind.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import eslintPluginReadableTailwind from "eslint-plugin-readable-tailwind";
|
|
2
2
|
import eslintPluginTailwindcss from "eslint-plugin-tailwindcss";
|
|
3
|
-
import eslintParserSvelte from "svelte-eslint-parser";
|
|
4
|
-
|
|
5
|
-
import eslintParserHTML from "@html-eslint/parser";
|
|
6
3
|
|
|
7
4
|
|
|
8
5
|
const tailwindOptions = {
|
|
@@ -22,34 +19,6 @@ export const tailwind = [
|
|
|
22
19
|
"eslint-plugin-tailwindcss/enforces-shorthand": ["warn", tailwindOptions],
|
|
23
20
|
"eslint-plugin-tailwindcss/no-contradicting-classname": ["warn", tailwindOptions],
|
|
24
21
|
|
|
25
|
-
"eslint-plugin-readable-tailwind/multiline": ["warn", { ...tailwindOptions, printWidth: 119 }],
|
|
26
|
-
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": ["warn", { ...tailwindOptions }],
|
|
27
|
-
"eslint-plugin-readable-tailwind/sort-classes": ["warn", { ...tailwindOptions }]
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
files: ["**/*.{html,xhtml}"],
|
|
32
|
-
plugins: {
|
|
33
|
-
"eslint-plugin-readable-tailwind": eslintPluginReadableTailwind
|
|
34
|
-
},
|
|
35
|
-
languageOptions: {
|
|
36
|
-
parser: eslintParserHTML
|
|
37
|
-
},
|
|
38
|
-
rules: {
|
|
39
|
-
"eslint-plugin-readable-tailwind/multiline": ["warn", { ...tailwindOptions, printWidth: 119 }],
|
|
40
|
-
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": ["warn", { ...tailwindOptions }],
|
|
41
|
-
"eslint-plugin-readable-tailwind/sort-classes": ["warn", { ...tailwindOptions }]
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
files: ["**/*.svelte"],
|
|
46
|
-
plugins: {
|
|
47
|
-
"eslint-plugin-readable-tailwind": eslintPluginReadableTailwind
|
|
48
|
-
},
|
|
49
|
-
languageOptions: {
|
|
50
|
-
parser: eslintParserSvelte
|
|
51
|
-
},
|
|
52
|
-
rules: {
|
|
53
22
|
"eslint-plugin-readable-tailwind/multiline": ["warn", { ...tailwindOptions, printWidth: 119 }],
|
|
54
23
|
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": ["warn", { ...tailwindOptions }],
|
|
55
24
|
"eslint-plugin-readable-tailwind/sort-classes": ["warn", { ...tailwindOptions }]
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.0.0-beta.
|
|
2
|
+
"version": "0.0.0-beta.22",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"name": "@schoero/configs",
|
|
5
5
|
"description": "",
|
|
@@ -55,8 +55,6 @@
|
|
|
55
55
|
"@cspell/dict-public-licenses": "^2.0.5",
|
|
56
56
|
"@cspell/dict-software-terms": "^3.3.15",
|
|
57
57
|
"@cspell/dict-typescript": "^3.1.2",
|
|
58
|
-
"@html-eslint/eslint-plugin": "^0.22.0",
|
|
59
|
-
"@html-eslint/parser": "^0.22.0",
|
|
60
58
|
"@stylistic/eslint-plugin-js": "^1.5.1",
|
|
61
59
|
"@stylistic/eslint-plugin-jsx": "^1.5.1",
|
|
62
60
|
"@stylistic/eslint-plugin-plus": "^1.5.1",
|
package/eslint/html.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import eslintPluginHTML from "@html-eslint/eslint-plugin";
|
|
2
|
-
import eslintParserHTML from "@html-eslint/parser";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/** @type { import("eslint").Linter.FlatConfig[] } */
|
|
6
|
-
export const html = [
|
|
7
|
-
{
|
|
8
|
-
files: ["**/*.{html,xhtml}"],
|
|
9
|
-
plugins: {
|
|
10
|
-
"eslint-plugin-html": eslintPluginHTML
|
|
11
|
-
},
|
|
12
|
-
languageOptions: {
|
|
13
|
-
parser: eslintParserHTML
|
|
14
|
-
},
|
|
15
|
-
rules: {
|
|
16
|
-
"eslint-plugin-html/no-duplicate-attrs": "warn",
|
|
17
|
-
"eslint-plugin-html/no-duplicate-id": "warn",
|
|
18
|
-
"eslint-plugin-html/no-obsolete-tags": "warn",
|
|
19
|
-
"eslint-plugin-html/require-li-container": "warn",
|
|
20
|
-
"eslint-plugin-html/no-multiple-h1": "warn",
|
|
21
|
-
"eslint-plugin-html/no-extra-spacing-attrs": "warn",
|
|
22
|
-
"eslint-plugin-html/no-trailing-spaces": "warn",
|
|
23
|
-
"eslint-plugin-html/quotes": "warn",
|
|
24
|
-
"eslint-plugin-html/sort-attrs": "warn"
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
];
|