@sarj/eslint-plugin 9.3.0 → 9.4.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/README.md +1 -0
- package/dist/index.cjs +521 -357
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +516 -352
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -185,6 +185,9 @@ declare const rules: {
|
|
|
185
185
|
"no-declaration-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
186
186
|
name: string;
|
|
187
187
|
};
|
|
188
|
+
"no-union-in-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"unionInComment", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
189
|
+
name: string;
|
|
190
|
+
};
|
|
188
191
|
"no-type-member-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
189
192
|
name: string;
|
|
190
193
|
};
|
|
@@ -298,6 +301,7 @@ declare const recommendedRules: {
|
|
|
298
301
|
readonly "@sarj/no-tautological-expect": "warn";
|
|
299
302
|
readonly "@sarj/no-trailing-value-narration": "warn";
|
|
300
303
|
readonly "@sarj/no-declaration-comment-wall": "warn";
|
|
304
|
+
readonly "@sarj/no-union-in-comment": "warn";
|
|
301
305
|
readonly "@sarj/no-type-member-comment-wall": "warn";
|
|
302
306
|
readonly "@sarj/no-unnecessary-use-client": "warn";
|
|
303
307
|
readonly "@sarj/no-unsafe-mock-casting": "warn";
|
|
@@ -354,6 +358,7 @@ declare const strictRules: {
|
|
|
354
358
|
readonly "@sarj/no-tautological-expect": "error";
|
|
355
359
|
readonly "@sarj/no-trailing-value-narration": "error";
|
|
356
360
|
readonly "@sarj/no-declaration-comment-wall": "error";
|
|
361
|
+
readonly "@sarj/no-union-in-comment": "error";
|
|
357
362
|
readonly "@sarj/no-type-member-comment-wall": "error";
|
|
358
363
|
readonly "@sarj/no-unnecessary-use-client": "error";
|
|
359
364
|
readonly "@sarj/no-unsafe-mock-casting": "error";
|
|
@@ -392,7 +397,7 @@ type FlatPreset = {
|
|
|
392
397
|
declare const plugin: {
|
|
393
398
|
meta: {
|
|
394
399
|
readonly name: "@sarj/eslint-plugin";
|
|
395
|
-
readonly version: "9.
|
|
400
|
+
readonly version: "9.4.0";
|
|
396
401
|
};
|
|
397
402
|
rules: {
|
|
398
403
|
"enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
@@ -490,6 +495,9 @@ declare const plugin: {
|
|
|
490
495
|
"no-declaration-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
491
496
|
name: string;
|
|
492
497
|
};
|
|
498
|
+
"no-union-in-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"unionInComment", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
499
|
+
name: string;
|
|
500
|
+
};
|
|
493
501
|
"no-type-member-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
494
502
|
name: string;
|
|
495
503
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -185,6 +185,9 @@ declare const rules: {
|
|
|
185
185
|
"no-declaration-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
186
186
|
name: string;
|
|
187
187
|
};
|
|
188
|
+
"no-union-in-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"unionInComment", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
189
|
+
name: string;
|
|
190
|
+
};
|
|
188
191
|
"no-type-member-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
189
192
|
name: string;
|
|
190
193
|
};
|
|
@@ -298,6 +301,7 @@ declare const recommendedRules: {
|
|
|
298
301
|
readonly "@sarj/no-tautological-expect": "warn";
|
|
299
302
|
readonly "@sarj/no-trailing-value-narration": "warn";
|
|
300
303
|
readonly "@sarj/no-declaration-comment-wall": "warn";
|
|
304
|
+
readonly "@sarj/no-union-in-comment": "warn";
|
|
301
305
|
readonly "@sarj/no-type-member-comment-wall": "warn";
|
|
302
306
|
readonly "@sarj/no-unnecessary-use-client": "warn";
|
|
303
307
|
readonly "@sarj/no-unsafe-mock-casting": "warn";
|
|
@@ -354,6 +358,7 @@ declare const strictRules: {
|
|
|
354
358
|
readonly "@sarj/no-tautological-expect": "error";
|
|
355
359
|
readonly "@sarj/no-trailing-value-narration": "error";
|
|
356
360
|
readonly "@sarj/no-declaration-comment-wall": "error";
|
|
361
|
+
readonly "@sarj/no-union-in-comment": "error";
|
|
357
362
|
readonly "@sarj/no-type-member-comment-wall": "error";
|
|
358
363
|
readonly "@sarj/no-unnecessary-use-client": "error";
|
|
359
364
|
readonly "@sarj/no-unsafe-mock-casting": "error";
|
|
@@ -392,7 +397,7 @@ type FlatPreset = {
|
|
|
392
397
|
declare const plugin: {
|
|
393
398
|
meta: {
|
|
394
399
|
readonly name: "@sarj/eslint-plugin";
|
|
395
|
-
readonly version: "9.
|
|
400
|
+
readonly version: "9.4.0";
|
|
396
401
|
};
|
|
397
402
|
rules: {
|
|
398
403
|
"enforce-file-structure": _typescript_eslint_utils_ts_eslint.RuleModule<"importsFirst" | "useServerDirective", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
@@ -490,6 +495,9 @@ declare const plugin: {
|
|
|
490
495
|
"no-declaration-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
491
496
|
name: string;
|
|
492
497
|
};
|
|
498
|
+
"no-union-in-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"unionInComment", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
499
|
+
name: string;
|
|
500
|
+
};
|
|
493
501
|
"no-type-member-comment-wall": _typescript_eslint_utils_ts_eslint.RuleModule<"commentWall", readonly [Partial<WallOptions>?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
494
502
|
name: string;
|
|
495
503
|
};
|