@pobammer-ts/small-rules 2.16.1 → 2.18.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.
@@ -103,3 +103,42 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
103
103
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
104
104
  SOFTWARE.
105
105
  ```
106
+
107
+ ---
108
+
109
+ ## 3. `eslint-plugin-roblox-ts`
110
+
111
+ - **Source:** <https://github.com/roblox-ts/eslint-plugin-roblox-ts>
112
+ - **Vendored commit:** `e1581d4f3d83a3d05b015a0a216507c3a20016de`
113
+ - **Copyright:** Copyright (c) 2025-PRESENT roblox-ts
114
+ - **License:** MIT
115
+
116
+ Vendored into `src/rules/roblox/`, adapted rather than verbatim:
117
+
118
+ | This project | Upstream |
119
+ | --- | --- |
120
+ | `no-unsupported-syntax.ts` | `src/rules/no-unsupported-syntax/rule.ts` |
121
+
122
+ ```text
123
+ MIT License
124
+
125
+ Copyright (c) 2025-PRESENT roblox-ts
126
+
127
+ Permission is hereby granted, free of charge, to any person obtaining a copy
128
+ of this software and associated documentation files (the "Software"), to deal
129
+ in the Software without restriction, including without limitation the rights
130
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
131
+ copies of the Software, and to permit persons to whom the Software is
132
+ furnished to do so, subject to the following conditions:
133
+
134
+ The above copyright notice and this permission notice shall be included in all
135
+ copies or substantial portions of the Software.
136
+
137
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
138
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
139
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
140
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
141
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
142
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
143
+ SOFTWARE.
144
+ ```
package/dist/index.d.ts CHANGED
@@ -53,6 +53,32 @@
53
53
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
54
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
55
  * SOFTWARE.
56
+ *
57
+ * eslint-plugin-roblox-ts <https://github.com/roblox-ts/eslint-plugin-roblox-ts>
58
+ * Copyright (c) 2025-PRESENT roblox-ts
59
+ * SPDX-License-Identifier: MIT
60
+ *
61
+ * MIT License
62
+ *
63
+ * Copyright (c) 2025-PRESENT roblox-ts
64
+ *
65
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
66
+ * of this software and associated documentation files (the "Software"), to deal
67
+ * in the Software without restriction, including without limitation the rights
68
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
69
+ * copies of the Software, and to permit persons to whom the Software is
70
+ * furnished to do so, subject to the following conditions:
71
+ *
72
+ * The above copyright notice and this permission notice shall be included in all
73
+ * copies or substantial portions of the Software.
74
+ *
75
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
76
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
77
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
78
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
79
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
80
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
81
+ * SOFTWARE.
56
82
  */
57
83
  //#region src/rules/react/no-useless-use-memo.d.ts
58
84
  declare const enum DependencyMode {
@@ -447,7 +473,21 @@ declare const smallRules: import("oxlint-plugin-utilities").Plugin<{
447
473
  };
448
474
  readonly type: "object";
449
475
  }], "avoidChainingStateUpdates", undefined>;
450
- "no-chained-type-assertions": import("oxlint-plugin-utilities").CreateOnceRule<undefined, "chained", undefined>;
476
+ "no-chained-type-assertions": import("oxlint-plugin-utilities").CreateOnceRule<readonly [{
477
+ readonly additionalProperties: false;
478
+ readonly properties: {
479
+ readonly allowedTargets: {
480
+ readonly default: readonly [];
481
+ readonly description: "Identifier names allowed as the final target of a single `as unknown/any/never as T` bridge, e.g. `vector` or `Vector3`.";
482
+ readonly items: {
483
+ readonly type: "string";
484
+ };
485
+ readonly type: "array";
486
+ readonly uniqueItems: true;
487
+ };
488
+ };
489
+ readonly type: "object";
490
+ }], "chained", undefined>;
451
491
  "no-color3-constructor": import("oxlint-plugin-utilities").CreateRule<readonly [{
452
492
  readonly additionalProperties: false;
453
493
  readonly properties: {
@@ -806,6 +846,37 @@ declare const smallRules: import("oxlint-plugin-utilities").Plugin<{
806
846
  "no-unknown-returns": import("oxlint-plugin-utilities").CreateOnceRule<undefined, "unknownReturn", undefined>;
807
847
  "no-unknown-type-aliases": import("oxlint-plugin-utilities").CreateOnceRule<undefined, "unknownAlias", undefined>;
808
848
  "no-unsafe-dictionary-type": import("oxlint-plugin-utilities").CreateOnceRule<undefined, "unsafeDictionary", undefined>;
849
+ "no-unsupported-syntax": import("oxlint-plugin-utilities").CreateOnceRule<readonly [{
850
+ readonly additionalProperties: false;
851
+ readonly properties: {
852
+ readonly globalThis: {
853
+ readonly default: true;
854
+ readonly description: "Disallow the globalThis identifier.";
855
+ readonly type: "boolean";
856
+ };
857
+ readonly labels: {
858
+ readonly default: true;
859
+ readonly description: "Disallow labeled statements.";
860
+ readonly type: "boolean";
861
+ };
862
+ readonly prototype: {
863
+ readonly default: true;
864
+ readonly description: "Disallow `.prototype` member access.";
865
+ readonly type: "boolean";
866
+ };
867
+ readonly regexLiterals: {
868
+ readonly default: true;
869
+ readonly description: "Disallow regular expression literals.";
870
+ readonly type: "boolean";
871
+ };
872
+ readonly spreadDestructuring: {
873
+ readonly default: true;
874
+ readonly description: "Disallow rest elements in destructuring patterns.";
875
+ readonly type: "boolean";
876
+ };
877
+ };
878
+ readonly type: "object";
879
+ }], "globalThis" | "label" | "prototype" | "regexLiteral" | "spreadDestructuring", undefined>;
809
880
  "no-unused-imports": import("oxlint-plugin-utilities").CreateRule<readonly [{
810
881
  readonly additionalProperties: false;
811
882
  readonly properties: {
@@ -1632,4 +1703,4 @@ declare const smallRules: import("oxlint-plugin-utilities").Plugin<{
1632
1703
  }], "afterEarlyReturn" | "conditionalHook" | "loopHook" | "nestedFunction" | "recursiveHookCall" | "tryBlockHook", undefined>;
1633
1704
  }>;
1634
1705
  //#endregion
1635
- export { smallRules as default };
1706
+ export { DependencyMode, smallRules as default };