@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.
- package/dist/drizzle.d.mts +1 -1
- package/dist/drizzle.mjs +2 -2
- package/dist/{index-D1qDt581.d.mts → index-C_YjgAV0.d.mts} +3 -3
- package/dist/react.mjs +2 -2
- package/dist/react.mjs.map +1 -1
- package/dist/remotion.d.mts +1 -1
- package/dist/remotion.mjs +2 -2
- package/dist/tanstack-query.d.mts +1 -1
- package/dist/tanstack-query.mjs +2 -2
- package/dist/tanstack-query.mjs.map +1 -1
- package/dist/tanstack-router.d.mts +1 -1
- package/dist/tanstack-router.mjs +2 -2
- package/dist/tanstack-router.mjs.map +1 -1
- package/dist/tanstack-start.mjs +3 -2
- package/dist/tanstack-start.mjs.map +1 -1
- package/dist/{typescript-eslint-utils-Km-YrWgU.mjs → typescript-eslint-utils-B8zxXMN2.mjs} +2 -2
- package/dist/{typescript-eslint-utils-Km-YrWgU.mjs.map → typescript-eslint-utils-B8zxXMN2.mjs.map} +1 -1
- package/dist/{upstream-plugin-DzQudgu5.mjs → upstream-plugin-8wLKFW1s.mjs} +3 -2
- package/dist/upstream-plugin-8wLKFW1s.mjs.map +1 -0
- package/dist/{eslint-utils-wD9mdhio.mjs → usage-meter-Dh3a__gr.mjs} +162 -2
- package/dist/usage-meter-Dh3a__gr.mjs.map +1 -0
- package/package.json +20 -35
- package/dist/eslint-utils-wD9mdhio.mjs.map +0 -1
- package/dist/upstream-plugin-DzQudgu5.mjs.map +0 -1
package/dist/drizzle.d.mts
CHANGED
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-
|
|
3
|
-
import { n as upstreamPlugin, t as plainRules } from "./upstream-plugin-
|
|
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-
|
|
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
|
|
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
|
|