@schoero/configs 1.2.16 → 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.
Files changed (2) hide show
  1. package/eslint/tailwind.js +11 -9
  2. package/package.json +25 -25
@@ -1,6 +1,6 @@
1
- import eslintPluginReadableTailwind from "eslint-plugin-readable-tailwind";
2
- import { getDefaultVariables } from "eslint-plugin-readable-tailwind/api/defaults";
3
- import { MatcherType } from "eslint-plugin-readable-tailwind/api/types";
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-readable-tailwind": eslintPluginReadableTailwind
11
+ "eslint-plugin-better-tailwindcss": eslintPluginBetterTailwindcss
12
12
  },
13
13
  rules: {
14
- "eslint-plugin-readable-tailwind/multiline": ["warn", { printWidth: 119, group: "newLine" }],
15
- "eslint-plugin-readable-tailwind/no-unnecessary-whitespace": "warn",
16
- "eslint-plugin-readable-tailwind/sort-classes": "warn",
17
- "eslint-plugin-readable-tailwind/no-duplicate-classes": "warn"
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-readable-tailwind": {
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.16",
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.2.0",
42
+ "@stylistic/eslint-plugin-jsx": "^4.4.0",
43
43
  "changelogen": "^0.6.1",
44
- "cspell": "^9.0.0",
45
- "eslint": "^9.26.0",
44
+ "cspell": "^9.0.2",
45
+ "eslint": "^9.27.0",
46
46
  "markdownlint": "^0.38.0",
47
47
  "unwritten": "^0.2.14",
48
48
  "vite": "^6.3.5",
49
- "vitest": "^3.1.3"
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.7",
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.3",
91
+ "@cspell/dict-npm": "^5.2.4",
92
92
  "@cspell/dict-public-licenses": "^2.0.13",
93
- "@cspell/dict-software-terms": "^5.0.8",
93
+ "@cspell/dict-software-terms": "^5.0.10",
94
94
  "@cspell/dict-typescript": "^3.2.1",
95
- "@stylistic/eslint-plugin-js": "^4.2.0",
96
- "@stylistic/eslint-plugin-jsx": "^4.2.0",
97
- "@stylistic/eslint-plugin-plus": "^4.2.0",
98
- "@stylistic/eslint-plugin-ts": "^4.2.0",
99
- "@typescript-eslint/eslint-plugin": "^8.32.0",
100
- "@typescript-eslint/parser": "^8.32.0",
101
- "cspell-lib": "^9.0.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.11.0",
104
- "eslint-plugin-jsdoc": "^50.6.11",
105
- "eslint-plugin-jsonc": "^2.20.0",
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.12.3",
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.17.2",
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-readable-tailwind": "^2.1.1"
118
+ "eslint-plugin-better-tailwindcss": "^3.0.0-beta.0"
119
119
  },
120
120
  "devDependencies": {
121
- "@types/node": "^22.15.15",
121
+ "@types/node": "^22.15.21",
122
122
  "changelogen": "^0.6.1",
123
- "cspell": "^9.0.0",
124
- "eslint": "^9.26.0",
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.3"
127
+ "vitest": "^3.1.4"
128
128
  },
129
129
  "keywords": []
130
130
  }