@r_masseater/oxlint-typed-rules 0.6.10 → 0.7.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.
@@ -1,4 +1,4 @@
1
- import { t as UpstreamPlugin } from "./index-D1qDt581.mjs";
1
+ import { t as UpstreamPlugin } from "./index-C_YjgAV0.mjs";
2
2
  export type ConfigName = "all" | "recommended";
3
3
  declare const plugin: UpstreamPlugin<ConfigName>;
4
4
  export { plugin as default };
package/dist/drizzle.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { i as __toCommonJS, t as __commonJSMin } from "./rolldown-runtime-Dn33JYCD.mjs";
2
- import { i as typescript_eslint_utils_exports, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-Km-YrWgU.mjs";
3
- import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-DzQudgu5.mjs";
2
+ import { i as typescript_eslint_utils_exports, r as init_typescript_eslint_utils } from "./typescript-eslint-utils-B8zxXMN2.mjs";
3
+ import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-8wLKFW1s.mjs";
4
4
  var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
5
5
  module.exports = {
6
6
  "name": "eslint-plugin-drizzle",
@@ -2,14 +2,14 @@ import { Option, Record as Record$1, Schema } from "effect";
2
2
  import { CreateRule, Plugin } from "vite-plus/lint/plugins";
3
3
  declare const Severities: Schema.Literals<readonly ["error", "warn", "off"]>;
4
4
  type Severity = typeof Severities.Type;
5
- interface Config {
5
+ interface Config$1 {
6
6
  readonly rules?: Readonly<Record$1<string, Severity>> | undefined;
7
7
  }
8
8
  type UpstreamPlugin<ConfigName extends string> = Plugin & {
9
9
  readonly meta: {
10
10
  readonly name: string;
11
11
  };
12
- readonly configs: Readonly<Record$1<ConfigName, Config>>;
12
+ readonly configs: Readonly<Record$1<ConfigName, Config$1>>;
13
13
  };
14
14
  export { UpstreamPlugin as t };
15
- //# sourceMappingURL=index-D1qDt581.d.mts.map
15
+ //# sourceMappingURL=index-C_YjgAV0.d.mts.map
package/dist/react.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
  import { a as __toESM, t as __commonJSMin } from "./rolldown-runtime-Dn33JYCD.mjs";
2
- import { n as require_dist$2, t as require_eslint_utils$2 } from "./eslint-utils-wD9mdhio.mjs";
2
+ import { n as require_eslint_utils$2, r as require_dist$2, t as usageMeter } from "./usage-meter-Dh3a__gr.mjs";
3
3
  import { t as _typescript_default_default } from "./_typescript-default-Dl1RVMfr.mjs";
4
4
  import { a as withTypeInformation, i as withOptionalTypeInformation, t as isTypedRule } from "./typed-rule-ugUYAIDV.mjs";
5
5
  import { t as rulesOf } from "./config-rules-BuPkk6Kx.mjs";
@@ -32259,7 +32259,7 @@ const withTypes = (rule) => Option.liftPredicate(rule, (candidate) => typeChecke
32259
32259
  const plugin = {
32260
32260
  meta: { name: "@eslint-react" },
32261
32261
  configs,
32262
- rules: pipe(upstreamRules, Record.filter(isTypedRule), Record.map(withTypes))
32262
+ rules: usageMeter(import.meta.url).within("@eslint-react").rules(pipe(upstreamRules, Record.filter(isTypedRule), Record.map(withTypes)))
32263
32263
  };
32264
32264
  export { plugin as default };
32265
32265