@foldkit/oxlint-plugin 0.11.0 → 0.12.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.
- package/all.json +26 -2
- package/dist/guards.d.ts +25 -7
- package/dist/guards.d.ts.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1640 -288
- package/dist/message.d.ts +4 -2
- package/dist/message.d.ts.map +1 -1
- package/dist/rules/command-binding-matches-name.d.ts.map +1 -1
- package/dist/rules/command-define-pascal-const.d.ts.map +1 -1
- package/dist/rules/got-prefix-requires-submodel-payload.d.ts.map +1 -1
- package/dist/rules/got-submodel-message-name.d.ts.map +1 -1
- package/dist/rules/got-wrapper-carries-only-routing.d.ts.map +1 -1
- package/dist/rules/keyed-required-for-mapped-rows.d.ts.map +1 -1
- package/dist/rules/lazy-view-stable-references.d.ts.map +1 -1
- package/dist/rules/mount-factory-must-use-element.d.ts.map +1 -1
- package/dist/rules/no-array-index-view-keys.d.ts.map +1 -1
- package/dist/rules/no-child-message-construction-in-root.d.ts.map +1 -1
- package/dist/rules/no-disabling-dev-guardrails.d.ts.map +1 -1
- package/dist/rules/no-duplicate-onmount-per-element.d.ts.map +1 -1
- package/dist/rules/no-empty-children-array.d.ts.map +1 -1
- package/dist/rules/no-empty-commands-array.d.ts.map +1 -1
- package/dist/rules/no-empty-object-tagged-call.d.ts.map +1 -1
- package/dist/rules/no-empty-to-parent-out-message.d.ts.map +1 -1
- package/dist/rules/no-hardcoded-route-strings.d.ts.map +1 -1
- package/dist/rules/no-impure-call-at-decision-time.d.ts +7 -0
- package/dist/rules/no-impure-call-at-decision-time.d.ts.map +1 -0
- package/dist/rules/no-nonportable-server-globals.d.ts.map +1 -1
- package/dist/rules/no-noop-message.d.ts.map +1 -1
- package/dist/rules/no-raw-dom-event-attributes.d.ts.map +1 -1
- package/dist/rules/no-spread-in-evo.d.ts.map +1 -1
- package/dist/rules/prefer-effect-module-names.d.ts +3 -0
- package/dist/rules/prefer-effect-module-names.d.ts.map +1 -0
- package/dist/rules/require-rel-for-external-link.d.ts.map +1 -1
- package/dist/rules/selection-submodel-factory-at-module-scope.d.ts.map +1 -1
- package/dist/rules/wrap-child-output-in-got-message.d.ts.map +1 -1
- package/package.json +1 -1
- package/recommended.json +26 -2
package/dist/message.d.ts
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import { type ESTree } from 'effect-oxlint';
|
|
1
|
+
import { type ESTree, type Reference } from 'effect-oxlint';
|
|
2
2
|
export type MessageCase = Readonly<{
|
|
3
3
|
name: string;
|
|
4
4
|
nameNode: ESTree.Node;
|
|
5
5
|
fields: ESTree.ObjectExpression;
|
|
6
6
|
}>;
|
|
7
7
|
export declare const recordFoldkitMessageUnionBindings: (bindings: Set<string>, node: ESTree.Node) => void;
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const isFoldkitMessageUnionCall: (node: ESTree.CallExpression, bindings: ReadonlySet<string>, references: WeakMap<ESTree.Node, Reference> | undefined) => boolean;
|
|
9
|
+
export declare const messageCases: (node: ESTree.CallExpression, bindings: ReadonlySet<string>, references: WeakMap<ESTree.Node, Reference> | undefined) => ReadonlyArray<MessageCase>;
|
|
9
10
|
export declare const hasMessagePayloadProperty: (fields: ESTree.ObjectExpression) => boolean;
|
|
11
|
+
export declare const hasSubmodelMessagePayload: (fields: ESTree.ObjectExpression, references: WeakMap<ESTree.Node, Reference> | undefined) => boolean;
|
|
10
12
|
//# sourceMappingURL=message.d.ts.map
|
package/dist/message.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../src/message.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../src/message.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,eAAe,CAAA;AAa3D,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;IACjC,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,IAAI,CAAA;IACrB,MAAM,EAAE,MAAM,CAAC,gBAAgB,CAAA;CAChC,CAAC,CAAA;AAEF,eAAO,MAAM,iCAAiC,aAClC,GAAG,CAAC,MAAM,CAAC,QACf,MAAM,CAAC,IAAI,KAChB,IA0BF,CAAA;AAED,eAAO,MAAM,yBAAyB,SAC9B,MAAM,CAAC,cAAc,YACjB,WAAW,CAAC,MAAM,CAAC,cACjB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,KACtD,OAcF,CAAA;AAED,eAAO,MAAM,YAAY,SACjB,MAAM,CAAC,cAAc,YACjB,WAAW,CAAC,MAAM,CAAC,cACjB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,KACtD,aAAa,CAAC,WAAW,CA4B3B,CAAA;AAED,eAAO,MAAM,yBAAyB,WAC5B,MAAM,CAAC,gBAAgB,KAC9B,OAMA,CAAA;AAiCH,eAAO,MAAM,yBAAyB,WAC5B,MAAM,CAAC,gBAAgB,cACnB,OAAO,CAAC,MAAM,CAAC,IAAI,EAAE,SAAS,CAAC,GAAG,SAAS,KACtD,OAsBF,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-binding-matches-name.d.ts","sourceRoot":"","sources":["../../src/rules/command-binding-matches-name.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command-binding-matches-name.d.ts","sourceRoot":"","sources":["../../src/rules/command-binding-matches-name.ts"],"names":[],"mappings":"AAoDA;;;GAGG;AACH,eAAO,MAAM,yBAAyB,oCAoCpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command-define-pascal-const.d.ts","sourceRoot":"","sources":["../../src/rules/command-define-pascal-const.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"command-define-pascal-const.d.ts","sourceRoot":"","sources":["../../src/rules/command-define-pascal-const.ts"],"names":[],"mappings":"AA2HA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,oCAwBnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"got-prefix-requires-submodel-payload.d.ts","sourceRoot":"","sources":["../../src/rules/got-prefix-requires-submodel-payload.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,gCAAgC,
|
|
1
|
+
{"version":3,"file":"got-prefix-requires-submodel-payload.d.ts","sourceRoot":"","sources":["../../src/rules/got-prefix-requires-submodel-payload.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,gCAAgC,oCAuC3C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"got-submodel-message-name.d.ts","sourceRoot":"","sources":["../../src/rules/got-submodel-message-name.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"got-submodel-message-name.d.ts","sourceRoot":"","sources":["../../src/rules/got-submodel-message-name.ts"],"names":[],"mappings":"AAUA;;;GAGG;AACH,eAAO,MAAM,sBAAsB,oCAuCjC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"got-wrapper-carries-only-routing.d.ts","sourceRoot":"","sources":["../../src/rules/got-wrapper-carries-only-routing.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"got-wrapper-carries-only-routing.d.ts","sourceRoot":"","sources":["../../src/rules/got-wrapper-carries-only-routing.ts"],"names":[],"mappings":"AAiDA;;;GAGG;AACH,eAAO,MAAM,4BAA4B,oCAwDvC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"keyed-required-for-mapped-rows.d.ts","sourceRoot":"","sources":["../../src/rules/keyed-required-for-mapped-rows.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"keyed-required-for-mapped-rows.d.ts","sourceRoot":"","sources":["../../src/rules/keyed-required-for-mapped-rows.ts"],"names":[],"mappings":"AAySA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,oCAkDrC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lazy-view-stable-references.d.ts","sourceRoot":"","sources":["../../src/rules/lazy-view-stable-references.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"lazy-view-stable-references.d.ts","sourceRoot":"","sources":["../../src/rules/lazy-view-stable-references.ts"],"names":[],"mappings":"AAmYA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,oCA6CnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mount-factory-must-use-element.d.ts","sourceRoot":"","sources":["../../src/rules/mount-factory-must-use-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"mount-factory-must-use-element.d.ts","sourceRoot":"","sources":["../../src/rules/mount-factory-must-use-element.ts"],"names":[],"mappings":"AA0PA,oPAAoP;AACpP,eAAO,MAAM,0BAA0B,oCA+BrC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-array-index-view-keys.d.ts","sourceRoot":"","sources":["../../src/rules/no-array-index-view-keys.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-array-index-view-keys.d.ts","sourceRoot":"","sources":["../../src/rules/no-array-index-view-keys.ts"],"names":[],"mappings":"AA+PA;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,oCAoF/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-child-message-construction-in-root.d.ts","sourceRoot":"","sources":["../../src/rules/no-child-message-construction-in-root.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-child-message-construction-in-root.d.ts","sourceRoot":"","sources":["../../src/rules/no-child-message-construction-in-root.ts"],"names":[],"mappings":"AA4VA;;;GAGG;AACH,eAAO,MAAM,gCAAgC,oCA0C3C,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-disabling-dev-guardrails.d.ts","sourceRoot":"","sources":["../../src/rules/no-disabling-dev-guardrails.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-disabling-dev-guardrails.d.ts","sourceRoot":"","sources":["../../src/rules/no-disabling-dev-guardrails.ts"],"names":[],"mappings":"AAuFA,+PAA+P;AAC/P,eAAO,MAAM,wBAAwB,oCAsCnC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-duplicate-onmount-per-element.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-onmount-per-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-duplicate-onmount-per-element.d.ts","sourceRoot":"","sources":["../../src/rules/no-duplicate-onmount-per-element.ts"],"names":[],"mappings":"AA+BA,uNAAuN;AACvN,eAAO,MAAM,4BAA4B,oCAwBvC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-empty-children-array.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-children-array.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-empty-children-array.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-children-array.ts"],"names":[],"mappings":"AAgGA,wPAAwP;AACxP,eAAO,MAAM,oBAAoB,oCAkD/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-empty-commands-array.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-commands-array.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-empty-commands-array.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-commands-array.ts"],"names":[],"mappings":"AAgDA;;;2EAG2E;AAC3E,eAAO,MAAM,oBAAoB,oCAyE/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-empty-object-tagged-call.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-object-tagged-call.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-empty-object-tagged-call.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-object-tagged-call.ts"],"names":[],"mappings":"AAoIA,yEAAyE;AACzE,eAAO,MAAM,uBAAuB,oCAiElC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-empty-to-parent-out-message.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-to-parent-out-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-empty-to-parent-out-message.d.ts","sourceRoot":"","sources":["../../src/rules/no-empty-to-parent-out-message.ts"],"names":[],"mappings":"AAgHA;;;;;GAKG;AACH,eAAO,MAAM,yBAAyB,oCAgFpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-hardcoded-route-strings.d.ts","sourceRoot":"","sources":["../../src/rules/no-hardcoded-route-strings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-hardcoded-route-strings.d.ts","sourceRoot":"","sources":["../../src/rules/no-hardcoded-route-strings.ts"],"names":[],"mappings":"AA0GA;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,oCA8DlC,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flags direct calls to known nondeterministic globals unless they appear in a
|
|
3
|
+
* recognized deferred Effect, Stream, Command, Mount, Subscription, or
|
|
4
|
+
* ManagedResource callback.
|
|
5
|
+
*/
|
|
6
|
+
export declare const noImpureCallAtDecisionTime: import("effect-oxlint").CreateRule;
|
|
7
|
+
//# sourceMappingURL=no-impure-call-at-decision-time.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"no-impure-call-at-decision-time.d.ts","sourceRoot":"","sources":["../../src/rules/no-impure-call-at-decision-time.ts"],"names":[],"mappings":"AA8yBA;;;;GAIG;AACH,eAAO,MAAM,0BAA0B,oCAyCrC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-nonportable-server-globals.d.ts","sourceRoot":"","sources":["../../src/rules/no-nonportable-server-globals.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-nonportable-server-globals.d.ts","sourceRoot":"","sources":["../../src/rules/no-nonportable-server-globals.ts"],"names":[],"mappings":"AA+EA;;GAEG;AACH,eAAO,MAAM,0BAA0B,oCAuErC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-noop-message.d.ts","sourceRoot":"","sources":["../../src/rules/no-noop-message.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"no-noop-message.d.ts","sourceRoot":"","sources":["../../src/rules/no-noop-message.ts"],"names":[],"mappings":"AAMA;;;GAGG;AACH,eAAO,MAAM,aAAa,oCAsCxB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-raw-dom-event-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-raw-dom-event-attributes.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-raw-dom-event-attributes.d.ts","sourceRoot":"","sources":["../../src/rules/no-raw-dom-event-attributes.ts"],"names":[],"mappings":"AAkMA;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,oCAkClC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no-spread-in-evo.d.ts","sourceRoot":"","sources":["../../src/rules/no-spread-in-evo.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"no-spread-in-evo.d.ts","sourceRoot":"","sources":["../../src/rules/no-spread-in-evo.ts"],"names":[],"mappings":"AAmHA,6LAA6L;AAC7L,eAAO,MAAM,aAAa,oCA6BxB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prefer-effect-module-names.d.ts","sourceRoot":"","sources":["../../src/rules/prefer-effect-module-names.ts"],"names":[],"mappings":"AAyLA,uEAAuE;AACvE,eAAO,MAAM,uBAAuB,oCAkDlC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"require-rel-for-external-link.d.ts","sourceRoot":"","sources":["../../src/rules/require-rel-for-external-link.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"require-rel-for-external-link.d.ts","sourceRoot":"","sources":["../../src/rules/require-rel-for-external-link.ts"],"names":[],"mappings":"AA8DA;;;;GAIG;AACH,eAAO,MAAM,yBAAyB,oCAsEpC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"selection-submodel-factory-at-module-scope.d.ts","sourceRoot":"","sources":["../../src/rules/selection-submodel-factory-at-module-scope.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"selection-submodel-factory-at-module-scope.d.ts","sourceRoot":"","sources":["../../src/rules/selection-submodel-factory-at-module-scope.ts"],"names":[],"mappings":"AA8MA;;;;GAIG;AACH,eAAO,MAAM,qCAAqC,oCAkChD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrap-child-output-in-got-message.d.ts","sourceRoot":"","sources":["../../src/rules/wrap-child-output-in-got-message.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"wrap-child-output-in-got-message.d.ts","sourceRoot":"","sources":["../../src/rules/wrap-child-output-in-got-message.ts"],"names":[],"mappings":"AAsRA;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,oCAgDtC,CAAA"}
|
package/package.json
CHANGED
package/recommended.json
CHANGED
|
@@ -24,12 +24,14 @@
|
|
|
24
24
|
"foldkit/no-empty-object-tagged-call": "error",
|
|
25
25
|
"foldkit/no-hand-rolled-command-struct": "error",
|
|
26
26
|
"foldkit/no-hardcoded-route-strings": "error",
|
|
27
|
+
"foldkit/no-impure-call-at-decision-time": "error",
|
|
27
28
|
"foldkit/no-module-level-mutable-state": "error",
|
|
28
29
|
"foldkit/no-nonportable-server-globals": "off",
|
|
29
30
|
"foldkit/no-noop-message": "error",
|
|
30
31
|
"foldkit/no-raw-dom-event-attributes": "error",
|
|
31
32
|
"foldkit/no-spread-in-evo": "error",
|
|
32
33
|
"foldkit/prefer-callable-message-constructor": "error",
|
|
34
|
+
"foldkit/prefer-effect-module-names": "error",
|
|
33
35
|
"foldkit/require-rel-for-external-link": "error",
|
|
34
36
|
"foldkit/selection-submodel-factory-at-module-scope": "error",
|
|
35
37
|
"foldkit/wrap-child-output-in-got-message": "error"
|
|
@@ -41,7 +43,8 @@
|
|
|
41
43
|
"**/entry.server.tsx",
|
|
42
44
|
"**/server/**/*.ts",
|
|
43
45
|
"**/server/**/*.tsx",
|
|
44
|
-
"**/prerender.ts"
|
|
46
|
+
"**/prerender.ts",
|
|
47
|
+
"**/prerender.tsx"
|
|
45
48
|
],
|
|
46
49
|
"excludeFiles": [
|
|
47
50
|
"**/*.test.ts",
|
|
@@ -50,7 +53,27 @@
|
|
|
50
53
|
"**/*.spec.tsx"
|
|
51
54
|
],
|
|
52
55
|
"rules": {
|
|
53
|
-
"foldkit/no-nonportable-server-globals": "error"
|
|
56
|
+
"foldkit/no-nonportable-server-globals": "error",
|
|
57
|
+
"foldkit/no-impure-call-at-decision-time": "off"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"files": [
|
|
62
|
+
"**/entry.ts",
|
|
63
|
+
"**/entry.tsx",
|
|
64
|
+
"**/entry.client.ts",
|
|
65
|
+
"**/entry.client.tsx",
|
|
66
|
+
"**/entry.server.ts",
|
|
67
|
+
"**/entry.server.tsx"
|
|
68
|
+
],
|
|
69
|
+
"excludeFiles": [
|
|
70
|
+
"**/*.test.ts",
|
|
71
|
+
"**/*.test.tsx",
|
|
72
|
+
"**/*.spec.ts",
|
|
73
|
+
"**/*.spec.tsx"
|
|
74
|
+
],
|
|
75
|
+
"rules": {
|
|
76
|
+
"foldkit/no-impure-call-at-decision-time": "off"
|
|
54
77
|
}
|
|
55
78
|
},
|
|
56
79
|
{
|
|
@@ -79,6 +102,7 @@
|
|
|
79
102
|
"foldkit/no-empty-object-tagged-call": "off",
|
|
80
103
|
"foldkit/no-hand-rolled-command-struct": "off",
|
|
81
104
|
"foldkit/no-hardcoded-route-strings": "off",
|
|
105
|
+
"foldkit/no-impure-call-at-decision-time": "off",
|
|
82
106
|
"foldkit/no-module-level-mutable-state": "off",
|
|
83
107
|
"foldkit/no-nonportable-server-globals": "off",
|
|
84
108
|
"foldkit/no-noop-message": "off",
|