@sarj/eslint-plugin 15.21.0 → 15.21.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 +2824 -2431
- package/dist/index.d.cts +5 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.js +2717 -2324
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -242,6 +242,7 @@ declare const RULES: {
|
|
|
242
242
|
readonly "no-enum": DocumentedRule<readonly [{
|
|
243
243
|
ignoreFiles?: readonly string[];
|
|
244
244
|
}?], "noEnum">;
|
|
245
|
+
readonly "no-excessive-cognitive-complexity": DocumentedRule<[], "excessiveComplexity">;
|
|
245
246
|
readonly "no-fat-try-blocks": DocumentedRule<readonly [RuleOptions$1?], "fatTryBlock">;
|
|
246
247
|
readonly "no-hand-rolled-sleep": DocumentedRule<readonly [{
|
|
247
248
|
allowIn?: readonly string[];
|
|
@@ -560,6 +561,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
560
561
|
readonly "@sarj/prefer-native-random-uuid": "error";
|
|
561
562
|
readonly "@sarj/prefer-shadcn-primitives": "error";
|
|
562
563
|
readonly "@sarj/excessive-commentary": "warn";
|
|
564
|
+
readonly "@sarj/no-excessive-cognitive-complexity": "error";
|
|
563
565
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
564
566
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
565
567
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -859,6 +861,7 @@ declare const STRICT_RULES: {
|
|
|
859
861
|
readonly "@sarj/prefer-native-random-uuid": "error";
|
|
860
862
|
readonly "@sarj/prefer-shadcn-primitives": "error";
|
|
861
863
|
readonly "@sarj/excessive-commentary": "warn";
|
|
864
|
+
readonly "@sarj/no-excessive-cognitive-complexity": "error";
|
|
862
865
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
863
866
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
864
867
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -969,7 +972,7 @@ type FlatPreset = {
|
|
|
969
972
|
declare const PLUGIN: {
|
|
970
973
|
readonly meta: {
|
|
971
974
|
readonly name: "@sarj/eslint-plugin";
|
|
972
|
-
readonly version: "15.21.
|
|
975
|
+
readonly version: "15.21.1";
|
|
973
976
|
};
|
|
974
977
|
readonly rules: {
|
|
975
978
|
readonly "require-button-accessible-name": DocumentedRule<readonly [{
|
|
@@ -1003,6 +1006,7 @@ declare const PLUGIN: {
|
|
|
1003
1006
|
readonly "no-enum": DocumentedRule<readonly [{
|
|
1004
1007
|
ignoreFiles?: readonly string[];
|
|
1005
1008
|
}?], "noEnum">;
|
|
1009
|
+
readonly "no-excessive-cognitive-complexity": DocumentedRule<[], "excessiveComplexity">;
|
|
1006
1010
|
readonly "no-fat-try-blocks": DocumentedRule<readonly [RuleOptions$1?], "fatTryBlock">;
|
|
1007
1011
|
readonly "no-hand-rolled-sleep": DocumentedRule<readonly [{
|
|
1008
1012
|
allowIn?: readonly string[];
|
package/dist/index.d.ts
CHANGED
|
@@ -242,6 +242,7 @@ declare const RULES: {
|
|
|
242
242
|
readonly "no-enum": DocumentedRule<readonly [{
|
|
243
243
|
ignoreFiles?: readonly string[];
|
|
244
244
|
}?], "noEnum">;
|
|
245
|
+
readonly "no-excessive-cognitive-complexity": DocumentedRule<[], "excessiveComplexity">;
|
|
245
246
|
readonly "no-fat-try-blocks": DocumentedRule<readonly [RuleOptions$1?], "fatTryBlock">;
|
|
246
247
|
readonly "no-hand-rolled-sleep": DocumentedRule<readonly [{
|
|
247
248
|
allowIn?: readonly string[];
|
|
@@ -560,6 +561,7 @@ declare const RECOMMENDED_RULES: {
|
|
|
560
561
|
readonly "@sarj/prefer-native-random-uuid": "error";
|
|
561
562
|
readonly "@sarj/prefer-shadcn-primitives": "error";
|
|
562
563
|
readonly "@sarj/excessive-commentary": "warn";
|
|
564
|
+
readonly "@sarj/no-excessive-cognitive-complexity": "error";
|
|
563
565
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
564
566
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
565
567
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -859,6 +861,7 @@ declare const STRICT_RULES: {
|
|
|
859
861
|
readonly "@sarj/prefer-native-random-uuid": "error";
|
|
860
862
|
readonly "@sarj/prefer-shadcn-primitives": "error";
|
|
861
863
|
readonly "@sarj/excessive-commentary": "warn";
|
|
864
|
+
readonly "@sarj/no-excessive-cognitive-complexity": "error";
|
|
862
865
|
readonly "@sarj/interface-contract-members-private": "error";
|
|
863
866
|
readonly "@sarj/iac-source-coupled-test": "error";
|
|
864
867
|
readonly "@sarj/duplicate-test-body": "error";
|
|
@@ -969,7 +972,7 @@ type FlatPreset = {
|
|
|
969
972
|
declare const PLUGIN: {
|
|
970
973
|
readonly meta: {
|
|
971
974
|
readonly name: "@sarj/eslint-plugin";
|
|
972
|
-
readonly version: "15.21.
|
|
975
|
+
readonly version: "15.21.1";
|
|
973
976
|
};
|
|
974
977
|
readonly rules: {
|
|
975
978
|
readonly "require-button-accessible-name": DocumentedRule<readonly [{
|
|
@@ -1003,6 +1006,7 @@ declare const PLUGIN: {
|
|
|
1003
1006
|
readonly "no-enum": DocumentedRule<readonly [{
|
|
1004
1007
|
ignoreFiles?: readonly string[];
|
|
1005
1008
|
}?], "noEnum">;
|
|
1009
|
+
readonly "no-excessive-cognitive-complexity": DocumentedRule<[], "excessiveComplexity">;
|
|
1006
1010
|
readonly "no-fat-try-blocks": DocumentedRule<readonly [RuleOptions$1?], "fatTryBlock">;
|
|
1007
1011
|
readonly "no-hand-rolled-sleep": DocumentedRule<readonly [{
|
|
1008
1012
|
allowIn?: readonly string[];
|