@sarj/eslint-plugin 13.1.0 → 14.0.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 +4 -95
- package/dist/index.cjs +1323 -1218
- package/dist/index.d.cts +1 -6
- package/dist/index.d.ts +1 -6
- package/dist/index.js +333 -225
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -163,7 +163,6 @@ interface RuleOptions {
|
|
|
163
163
|
*/
|
|
164
164
|
declare const renamedRules: {
|
|
165
165
|
readonly "jsdoc-restates-signature": "no-restated-jsdoc";
|
|
166
|
-
readonly "no-async-callback-in-waitfor": "no-async-callback-in-wait-for";
|
|
167
166
|
readonly "require-interface-for-injected-service": "require-port-for-service";
|
|
168
167
|
readonly "strict-test-assertions": "prefer-whole-object-assertion";
|
|
169
168
|
readonly "trailing-value-narration": "no-trailing-value-narration";
|
|
@@ -172,7 +171,6 @@ declare const renamedRules: {
|
|
|
172
171
|
declare const rules: {
|
|
173
172
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
174
173
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
175
|
-
readonly "no-async-callback-in-wait-for": DocumentedRule<readonly [], "noAsyncCallbackInWaitFor">;
|
|
176
174
|
readonly "no-client-side-data-fetching": DocumentedRule<readonly [], "noClientFetch">;
|
|
177
175
|
readonly "no-comment-cruft": DocumentedRule<readonly [], "commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "commentWall" | "redundantNarration" | "placeholderImplementation" | "untrackedTodo">;
|
|
178
176
|
readonly "no-conditional-in-test": DocumentedRule<readonly [], "noConditionalInTest">;
|
|
@@ -266,7 +264,6 @@ declare const applicationOnlyRules: readonly ["no-restricted-library-load", "pre
|
|
|
266
264
|
declare const recommendedRules: {
|
|
267
265
|
readonly "@sarj/duplicate-test-body": "error";
|
|
268
266
|
readonly "@sarj/enforce-file-structure": "error";
|
|
269
|
-
readonly "@sarj/no-async-callback-in-wait-for": "error";
|
|
270
267
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
271
268
|
readonly "@sarj/no-comment-cruft": "error";
|
|
272
269
|
readonly "@sarj/no-conditional-in-test": "error";
|
|
@@ -328,7 +325,6 @@ declare const recommendedRules: {
|
|
|
328
325
|
declare const strictRules: {
|
|
329
326
|
readonly "@sarj/duplicate-test-body": "error";
|
|
330
327
|
readonly "@sarj/enforce-file-structure": "error";
|
|
331
|
-
readonly "@sarj/no-async-callback-in-wait-for": "error";
|
|
332
328
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
333
329
|
readonly "@sarj/no-comment-cruft": "error";
|
|
334
330
|
readonly "@sarj/no-conditional-in-test": "error";
|
|
@@ -399,12 +395,11 @@ type FlatPreset = {
|
|
|
399
395
|
declare const plugin: {
|
|
400
396
|
readonly meta: {
|
|
401
397
|
readonly name: "@sarj/eslint-plugin";
|
|
402
|
-
readonly version: "
|
|
398
|
+
readonly version: "14.0.0";
|
|
403
399
|
};
|
|
404
400
|
readonly rules: {
|
|
405
401
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
406
402
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
407
|
-
readonly "no-async-callback-in-wait-for": DocumentedRule<readonly [], "noAsyncCallbackInWaitFor">;
|
|
408
403
|
readonly "no-client-side-data-fetching": DocumentedRule<readonly [], "noClientFetch">;
|
|
409
404
|
readonly "no-comment-cruft": DocumentedRule<readonly [], "commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "commentWall" | "redundantNarration" | "placeholderImplementation" | "untrackedTodo">;
|
|
410
405
|
readonly "no-conditional-in-test": DocumentedRule<readonly [], "noConditionalInTest">;
|
package/dist/index.d.ts
CHANGED
|
@@ -163,7 +163,6 @@ interface RuleOptions {
|
|
|
163
163
|
*/
|
|
164
164
|
declare const renamedRules: {
|
|
165
165
|
readonly "jsdoc-restates-signature": "no-restated-jsdoc";
|
|
166
|
-
readonly "no-async-callback-in-waitfor": "no-async-callback-in-wait-for";
|
|
167
166
|
readonly "require-interface-for-injected-service": "require-port-for-service";
|
|
168
167
|
readonly "strict-test-assertions": "prefer-whole-object-assertion";
|
|
169
168
|
readonly "trailing-value-narration": "no-trailing-value-narration";
|
|
@@ -172,7 +171,6 @@ declare const renamedRules: {
|
|
|
172
171
|
declare const rules: {
|
|
173
172
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
174
173
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
175
|
-
readonly "no-async-callback-in-wait-for": DocumentedRule<readonly [], "noAsyncCallbackInWaitFor">;
|
|
176
174
|
readonly "no-client-side-data-fetching": DocumentedRule<readonly [], "noClientFetch">;
|
|
177
175
|
readonly "no-comment-cruft": DocumentedRule<readonly [], "commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "commentWall" | "redundantNarration" | "placeholderImplementation" | "untrackedTodo">;
|
|
178
176
|
readonly "no-conditional-in-test": DocumentedRule<readonly [], "noConditionalInTest">;
|
|
@@ -266,7 +264,6 @@ declare const applicationOnlyRules: readonly ["no-restricted-library-load", "pre
|
|
|
266
264
|
declare const recommendedRules: {
|
|
267
265
|
readonly "@sarj/duplicate-test-body": "error";
|
|
268
266
|
readonly "@sarj/enforce-file-structure": "error";
|
|
269
|
-
readonly "@sarj/no-async-callback-in-wait-for": "error";
|
|
270
267
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
271
268
|
readonly "@sarj/no-comment-cruft": "error";
|
|
272
269
|
readonly "@sarj/no-conditional-in-test": "error";
|
|
@@ -328,7 +325,6 @@ declare const recommendedRules: {
|
|
|
328
325
|
declare const strictRules: {
|
|
329
326
|
readonly "@sarj/duplicate-test-body": "error";
|
|
330
327
|
readonly "@sarj/enforce-file-structure": "error";
|
|
331
|
-
readonly "@sarj/no-async-callback-in-wait-for": "error";
|
|
332
328
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
333
329
|
readonly "@sarj/no-comment-cruft": "error";
|
|
334
330
|
readonly "@sarj/no-conditional-in-test": "error";
|
|
@@ -399,12 +395,11 @@ type FlatPreset = {
|
|
|
399
395
|
declare const plugin: {
|
|
400
396
|
readonly meta: {
|
|
401
397
|
readonly name: "@sarj/eslint-plugin";
|
|
402
|
-
readonly version: "
|
|
398
|
+
readonly version: "14.0.0";
|
|
403
399
|
};
|
|
404
400
|
readonly rules: {
|
|
405
401
|
readonly "duplicate-test-body": DocumentedRule<readonly [], "duplicateTestBody">;
|
|
406
402
|
readonly "enforce-file-structure": DocumentedRule<readonly [], "importsFirst" | "useServerDirective">;
|
|
407
|
-
readonly "no-async-callback-in-wait-for": DocumentedRule<readonly [], "noAsyncCallbackInWaitFor">;
|
|
408
403
|
readonly "no-client-side-data-fetching": DocumentedRule<readonly [], "noClientFetch">;
|
|
409
404
|
readonly "no-comment-cruft": DocumentedRule<readonly [], "commentedOutCode" | "sectionBanner" | "fileHeaderPreamble" | "commentWall" | "redundantNarration" | "placeholderImplementation" | "untrackedTodo">;
|
|
410
405
|
readonly "no-conditional-in-test": DocumentedRule<readonly [], "noConditionalInTest">;
|