@acfatah/eslint-preset 1.4.1 → 2.0.1

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/dist/index.d.ts CHANGED
@@ -9,14 +9,19 @@ export declare const betterTailwindcssPlugin: {
9
9
  [x: string]: {
10
10
  plugins: string[];
11
11
  rules: {
12
- [x: string]: "error" | "warn";
12
+ [x: string]: "warn" | "error";
13
+ };
14
+ } | {
15
+ plugins: {};
16
+ rules: {
17
+ [x: string]: "warn" | "error";
13
18
  };
14
19
  };
15
20
  };
16
21
  meta: {
17
22
  name: string;
18
23
  };
19
- rules: {};
24
+ rules: Record<string, import("eslint").JSRuleDefinition>;
20
25
  };
21
26
  };
22
27
  /**
@@ -75,7 +80,79 @@ export declare const tailwind: {
75
80
  }
76
81
  ];
77
82
  "better-tailwindcss/no-restricted-classes": "off";
78
- "better-tailwindcss/no-unregistered-classes": "off";
83
+ "better-tailwindcss/no-unknown-classes": "off";
84
+ } | {
85
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
86
+ "warn",
87
+ {
88
+ printWidth: number;
89
+ }
90
+ ];
91
+ "better-tailwindcss/no-restricted-classes": "off";
92
+ "better-tailwindcss/no-unknown-classes": "off";
93
+ } | {
94
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
95
+ "warn",
96
+ {
97
+ printWidth: number;
98
+ }
99
+ ];
100
+ "better-tailwindcss/no-restricted-classes": "off";
101
+ "better-tailwindcss/no-unknown-classes": "off";
102
+ } | {
103
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
104
+ "warn",
105
+ {
106
+ printWidth: number;
107
+ }
108
+ ];
109
+ "better-tailwindcss/no-restricted-classes": "off";
110
+ "better-tailwindcss/no-unknown-classes": "off";
111
+ } | {
112
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
113
+ "warn",
114
+ {
115
+ printWidth: number;
116
+ }
117
+ ];
118
+ "better-tailwindcss/no-restricted-classes": "off";
119
+ "better-tailwindcss/no-unknown-classes": "off";
120
+ } | {
121
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
122
+ "warn",
123
+ {
124
+ printWidth: number;
125
+ }
126
+ ];
127
+ "better-tailwindcss/no-restricted-classes": "off";
128
+ "better-tailwindcss/no-unknown-classes": "off";
129
+ } | {
130
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
131
+ "warn",
132
+ {
133
+ printWidth: number;
134
+ }
135
+ ];
136
+ "better-tailwindcss/no-restricted-classes": "off";
137
+ "better-tailwindcss/no-unknown-classes": "off";
138
+ } | {
139
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
140
+ "warn",
141
+ {
142
+ printWidth: number;
143
+ }
144
+ ];
145
+ "better-tailwindcss/no-restricted-classes": "off";
146
+ "better-tailwindcss/no-unknown-classes": "off";
147
+ } | {
148
+ "better-tailwindcss/enforce-consistent-line-wrapping": [
149
+ "warn",
150
+ {
151
+ printWidth: number;
152
+ }
153
+ ];
154
+ "better-tailwindcss/no-restricted-classes": "off";
155
+ "better-tailwindcss/no-unknown-classes": "off";
79
156
  };
80
157
  /**
81
158
  * Eslint preset for Vue.js files.
package/dist/index.mjs CHANGED
@@ -50,7 +50,7 @@ var tailwind = {
50
50
  printWidth: 100
51
51
  }],
52
52
  "better-tailwindcss/no-restricted-classes": "off",
53
- "better-tailwindcss/no-unregistered-classes": "off"
53
+ "better-tailwindcss/no-unknown-classes": "off"
54
54
  };
55
55
  // src/rules/vue.ts
56
56
  var vue = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@acfatah/eslint-preset",
3
3
  "type": "module",
4
- "version": "1.4.1",
4
+ "version": "2.0.1",
5
5
  "description": "Eslint config preset.",
6
6
  "author": "Achmad F. Ibrahim <acfatah@gmail.com>",
7
7
  "license": "MIT",
@@ -44,16 +44,16 @@
44
44
  "@antfu/eslint-config": "^6.7.3",
45
45
  "@eslint/markdown": "^7.5.1",
46
46
  "eslint": "^9.39.2",
47
- "eslint-plugin-better-tailwindcss": "^3.8.0",
48
- "eslint-plugin-format": "^1.2.0",
49
- "eslint-plugin-vue": "^10.6.2",
47
+ "eslint-plugin-better-tailwindcss": "^4.0.1",
48
+ "eslint-plugin-format": "^1.3.1",
49
+ "eslint-plugin-vue": "^10.7.0",
50
50
  "jiti": "^2.6.1"
51
51
  },
52
52
  "devDependencies": {
53
- "@commitlint/cli": "^20.3.0",
54
- "@commitlint/config-conventional": "^20.3.0",
55
- "@types/bun": "^1.3.5",
56
- "bumpp": "^10.3.2",
53
+ "@commitlint/cli": "^20.3.1",
54
+ "@commitlint/config-conventional": "^20.3.1",
55
+ "@types/bun": "^1.3.6",
56
+ "bumpp": "^10.4.0",
57
57
  "bun-plugin-dts": "^0.3.0",
58
58
  "simple-git-hooks": "^2.13.1"
59
59
  },