@phaicom/eslint-config 0.2.12 → 0.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/dist/index.js +3 -3
  2. package/package.json +11 -11
package/dist/index.js CHANGED
@@ -33,17 +33,17 @@ async function tailwind() {
33
33
  const [
34
34
  pluginTailwind
35
35
  ] = await Promise.all([
36
- interopDefault(import("eslint-plugin-readable-tailwind"))
36
+ interopDefault(import("eslint-plugin-better-tailwindcss"))
37
37
  ]);
38
38
  return [
39
39
  {
40
40
  name: "phaicom/tailwind",
41
41
  plugins: {
42
- "readable-tailwind": pluginTailwind
42
+ "better-tailwindcss": pluginTailwind
43
43
  },
44
44
  rules: {
45
45
  // enable all recommended rules to error
46
- ...pluginTailwind.configs.error.rules
46
+ ...pluginTailwind.configs["recommended-error"].rules
47
47
  }
48
48
  }
49
49
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@phaicom/eslint-config",
3
3
  "type": "module",
4
- "version": "0.2.12",
4
+ "version": "0.3.0",
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",
@@ -21,26 +21,26 @@
21
21
  "node": ">=20"
22
22
  },
23
23
  "peerDependencies": {
24
- "eslint-plugin-readable-tailwind": ">=2.1.1"
24
+ "eslint-plugin-better-tailwindcss": ">=3.4.1"
25
25
  },
26
26
  "peerDependenciesMeta": {
27
- "eslint-plugin-readable-tailwind": {
27
+ "eslint-plugin-better-tailwindcss": {
28
28
  "optional": true
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "@antfu/eslint-config": "^4.12.0",
33
- "eslint": "^9.25.1"
32
+ "@antfu/eslint-config": "^4.16.1",
33
+ "eslint": "^9.29.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@commitlint/cli": "^19.8.0",
37
- "@commitlint/config-conventional": "^19.8.0",
38
- "bumpp": "^10.1.0",
36
+ "@commitlint/cli": "^19.8.1",
37
+ "@commitlint/config-conventional": "^19.8.1",
38
+ "bumpp": "^10.2.0",
39
+ "eslint-plugin-better-tailwindcss": "^3.4.1",
39
40
  "eslint-plugin-format": "^1.0.1",
40
- "eslint-plugin-readable-tailwind": "^2.1.1",
41
- "lint-staged": "^15.5.1",
41
+ "lint-staged": "^16.1.2",
42
42
  "simple-git-hooks": "^2.13.0",
43
- "tsup": "^8.4.0",
43
+ "tsup": "^8.5.0",
44
44
  "typescript": "^5.8.3"
45
45
  },
46
46
  "commitlint": {