@sarj/eslint-plugin 2.6.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.cjs +344 -54
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -0
- package/dist/index.d.ts +28 -0
- package/dist/index.js +350 -56
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -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: {
|
|
@@ -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
|
@@ -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: {
|
|
@@ -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
|
};
|