@sarj/eslint-plugin 17.0.0 → 17.1.1

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.cts CHANGED
@@ -128,6 +128,9 @@ interface RetiredRule {
128
128
  declare const RETIRED_RULES: Readonly<Record<string, RetiredRule>>;
129
129
 
130
130
  declare const RULES: {
131
+ readonly "no-frontend-comments": DocumentedRule<readonly [{
132
+ readonly allFiles?: boolean;
133
+ }], "noFrontendComments">;
131
134
  readonly "no-mutating-input-with-result": DocumentedRule<[], "inputWrite">;
132
135
  readonly "no-negative-only-http-status-assertion": DocumentedRule<[], "expectedStatus">;
133
136
  readonly "production-derived-test-cases": DocumentedRule<[], "independentCases">;
@@ -139,7 +142,9 @@ declare const RULES: {
139
142
  readonly "prefer-dependency-interface": DocumentedRule<[], "interface">;
140
143
  readonly "no-generic-json-parser": DocumentedRule<[], "genericParser">;
141
144
  readonly "no-redundant-local-alias": DocumentedRule<[], "redundantAlias">;
142
- readonly "no-test-comments": DocumentedRule<[], "testComment">;
145
+ readonly "no-test-comments": DocumentedRule<readonly [{
146
+ readonly allFiles?: boolean;
147
+ }], "testComment">;
143
148
  readonly "no-mutating-container-transform": DocumentedRule<[], "borrowedMutation">;
144
149
  readonly "no-redundant-consumer-union": DocumentedRule<[], "redundant">;
145
150
  readonly "prefer-minimal-parameter-contract": DocumentedRule<[], "minimal">;
@@ -329,6 +334,7 @@ declare const meta: {
329
334
  declare const APPLICATION_ONLY_RULES: readonly [];
330
335
  type PresetMembership = "both" | "strict";
331
336
  declare const RULE_POLICY: {
337
+ readonly "@sarj/no-frontend-comments": readonly ["warn", "both"];
332
338
  readonly "@sarj/no-excess-jsx-props": readonly ["warn", "both"];
333
339
  readonly "@sarj/no-redundant-consumer-union": readonly ["warn", "both"];
334
340
  readonly "@sarj/prefer-minimal-parameter-contract": readonly ["warn", "both"];
package/dist/index.d.ts CHANGED
@@ -128,6 +128,9 @@ interface RetiredRule {
128
128
  declare const RETIRED_RULES: Readonly<Record<string, RetiredRule>>;
129
129
 
130
130
  declare const RULES: {
131
+ readonly "no-frontend-comments": DocumentedRule<readonly [{
132
+ readonly allFiles?: boolean;
133
+ }], "noFrontendComments">;
131
134
  readonly "no-mutating-input-with-result": DocumentedRule<[], "inputWrite">;
132
135
  readonly "no-negative-only-http-status-assertion": DocumentedRule<[], "expectedStatus">;
133
136
  readonly "production-derived-test-cases": DocumentedRule<[], "independentCases">;
@@ -139,7 +142,9 @@ declare const RULES: {
139
142
  readonly "prefer-dependency-interface": DocumentedRule<[], "interface">;
140
143
  readonly "no-generic-json-parser": DocumentedRule<[], "genericParser">;
141
144
  readonly "no-redundant-local-alias": DocumentedRule<[], "redundantAlias">;
142
- readonly "no-test-comments": DocumentedRule<[], "testComment">;
145
+ readonly "no-test-comments": DocumentedRule<readonly [{
146
+ readonly allFiles?: boolean;
147
+ }], "testComment">;
143
148
  readonly "no-mutating-container-transform": DocumentedRule<[], "borrowedMutation">;
144
149
  readonly "no-redundant-consumer-union": DocumentedRule<[], "redundant">;
145
150
  readonly "prefer-minimal-parameter-contract": DocumentedRule<[], "minimal">;
@@ -329,6 +334,7 @@ declare const meta: {
329
334
  declare const APPLICATION_ONLY_RULES: readonly [];
330
335
  type PresetMembership = "both" | "strict";
331
336
  declare const RULE_POLICY: {
337
+ readonly "@sarj/no-frontend-comments": readonly ["warn", "both"];
332
338
  readonly "@sarj/no-excess-jsx-props": readonly ["warn", "both"];
333
339
  readonly "@sarj/no-redundant-consumer-union": readonly ["warn", "both"];
334
340
  readonly "@sarj/prefer-minimal-parameter-contract": readonly ["warn", "both"];