@sarj/eslint-plugin 2.12.1 → 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/README.md +14 -1
- package/dist/index.cjs +1126 -463
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +24 -0
- package/dist/index.d.ts +24 -0
- package/dist/index.js +1070 -407
- package/dist/index.js.map +1 -1
- package/package.json +4 -1
package/dist/index.d.cts
CHANGED
|
@@ -334,6 +334,15 @@ 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
|
+
};
|
|
337
346
|
};
|
|
338
347
|
declare const plugin: {
|
|
339
348
|
meta: {
|
|
@@ -478,6 +487,15 @@ declare const plugin: {
|
|
|
478
487
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
479
488
|
name: string;
|
|
480
489
|
};
|
|
490
|
+
"jsdoc-restates-signature": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesSignature" | "deleteBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
491
|
+
name: string;
|
|
492
|
+
};
|
|
493
|
+
"no-restated-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesLineBelow", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
494
|
+
name: string;
|
|
495
|
+
};
|
|
496
|
+
"trailing-value-narration": _typescript_eslint_utils_ts_eslint.RuleModule<"narratesValue", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
497
|
+
name: string;
|
|
498
|
+
};
|
|
481
499
|
};
|
|
482
500
|
configs: {
|
|
483
501
|
recommended: {
|
|
@@ -521,6 +539,9 @@ declare const plugin: {
|
|
|
521
539
|
"@sarj/no-dynamic-sql": string;
|
|
522
540
|
"@sarj/no-zod-native-enum": string;
|
|
523
541
|
"@sarj/prefer-module-level-constant": string;
|
|
542
|
+
"@sarj/no-restated-comment": string;
|
|
543
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
544
|
+
"@sarj/trailing-value-narration": string;
|
|
524
545
|
};
|
|
525
546
|
};
|
|
526
547
|
strict: {
|
|
@@ -569,6 +590,9 @@ declare const plugin: {
|
|
|
569
590
|
"@sarj/no-storage-in-stateless-modules": string;
|
|
570
591
|
"@sarj/no-zod-native-enum": string;
|
|
571
592
|
"@sarj/prefer-module-level-constant": string;
|
|
593
|
+
"@sarj/no-restated-comment": string;
|
|
594
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
595
|
+
"@sarj/trailing-value-narration": string;
|
|
572
596
|
};
|
|
573
597
|
};
|
|
574
598
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -334,6 +334,15 @@ 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
|
+
};
|
|
337
346
|
};
|
|
338
347
|
declare const plugin: {
|
|
339
348
|
meta: {
|
|
@@ -478,6 +487,15 @@ declare const plugin: {
|
|
|
478
487
|
}?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
479
488
|
name: string;
|
|
480
489
|
};
|
|
490
|
+
"jsdoc-restates-signature": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesSignature" | "deleteBlock", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
491
|
+
name: string;
|
|
492
|
+
};
|
|
493
|
+
"no-restated-comment": _typescript_eslint_utils_ts_eslint.RuleModule<"restatesLineBelow", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
494
|
+
name: string;
|
|
495
|
+
};
|
|
496
|
+
"trailing-value-narration": _typescript_eslint_utils_ts_eslint.RuleModule<"narratesValue", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
|
|
497
|
+
name: string;
|
|
498
|
+
};
|
|
481
499
|
};
|
|
482
500
|
configs: {
|
|
483
501
|
recommended: {
|
|
@@ -521,6 +539,9 @@ declare const plugin: {
|
|
|
521
539
|
"@sarj/no-dynamic-sql": string;
|
|
522
540
|
"@sarj/no-zod-native-enum": string;
|
|
523
541
|
"@sarj/prefer-module-level-constant": string;
|
|
542
|
+
"@sarj/no-restated-comment": string;
|
|
543
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
544
|
+
"@sarj/trailing-value-narration": string;
|
|
524
545
|
};
|
|
525
546
|
};
|
|
526
547
|
strict: {
|
|
@@ -569,6 +590,9 @@ declare const plugin: {
|
|
|
569
590
|
"@sarj/no-storage-in-stateless-modules": string;
|
|
570
591
|
"@sarj/no-zod-native-enum": string;
|
|
571
592
|
"@sarj/prefer-module-level-constant": string;
|
|
593
|
+
"@sarj/no-restated-comment": string;
|
|
594
|
+
"@sarj/jsdoc-restates-signature": string;
|
|
595
|
+
"@sarj/trailing-value-narration": string;
|
|
572
596
|
};
|
|
573
597
|
};
|
|
574
598
|
};
|