@phaicom/eslint-config 0.3.0 → 0.3.2

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
@@ -6,7 +6,7 @@ Personal ESLint configuration preset.
6
6
  - Built on [antfu/eslint-config](https://github.com/antfu/eslint-config)
7
7
  - Enforces curly brackets for all blocks
8
8
  - Custom rule sets for unicorn, stylistic, and Vue
9
- - Tailwind support with [eslint-plugin-readable-tailwind](https://github.com/schoero/eslint-plugin-readable-tailwind)
9
+ - Tailwind support with [eslint-plugin-better-tailwindcss](https://github.com/schoero/eslint-plugin-better-tailwindcss)
10
10
 
11
11
  ## Usage
12
12
 
@@ -97,7 +97,7 @@ To enable Tailwind support and enforce consistent class ordering:
97
97
 
98
98
  1. Install the required plugin:
99
99
  ```bash
100
- pnpm i -D eslint-plugin-readable-tailwind@beta
100
+ pnpm i -D eslint-plugin-better-tailwindcss
101
101
  ```
102
102
 
103
103
  2. Enable Tailwind support in your config:
package/dist/index.js CHANGED
@@ -43,7 +43,8 @@ async function tailwind() {
43
43
  },
44
44
  rules: {
45
45
  // enable all recommended rules to error
46
- ...pluginTailwind.configs["recommended-error"].rules
46
+ ...pluginTailwind.configs["recommended-error"].rules,
47
+ "better-tailwindcss/no-unregistered-classes": "warn"
47
48
  }
48
49
  }
49
50
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@phaicom/eslint-config",
3
3
  "type": "module",
4
- "version": "0.3.0",
4
+ "version": "0.3.2",
5
5
  "description": "Phaicom's config based on @antfu/eslint-config",
6
6
  "author": "Reawpai Chunsoi <reawpai.chunsoi@gmail.com> (https://github.com/phaicom)",
7
7
  "license": "MIT",
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "@antfu/eslint-config": "^4.16.1",
33
- "eslint": "^9.29.0"
33
+ "eslint": "^9.30.0"
34
34
  },
35
35
  "devDependencies": {
36
36
  "@commitlint/cli": "^19.8.1",
37
37
  "@commitlint/config-conventional": "^19.8.1",
38
38
  "bumpp": "^10.2.0",
39
- "eslint-plugin-better-tailwindcss": "^3.4.1",
39
+ "eslint-plugin-better-tailwindcss": "^3.4.2",
40
40
  "eslint-plugin-format": "^1.0.1",
41
41
  "lint-staged": "^16.1.2",
42
42
  "simple-git-hooks": "^2.13.0",