@arrirpc/eslint-plugin 0.76.3 → 0.76.4

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
@@ -26,12 +26,12 @@ This turns all of the `@arrirpc/eslint` rules on.
26
26
 
27
27
  ```js
28
28
  // eslint.config.js
29
- import arri from "@arrirpc/eslint-plugin/configs";
29
+ import arri from '@arrirpc/eslint-plugin/configs';
30
30
 
31
31
  export default [
32
32
  arri.recommended,
33
33
  {
34
- files: ["src/**/*.ts"], // you will still need to tell eslint which files to lint like so
34
+ files: ['src/**/*.ts'], // you will still need to tell eslint which files to lint like so
35
35
  },
36
36
  ];
37
37
  ```
@@ -42,7 +42,7 @@ The plugin can be enabled in flat file configs like so.
42
42
 
43
43
  ```js
44
44
  // eslint.config.js
45
- import arri from "@arrirpc/eslint";
45
+ import arri from '@arrirpc/eslint';
46
46
 
47
47
  export default [
48
48
  {
@@ -51,13 +51,13 @@ export default [
51
51
  },
52
52
  rules: {
53
53
  // check to see if an ID has been assigned to root a.object() schemas
54
- "arri/no-anonymous-object": 2,
54
+ 'arri/no-anonymous-object': 2,
55
55
  // check to see if an ID has been assigned to a.enumerator() or a.stringEnum() schemas
56
- "arri/no-anonymous-enumerator": 2,
56
+ 'arri/no-anonymous-enumerator': 2,
57
57
  // check to see if an ID has been assigned to a.discriminator() schemas
58
- "arri/no-anonymous-discriminator": 2,
58
+ 'arri/no-anonymous-discriminator': 2,
59
59
  // check to see if an ID has been assigned to a.recursive() schemas
60
- "arri/no-anonymous-recursive": 2,
60
+ 'arri/no-anonymous-recursive': 2,
61
61
  },
62
62
  },
63
63
  ];
@@ -22,4 +22,5 @@ declare const flatConfigs: {
22
22
  };
23
23
  };
24
24
 
25
- export { flatConfigs as default, flatConfigs };
25
+ export = flatConfigs;
26
+ export { flatConfigs };
package/dist/configs.d.ts CHANGED
@@ -22,4 +22,5 @@ declare const flatConfigs: {
22
22
  };
23
23
  };
24
24
 
25
- export { flatConfigs as default, flatConfigs };
25
+ export = flatConfigs;
26
+ export { flatConfigs };
package/dist/plugin.d.cts CHANGED
@@ -23,4 +23,5 @@ declare const _default: {
23
23
  };
24
24
  };
25
25
 
26
- export { configs, _default as default, meta, rules };
26
+ export = _default;
27
+ export { configs, meta, rules };
package/dist/plugin.d.ts CHANGED
@@ -23,4 +23,5 @@ declare const _default: {
23
23
  };
24
24
  };
25
25
 
26
- export { configs, _default as default, meta, rules };
26
+ export = _default;
27
+ export { configs, meta, rules };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arrirpc/eslint-plugin",
3
- "version": "0.76.3",
3
+ "version": "0.76.4",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "author": {