@pobammer-ts/small-rules 2.12.0 → 2.13.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/dist/index.d.ts +11 -1
- package/dist/index.js +10 -10
- package/package.json +15 -15
package/dist/index.d.ts
CHANGED
|
@@ -1107,9 +1107,19 @@ declare const smallRules: import("oxlint-plugin-utilities").Plugin<{
|
|
|
1107
1107
|
};
|
|
1108
1108
|
readonly type: "array";
|
|
1109
1109
|
};
|
|
1110
|
+
readonly inlineFunctionDeclarations: {
|
|
1111
|
+
readonly default: false;
|
|
1112
|
+
readonly description: "Convert effect callbacks that reference a named function declaration into inline named function expressions (standard and sloptor modes only), keeping the effect body visible to dependency analysis.";
|
|
1113
|
+
readonly type: "boolean";
|
|
1114
|
+
};
|
|
1115
|
+
readonly sloptor: {
|
|
1116
|
+
readonly default: false;
|
|
1117
|
+
readonly description: "Compile with sloptor (a Go-based roblox-ts compiler). Sloptor targets @rbxts/react like roblox-ts but supports standard TypeScript features, so the rule applies standard-mode behavior. Use with environment: 'roblox-ts'.";
|
|
1118
|
+
readonly type: "boolean";
|
|
1119
|
+
};
|
|
1110
1120
|
};
|
|
1111
1121
|
readonly type: "object";
|
|
1112
|
-
}], "anonymousFunction" | "arrowFunction" | "asyncAnonymousFunction" | "asyncArrowFunction" | "asyncFunctionDeclaration" | "asyncFunctionExpression" | "functionExpression" | "identifierReferencesArrow" | "identifierReferencesAsyncArrow" | "identifierReferencesAsyncFunction" | "identifierReferencesCallback", undefined>;
|
|
1122
|
+
}], "anonymousFunction" | "arrowFunction" | "asyncAnonymousFunction" | "asyncArrowFunction" | "asyncFunctionDeclaration" | "asyncFunctionExpression" | "functionExpression" | "identifierReferencesArrow" | "identifierReferencesAsyncArrow" | "identifierReferencesAsyncFunction" | "identifierReferencesCallback" | "identifierReferencesFunctionDeclaration", undefined>;
|
|
1113
1123
|
"require-paired-calls": import("oxlint-plugin-utilities").CreateRule<readonly [{
|
|
1114
1124
|
readonly additionalProperties: false;
|
|
1115
1125
|
readonly properties: {
|