@schoero/configs 1.2.15 → 1.3.0
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 +11 -9
- package/package.json +27 -27
package/eslint/tailwind.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { getDefaultVariables } from "eslint-plugin-
|
|
3
|
-
import { MatcherType } from "eslint-plugin-
|
|
1
|
+
import eslintPluginBetterTailwindcss from "eslint-plugin-better-tailwindcss";
|
|
2
|
+
import { getDefaultVariables } from "eslint-plugin-better-tailwindcss/api/defaults";
|
|
3
|
+
import { MatcherType } from "eslint-plugin-better-tailwindcss/api/types";
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
/** @type { import("eslint").Linter.Config[] } */
|
|
@@ -8,16 +8,18 @@ export const tailwind = [
|
|
|
8
8
|
{
|
|
9
9
|
files: ["**/*.{js,jsx,cjs,mjs,tsx,css}"],
|
|
10
10
|
plugins: {
|
|
11
|
-
"eslint-plugin-
|
|
11
|
+
"eslint-plugin-better-tailwindcss": eslintPluginBetterTailwindcss
|
|
12
12
|
},
|
|
13
13
|
rules: {
|
|
14
|
-
"eslint-plugin-
|
|
15
|
-
"eslint-plugin-
|
|
16
|
-
"eslint-plugin-
|
|
17
|
-
"eslint-plugin-
|
|
14
|
+
"eslint-plugin-better-tailwindcss/multiline": ["warn", { printWidth: 119, group: "newLine" }],
|
|
15
|
+
"eslint-plugin-better-tailwindcss/no-unnecessary-whitespace": "warn",
|
|
16
|
+
"eslint-plugin-better-tailwindcss/sort-classes": "warn",
|
|
17
|
+
"eslint-plugin-better-tailwindcss/no-duplicate-classes": "warn",
|
|
18
|
+
"eslint-plugin-better-tailwindcss/no-conflicting-classes": "warn",
|
|
19
|
+
"eslint-plugin-better-tailwindcss/no-unregistered-classes": "warn"
|
|
18
20
|
},
|
|
19
21
|
settings: {
|
|
20
|
-
"eslint-plugin-
|
|
22
|
+
"eslint-plugin-better-tailwindcss": {
|
|
21
23
|
variables: [
|
|
22
24
|
...getDefaultVariables(),
|
|
23
25
|
["variants", [{ match: MatcherType.ObjectValue }]]
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.3.0",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"name": "@schoero/configs",
|
|
5
5
|
"description": "",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"unwritten"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@stylistic/eslint-plugin-jsx": "^4.
|
|
42
|
+
"@stylistic/eslint-plugin-jsx": "^4.4.0",
|
|
43
43
|
"changelogen": "^0.6.1",
|
|
44
|
-
"cspell": "^
|
|
45
|
-
"eslint": "^9.
|
|
46
|
-
"markdownlint": "^0.
|
|
44
|
+
"cspell": "^9.0.2",
|
|
45
|
+
"eslint": "^9.27.0",
|
|
46
|
+
"markdownlint": "^0.38.0",
|
|
47
47
|
"unwritten": "^0.2.14",
|
|
48
|
-
"vite": "^6.
|
|
49
|
-
"vitest": "^3.1.
|
|
48
|
+
"vite": "^6.3.5",
|
|
49
|
+
"vitest": "^3.1.4"
|
|
50
50
|
},
|
|
51
51
|
"peerDependenciesMeta": {
|
|
52
52
|
"@stylistic/eslint-plugin-jsx": {
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"@cspell/dict-companies": "^3.2.1",
|
|
80
80
|
"@cspell/dict-css": "^4.0.17",
|
|
81
81
|
"@cspell/dict-de-ch": "^1.3.0",
|
|
82
|
-
"@cspell/dict-en_us": "^4.4.
|
|
82
|
+
"@cspell/dict-en_us": "^4.4.9",
|
|
83
83
|
"@cspell/dict-fr-fr": "^2.3.0",
|
|
84
84
|
"@cspell/dict-fullstack": "^3.2.6",
|
|
85
85
|
"@cspell/dict-html": "^4.0.11",
|
|
@@ -88,43 +88,43 @@
|
|
|
88
88
|
"@cspell/dict-lorem-ipsum": "^4.0.4",
|
|
89
89
|
"@cspell/dict-markdown": "^2.0.10",
|
|
90
90
|
"@cspell/dict-node": "^5.0.7",
|
|
91
|
-
"@cspell/dict-npm": "^5.2.
|
|
91
|
+
"@cspell/dict-npm": "^5.2.4",
|
|
92
92
|
"@cspell/dict-public-licenses": "^2.0.13",
|
|
93
|
-
"@cspell/dict-software-terms": "^5.0.
|
|
93
|
+
"@cspell/dict-software-terms": "^5.0.10",
|
|
94
94
|
"@cspell/dict-typescript": "^3.2.1",
|
|
95
|
-
"@stylistic/eslint-plugin-js": "^4.
|
|
96
|
-
"@stylistic/eslint-plugin-jsx": "^4.
|
|
97
|
-
"@stylistic/eslint-plugin-plus": "^4.
|
|
98
|
-
"@stylistic/eslint-plugin-ts": "^4.
|
|
99
|
-
"@typescript-eslint/eslint-plugin": "^8.32.
|
|
100
|
-
"@typescript-eslint/parser": "^8.32.
|
|
101
|
-
"cspell-lib": "^9.0.
|
|
95
|
+
"@stylistic/eslint-plugin-js": "^4.4.0",
|
|
96
|
+
"@stylistic/eslint-plugin-jsx": "^4.4.0",
|
|
97
|
+
"@stylistic/eslint-plugin-plus": "^4.4.0",
|
|
98
|
+
"@stylistic/eslint-plugin-ts": "^4.4.0",
|
|
99
|
+
"@typescript-eslint/eslint-plugin": "^8.32.1",
|
|
100
|
+
"@typescript-eslint/parser": "^8.32.1",
|
|
101
|
+
"cspell-lib": "^9.0.2",
|
|
102
102
|
"eslint-plugin-import-newlines": "^1.4.0",
|
|
103
|
-
"eslint-plugin-import-x": "^4.
|
|
104
|
-
"eslint-plugin-jsdoc": "^50.6.
|
|
105
|
-
"eslint-plugin-jsonc": "^2.20.
|
|
103
|
+
"eslint-plugin-import-x": "^4.13.3",
|
|
104
|
+
"eslint-plugin-jsdoc": "^50.6.17",
|
|
105
|
+
"eslint-plugin-jsonc": "^2.20.1",
|
|
106
106
|
"eslint-plugin-markdown": "^5.1.0",
|
|
107
|
-
"eslint-plugin-perfectionist": "^4.
|
|
107
|
+
"eslint-plugin-perfectionist": "^4.13.0",
|
|
108
108
|
"eslint-plugin-unicorn": "^59.0.1",
|
|
109
109
|
"eslint-plugin-unused-imports": "^4.1.4",
|
|
110
110
|
"eslint-plugin-vitest": "^0.5.4",
|
|
111
111
|
"eslint-plugin-yml": "^1.18.0",
|
|
112
|
-
"markdownlint-cli2": "^0.
|
|
112
|
+
"markdownlint-cli2": "^0.18.1",
|
|
113
113
|
"vite-tsconfig-paths": "^5.1.4",
|
|
114
114
|
"vitest-github-actions-reporter": "^0.11.1",
|
|
115
115
|
"yaml-eslint-parser": "^1.3.0"
|
|
116
116
|
},
|
|
117
117
|
"optionalDependencies": {
|
|
118
|
-
"eslint-plugin-
|
|
118
|
+
"eslint-plugin-better-tailwindcss": "^3.0.0-beta.0"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@types/node": "^22.15.
|
|
121
|
+
"@types/node": "^22.15.21",
|
|
122
122
|
"changelogen": "^0.6.1",
|
|
123
|
-
"cspell": "^9.0.
|
|
124
|
-
"eslint": "^9.
|
|
123
|
+
"cspell": "^9.0.2",
|
|
124
|
+
"eslint": "^9.27.0",
|
|
125
125
|
"markdownlint": "^0.38.0",
|
|
126
126
|
"vite": "^6.3.5",
|
|
127
|
-
"vitest": "^3.1.
|
|
127
|
+
"vitest": "^3.1.4"
|
|
128
128
|
},
|
|
129
129
|
"keywords": []
|
|
130
130
|
}
|