@shakuroinc/eslint-config-react 7.1.2 → 7.1.3

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/README.md CHANGED
@@ -32,7 +32,7 @@ pnpm add -D \
32
32
  eslint-plugin-prettier \
33
33
  eslint-plugin-react-hooks \
34
34
  eslint-plugin-simple-import-sort \
35
- eslint-plugin-tailwindcss@4.0.0-alpha.1 \
35
+ eslint-plugin-tailwindcss@4.0.0-beta.0 \
36
36
  globals \
37
37
  prettier \
38
38
  prettier-plugin-tailwindcss \
@@ -188,7 +188,7 @@ The base config sets:
188
188
  | `main: '.eslintrc.js'` | `main: 'eslint.config.js'`, named export `./prettier` |
189
189
  | ESLint ≥ 8.29 | ESLint ≥ 9 |
190
190
  | `eslint-plugin-react@7.31.11`, `react-hooks@4` | `eslint-plugin-react@^7.37` (inherited from your config), `react-hooks@7` |
191
- | `tailwindcss@3.x` plugin, class-order on | `tailwindcss@4.x-alpha` plugin, class-order off (Prettier handles it) |
191
+ | `tailwindcss@3.x` plugin, class-order on | `tailwindcss@4.x` plugin, class-order off (Prettier handles it) |
192
192
  | `@typescript-eslint/padding-line-between-statements` | Stock `padding-line-between-statements` (TS-only selectors dropped — install `@stylistic/eslint-plugin` if you need them) |
193
193
  | `prettier-plugin-tailwindcss@0.2` | `prettier-plugin-tailwindcss@0.8` with `tailwindStylesheet` for v4 |
194
194
 
package/eslint.config.js CHANGED
@@ -240,6 +240,7 @@ const sharedRules = {
240
240
  // tailwindcss
241
241
  // Class order is handled by prettier-plugin-tailwindcss.
242
242
  'tailwindcss/classnames-order': 'off',
243
+ 'tailwindcss/no-contradicting-classname': 'warn',
243
244
  // Consumers override the whitelist via factory options.
244
245
  'tailwindcss/no-custom-classname': ['warn', { whitelist: DEFAULT_TAILWIND_WHITELIST }],
245
246
 
@@ -308,7 +309,7 @@ function shakuroConfig(options = {}) {
308
309
  ...(nextSettings ? { next: nextSettings } : {}),
309
310
  tailwindcss: {
310
311
  callees: tailwindCallees,
311
- ...(tailwindStylesheet ? { cssConfigPath: tailwindStylesheet } : {}),
312
+ ...(tailwindStylesheet ? { config: tailwindStylesheet } : {}),
312
313
  officialSorting: true,
313
314
  },
314
315
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shakuroinc/eslint-config-react",
3
- "version": "7.1.2",
3
+ "version": "7.1.3",
4
4
  "description": "Shakuro shared ESLint + Prettier config (flat config, ESLint 9/10, React 19, Tailwind v4).",
5
5
  "main": "eslint.config.js",
6
6
  "exports": {