@sarj/eslint-plugin 16.12.0 → 16.13.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.cjs +294 -252
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +2032 -1993
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -294,7 +294,7 @@ declare const RULES: {
|
|
|
294
294
|
/** @deprecated All repositories use one policy; retained for import compatibility. */
|
|
295
295
|
declare const APPLICATION_ONLY_RULES: readonly [];
|
|
296
296
|
/** Rules staged as non-blocking warnings while corpus adoption evidence accumulates. */
|
|
297
|
-
declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-exception-text-in-5xx-response", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-whole-object-assertion", "@sarj/require-sql-access-class"];
|
|
297
|
+
declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-cors-wildcard-with-credentials", "@sarj/no-exception-text-in-5xx-response", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-whole-object-assertion", "@sarj/require-sql-access-class"];
|
|
298
298
|
declare const RECOMMENDED_RULES: {
|
|
299
299
|
readonly "@sarj/named-child-schema-type": "error";
|
|
300
300
|
readonly "@sarj/no-conditional-empty-object-spread": "error";
|
|
@@ -510,7 +510,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
510
510
|
readonly "@sarj/enforce-file-structure": "error";
|
|
511
511
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
512
512
|
readonly "@sarj/no-comment-cruft": "error";
|
|
513
|
-
readonly "@sarj/no-cors-wildcard-with-credentials": "
|
|
513
|
+
readonly "@sarj/no-cors-wildcard-with-credentials": "warn";
|
|
514
514
|
readonly "@sarj/no-dynamic-sql": "error";
|
|
515
515
|
readonly "@sarj/no-fat-try-blocks": readonly ["error", {
|
|
516
516
|
readonly max: 5;
|
|
@@ -824,7 +824,7 @@ declare const STRICT_RULES: {
|
|
|
824
824
|
readonly "@sarj/enforce-file-structure": "error";
|
|
825
825
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
826
826
|
readonly "@sarj/no-comment-cruft": "error";
|
|
827
|
-
readonly "@sarj/no-cors-wildcard-with-credentials": "
|
|
827
|
+
readonly "@sarj/no-cors-wildcard-with-credentials": "warn";
|
|
828
828
|
readonly "@sarj/no-dynamic-sql": "error";
|
|
829
829
|
readonly "@sarj/no-enum": "error";
|
|
830
830
|
readonly "@sarj/no-fat-try-blocks": readonly ["error", {
|
package/dist/index.d.ts
CHANGED
|
@@ -294,7 +294,7 @@ declare const RULES: {
|
|
|
294
294
|
/** @deprecated All repositories use one policy; retained for import compatibility. */
|
|
295
295
|
declare const APPLICATION_ONLY_RULES: readonly [];
|
|
296
296
|
/** Rules staged as non-blocking warnings while corpus adoption evidence accumulates. */
|
|
297
|
-
declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-exception-text-in-5xx-response", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-whole-object-assertion", "@sarj/require-sql-access-class"];
|
|
297
|
+
declare const ADVISORY_RULES: readonly ["@sarj/excessive-commentary", "@sarj/no-bespoke-api-case-conversion", "@sarj/no-cors-wildcard-with-credentials", "@sarj/no-exception-text-in-5xx-response", "@sarj/no-restated-comment", "@sarj/no-restated-jsdoc", "@sarj/prefer-millisecond-control-duration-schema", "@sarj/prefer-module-level-refined-schema", "@sarj/prefer-node-crypto-hash", "@sarj/prefer-node-fs-promises", "@sarj/prefer-shared-zod-enum", "@sarj/prefer-whole-object-assertion", "@sarj/require-sql-access-class"];
|
|
298
298
|
declare const RECOMMENDED_RULES: {
|
|
299
299
|
readonly "@sarj/named-child-schema-type": "error";
|
|
300
300
|
readonly "@sarj/no-conditional-empty-object-spread": "error";
|
|
@@ -510,7 +510,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
510
510
|
readonly "@sarj/enforce-file-structure": "error";
|
|
511
511
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
512
512
|
readonly "@sarj/no-comment-cruft": "error";
|
|
513
|
-
readonly "@sarj/no-cors-wildcard-with-credentials": "
|
|
513
|
+
readonly "@sarj/no-cors-wildcard-with-credentials": "warn";
|
|
514
514
|
readonly "@sarj/no-dynamic-sql": "error";
|
|
515
515
|
readonly "@sarj/no-fat-try-blocks": readonly ["error", {
|
|
516
516
|
readonly max: 5;
|
|
@@ -824,7 +824,7 @@ declare const STRICT_RULES: {
|
|
|
824
824
|
readonly "@sarj/enforce-file-structure": "error";
|
|
825
825
|
readonly "@sarj/no-client-side-data-fetching": "error";
|
|
826
826
|
readonly "@sarj/no-comment-cruft": "error";
|
|
827
|
-
readonly "@sarj/no-cors-wildcard-with-credentials": "
|
|
827
|
+
readonly "@sarj/no-cors-wildcard-with-credentials": "warn";
|
|
828
828
|
readonly "@sarj/no-dynamic-sql": "error";
|
|
829
829
|
readonly "@sarj/no-enum": "error";
|
|
830
830
|
readonly "@sarj/no-fat-try-blocks": readonly ["error", {
|