@sarj/eslint-plugin 2.12.2 → 2.14.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 +45 -1
- package/dist/index.cjs +1198 -459
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -0
- package/dist/index.d.ts +32 -0
- package/dist/index.js +1142 -403
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/dist/index.d.cts
CHANGED
|
@@ -334,6 +334,18 @@ declare const rules: {
|
|
|
334
334
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
335
335
|
name: string;
|
|
336
336
|
};
|
|
337
|
+
"jsdoc-restates-signature": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesSignature" | "deleteBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
338
|
+
name: string;
|
|
339
|
+
};
|
|
340
|
+
"no-restated-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesLineBelow", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
341
|
+
name: string;
|
|
342
|
+
};
|
|
343
|
+
"trailing-value-narration": _typescript_eslint_utils_ts_eslint.RuleModule<"narratesValue", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
344
|
+
name: string;
|
|
345
|
+
};
|
|
346
|
+
"no-tautological-expect": _typescript_eslint_utils_ts_eslint.RuleModule<"tautologicalComparison" | "tautologicalMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
347
|
+
name: string;
|
|
348
|
+
};
|
|
337
349
|
};
|
|
338
350
|
declare const plugin: {
|
|
339
351
|
meta: {
|
|
@@ -478,6 +490,18 @@ declare const plugin: {
|
|
|
478
490
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
479
491
|
name: string;
|
|
480
492
|
};
|
|
493
|
+
"jsdoc-restates-signature": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesSignature" | "deleteBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
494
|
+
name: string;
|
|
495
|
+
};
|
|
496
|
+
"no-restated-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesLineBelow", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
497
|
+
name: string;
|
|
498
|
+
};
|
|
499
|
+
"trailing-value-narration": _typescript_eslint_utils_ts_eslint.RuleModule<"narratesValue", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
500
|
+
name: string;
|
|
501
|
+
};
|
|
502
|
+
"no-tautological-expect": _typescript_eslint_utils_ts_eslint.RuleModule<"tautologicalComparison" | "tautologicalMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
503
|
+
name: string;
|
|
504
|
+
};
|
|
481
505
|
};
|
|
482
506
|
configs: {
|
|
483
507
|
recommended: {
|
|
@@ -521,6 +545,10 @@ declare const plugin: {
|
|
|
521
545
|
"@sarj/no-dynamic-sql": string;
|
|
522
546
|
"@sarj/no-zod-native-enum": string;
|
|
523
547
|
"@sarj/prefer-module-level-constant": string;
|
|
548
|
+
"@sarj/no-restated-comment": string;
|
|
549
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
550
|
+
"@sarj/trailing-value-narration": string;
|
|
551
|
+
"@sarj/no-tautological-expect": string;
|
|
524
552
|
};
|
|
525
553
|
};
|
|
526
554
|
strict: {
|
|
@@ -569,6 +597,10 @@ declare const plugin: {
|
|
|
569
597
|
"@sarj/no-storage-in-stateless-modules": string;
|
|
570
598
|
"@sarj/no-zod-native-enum": string;
|
|
571
599
|
"@sarj/prefer-module-level-constant": string;
|
|
600
|
+
"@sarj/no-restated-comment": string;
|
|
601
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
602
|
+
"@sarj/trailing-value-narration": string;
|
|
603
|
+
"@sarj/no-tautological-expect": string;
|
|
572
604
|
};
|
|
573
605
|
};
|
|
574
606
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -334,6 +334,18 @@ declare const rules: {
|
|
|
334
334
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
335
335
|
name: string;
|
|
336
336
|
};
|
|
337
|
+
"jsdoc-restates-signature": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesSignature" | "deleteBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
338
|
+
name: string;
|
|
339
|
+
};
|
|
340
|
+
"no-restated-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesLineBelow", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
341
|
+
name: string;
|
|
342
|
+
};
|
|
343
|
+
"trailing-value-narration": _typescript_eslint_utils_ts_eslint.RuleModule<"narratesValue", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
344
|
+
name: string;
|
|
345
|
+
};
|
|
346
|
+
"no-tautological-expect": _typescript_eslint_utils_ts_eslint.RuleModule<"tautologicalComparison" | "tautologicalMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
347
|
+
name: string;
|
|
348
|
+
};
|
|
337
349
|
};
|
|
338
350
|
declare const plugin: {
|
|
339
351
|
meta: {
|
|
@@ -478,6 +490,18 @@ declare const plugin: {
|
|
|
478
490
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
479
491
|
name: string;
|
|
480
492
|
};
|
|
493
|
+
"jsdoc-restates-signature": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesSignature" | "deleteBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
494
|
+
name: string;
|
|
495
|
+
};
|
|
496
|
+
"no-restated-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesLineBelow", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
497
|
+
name: string;
|
|
498
|
+
};
|
|
499
|
+
"trailing-value-narration": _typescript_eslint_utils_ts_eslint.RuleModule<"narratesValue", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
500
|
+
name: string;
|
|
501
|
+
};
|
|
502
|
+
"no-tautological-expect": _typescript_eslint_utils_ts_eslint.RuleModule<"tautologicalComparison" | "tautologicalMatcher", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
503
|
+
name: string;
|
|
504
|
+
};
|
|
481
505
|
};
|
|
482
506
|
configs: {
|
|
483
507
|
recommended: {
|
|
@@ -521,6 +545,10 @@ declare const plugin: {
|
|
|
521
545
|
"@sarj/no-dynamic-sql": string;
|
|
522
546
|
"@sarj/no-zod-native-enum": string;
|
|
523
547
|
"@sarj/prefer-module-level-constant": string;
|
|
548
|
+
"@sarj/no-restated-comment": string;
|
|
549
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
550
|
+
"@sarj/trailing-value-narration": string;
|
|
551
|
+
"@sarj/no-tautological-expect": string;
|
|
524
552
|
};
|
|
525
553
|
};
|
|
526
554
|
strict: {
|
|
@@ -569,6 +597,10 @@ declare const plugin: {
|
|
|
569
597
|
"@sarj/no-storage-in-stateless-modules": string;
|
|
570
598
|
"@sarj/no-zod-native-enum": string;
|
|
571
599
|
"@sarj/prefer-module-level-constant": string;
|
|
600
|
+
"@sarj/no-restated-comment": string;
|
|
601
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
602
|
+
"@sarj/trailing-value-narration": string;
|
|
603
|
+
"@sarj/no-tautological-expect": string;
|
|
572
604
|
};
|
|
573
605
|
};
|
|
574
606
|
};
|