no-mistakes 0.96.0 → 0.97.0

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.
@@ -43,6 +43,7 @@ export interface SqlExecutorProfile {
43
43
  executorFactoryNames: string[];
44
44
  executorTypeNames: string[];
45
45
  trustedSqlTags: { module: string; name: string }[];
46
+ sqlLiteralHelpers?: string[];
46
47
  }
47
48
  /** Zero-based ordinal among enabled applications of the same rule in config order. */
48
49
  export interface SqlRuleApplication {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "no-mistakes",
3
- "version": "0.96.0",
3
+ "version": "0.97.0",
4
4
  "description": "Deterministic impact maps, test plans, Playwright coverage, and repository checks for coding agents",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -65,9 +65,9 @@
65
65
  }
66
66
  },
67
67
  "optionalDependencies": {
68
- "no-mistakes-darwin-arm64": "0.96.0",
69
- "no-mistakes-linux-arm64-gnu": "0.96.0",
70
- "no-mistakes-linux-x64-gnu": "0.96.0",
71
- "no-mistakes-win32-x64-msvc": "0.96.0"
68
+ "no-mistakes-darwin-arm64": "0.97.0",
69
+ "no-mistakes-linux-arm64-gnu": "0.97.0",
70
+ "no-mistakes-linux-x64-gnu": "0.97.0",
71
+ "no-mistakes-win32-x64-msvc": "0.97.0"
72
72
  }
73
73
  }
@@ -0,0 +1,15 @@
1
+ import type { Effort, Unanalyzable } from "./traversal-types";
2
+
3
+ /** Configuration for the `postgres-no-mutable-sql-registry` check rule. */
4
+ export interface PostgresNoMutableSqlRegistryOptions {
5
+ include?: string[];
6
+ exclude?: string[];
7
+ importSpecifier?: string;
8
+ executorNames?: string[];
9
+ executorFactoryNames?: string[];
10
+ executorTypeNames?: string[];
11
+ trustedSqlTags?: { module: string; name: string }[];
12
+ effort?: Effort;
13
+ unanalyzable?: Unanalyzable;
14
+ unanalyzableSql?: Unanalyzable;
15
+ }
@@ -11,6 +11,8 @@ export interface PostgresRequireQueryAnnotationOptions {
11
11
  executorNames?: string[];
12
12
  executorFactoryNames?: string[];
13
13
  executorTypeNames?: string[];
14
+ /** Exact module#export wrappers accepting one string or interpolation-free template literal. */
15
+ sqlLiteralHelpers?: string[];
14
16
  /** @deprecated At effort "low" only; ignored there and warns when configured. Still used at effort "max". */
15
17
  trustedSqlTags?: { module: string; name: string }[];
16
18
  effort?: Effort;
@@ -0,0 +1,15 @@
1
+ import type { Effort, Unanalyzable } from "./traversal-types";
2
+
3
+ /** Configuration for the `postgres-no-unbounded-sql-identifier` check rule. */
4
+ export interface PostgresNoUnboundedSqlIdentifierOptions {
5
+ include?: string[];
6
+ exclude?: string[];
7
+ importSpecifier?: string;
8
+ executorNames?: string[];
9
+ executorFactoryNames?: string[];
10
+ executorTypeNames?: string[];
11
+ trustedSqlTags?: { module: string; name: string }[];
12
+ effort?: Effort;
13
+ unanalyzable?: Unanalyzable;
14
+ unanalyzableSql?: Unanalyzable;
15
+ }
package/types.d.ts CHANGED
@@ -15,7 +15,9 @@ export * from "./named-query-types";
15
15
  export * from "./mermaid-types";
16
16
  export * from "./resolve-config-types";
17
17
  export * from "./postgres-query-annotation-types";
18
+ export type * from "./postgres-unbounded-identifier-types";
18
19
  export * from "./postgres-catalog-types";
19
20
  export * from "./planning-impact-artifacts-types";
20
21
  export * from "./declared-payload-types";
21
22
  export type * from "./forbidden-call-types";
23
+ export type * from "./postgres-mutable-sql-registry-types";