eslint-plugin-tailwind-variants 2.1.1 → 2.1.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.
@@ -4,22 +4,7 @@
4
4
  */
5
5
  /** @type {PluginConfigs} */
6
6
  export const configs: PluginConfigs;
7
- declare const _default: {
8
- configs: PluginConfigs;
9
- meta: ({
10
- name?: string | undefined;
11
- version?: string | undefined;
12
- } & {
13
- namespace?: string | undefined;
14
- }) | undefined;
15
- rules: {
16
- "limited-inline-classes": import("eslint").Rule.RuleModule;
17
- "require-variants-call-styles-name": import("eslint").Rule.RuleModule;
18
- "require-variants-suffix": import("eslint").Rule.RuleModule;
19
- "sort-custom-properties": import("eslint").Rule.RuleModule;
20
- };
21
- };
22
- export default _default;
7
+ export default defaultExport;
23
8
  export type PluginConfigs = {
24
9
  /**
25
10
  * Recommended ESLint configurations for this plugin.
@@ -28,4 +13,8 @@ export type PluginConfigs = {
28
13
  };
29
14
  /** @type {import("eslint").ESLint.Plugin} */
30
15
  export const plugin: import("eslint").ESLint.Plugin;
16
+ /** @type {import("eslint").ESLint.Plugin & { configs: PluginConfigs }} */
17
+ declare const defaultExport: import("eslint").ESLint.Plugin & {
18
+ configs: PluginConfigs;
19
+ };
31
20
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH,4BAA4B;AAC5B,sBADW,aAAa,CA2BtB;;;;;;;;;;;;;;;;;;;;;iBA9BY,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;;AAX9C,6CAA6C;AAC7C,qBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,CAOvC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":"AAmBA;;;GAGG;AAEH,4BAA4B;AAC5B,sBADW,aAAa,CA2BtB;;;;;;iBA9BY,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE;;AAX9C,6CAA6C;AAC7C,qBADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,CAOvC;AAsCF,0EAA0E;AAC1E,6BADW,OAAO,QAAQ,EAAE,MAAM,CAAC,MAAM,GAAG;IAAE,OAAO,EAAE,aAAa,CAAA;CAAE,CAKpE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-tailwind-variants",
3
- "version": "2.1.1",
3
+ "version": "2.1.2",
4
4
  "description": "ESLint plugin for Tailwind Variants",
5
5
  "keywords": [
6
6
  "eslint",
package/src/index.js CHANGED
@@ -54,8 +54,10 @@ export const configs = {
54
54
  export { plugin };
55
55
 
56
56
  /** @type {import("eslint").ESLint.Plugin & { configs: PluginConfigs }} */
57
- export default {
57
+ const defaultExport = {
58
58
  configs,
59
59
  meta: plugin.meta,
60
60
  rules,
61
61
  };
62
+
63
+ export default defaultExport;