@sarj/eslint-plugin 2.5.0 → 2.7.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/dist/index.d.cts CHANGED
@@ -7,7 +7,7 @@ declare const rules: {
7
7
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
8
8
  name: string;
9
9
  };
10
- "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
10
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "redundantNarration", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
11
11
  name: string;
12
12
  };
13
13
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
@@ -81,6 +81,17 @@ declare const rules: {
81
81
  "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
82
82
  name: string;
83
83
  };
84
+ "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
85
+ name: string;
86
+ };
87
+ "require-fetch-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"missingSignal", readonly [{
88
+ allowIn?: readonly string[];
89
+ }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
90
+ name: string;
91
+ };
92
+ "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
93
+ name: string;
94
+ };
84
95
  };
85
96
  declare const plugin: {
86
97
  meta: {
@@ -94,7 +105,7 @@ declare const plugin: {
94
105
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
95
106
  name: string;
96
107
  };
97
- "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
108
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "redundantNarration", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
98
109
  name: string;
99
110
  };
100
111
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
@@ -168,6 +179,17 @@ declare const plugin: {
168
179
  "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
169
180
  name: string;
170
181
  };
182
+ "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
183
+ name: string;
184
+ };
185
+ "require-fetch-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"missingSignal", readonly [{
186
+ allowIn?: readonly string[];
187
+ }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
188
+ name: string;
189
+ };
190
+ "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
191
+ name: string;
192
+ };
171
193
  };
172
194
  configs: {
173
195
  recommended: {
@@ -196,6 +218,9 @@ declare const plugin: {
196
218
  "@sarj/no-unsafe-cast": string;
197
219
  "@sarj/single-public-export": string;
198
220
  "@sarj/prefer-string-literal-union": string;
221
+ "@sarj/require-fetch-timeout": string;
222
+ "@sarj/no-silent-promise-catch": string;
223
+ "@sarj/require-schema-validate-search": string;
199
224
  };
200
225
  };
201
226
  strict: {
@@ -227,6 +252,9 @@ declare const plugin: {
227
252
  "@sarj/no-unsafe-cast": string;
228
253
  "@sarj/single-public-export": string;
229
254
  "@sarj/prefer-string-literal-union": string;
255
+ "@sarj/require-fetch-timeout": string;
256
+ "@sarj/no-silent-promise-catch": string;
257
+ "@sarj/require-schema-validate-search": string;
230
258
  };
231
259
  };
232
260
  };
package/dist/index.d.ts CHANGED
@@ -7,7 +7,7 @@ declare const rules: {
7
7
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
8
8
  name: string;
9
9
  };
10
- "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
10
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "redundantNarration", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
11
11
  name: string;
12
12
  };
13
13
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
@@ -81,6 +81,17 @@ declare const rules: {
81
81
  "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
82
82
  name: string;
83
83
  };
84
+ "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
85
+ name: string;
86
+ };
87
+ "require-fetch-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"missingSignal", readonly [{
88
+ allowIn?: readonly string[];
89
+ }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
90
+ name: string;
91
+ };
92
+ "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
93
+ name: string;
94
+ };
84
95
  };
85
96
  declare const plugin: {
86
97
  meta: {
@@ -94,7 +105,7 @@ declare const plugin: {
94
105
  "no-client-side-data-fetching": _typescript_eslint_utils_ts_eslint.RuleModule<"noClientFetch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
95
106
  name: string;
96
107
  };
97
- "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
108
+ "no-comment-cruft": _typescript_eslint_utils_ts_eslint.RuleModule<"commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "redundantNarration", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
98
109
  name: string;
99
110
  };
100
111
  "no-enum": _typescript_eslint_utils_ts_eslint.RuleModule<"noEnum", readonly [{
@@ -168,6 +179,17 @@ declare const plugin: {
168
179
  "single-public-export": _typescript_eslint_utils_ts_eslint.RuleModule<"renameJunkDrawer", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
169
180
  name: string;
170
181
  };
182
+ "no-silent-promise-catch": _typescript_eslint_utils_ts_eslint.RuleModule<"silentCatch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
183
+ name: string;
184
+ };
185
+ "require-fetch-timeout": _typescript_eslint_utils_ts_eslint.RuleModule<"missingSignal", readonly [{
186
+ allowIn?: readonly string[];
187
+ }?], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
188
+ name: string;
189
+ };
190
+ "require-schema-validate-search": _typescript_eslint_utils_ts_eslint.RuleModule<"castInValidateSearch", readonly [], unknown, _typescript_eslint_utils_ts_eslint.RuleListener> & {
191
+ name: string;
192
+ };
171
193
  };
172
194
  configs: {
173
195
  recommended: {
@@ -196,6 +218,9 @@ declare const plugin: {
196
218
  "@sarj/no-unsafe-cast": string;
197
219
  "@sarj/single-public-export": string;
198
220
  "@sarj/prefer-string-literal-union": string;
221
+ "@sarj/require-fetch-timeout": string;
222
+ "@sarj/no-silent-promise-catch": string;
223
+ "@sarj/require-schema-validate-search": string;
199
224
  };
200
225
  };
201
226
  strict: {
@@ -227,6 +252,9 @@ declare const plugin: {
227
252
  "@sarj/no-unsafe-cast": string;
228
253
  "@sarj/single-public-export": string;
229
254
  "@sarj/prefer-string-literal-union": string;
255
+ "@sarj/require-fetch-timeout": string;
256
+ "@sarj/no-silent-promise-catch": string;
257
+ "@sarj/require-schema-validate-search": string;
230
258
  };
231
259
  };
232
260
  };