@eslinted/defaults 10.12.0 → 10.13.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/rules/index.d.ts +2 -3
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.d.ts +2 -3
- package/dist/rules/scopes/mocha/enable.d.ts.map +1 -1
- package/dist/rules/scopes/mocha/enable.js +5 -6
- package/dist/rules/scopes/mocha/enable.js.map +1 -1
- package/dist/rules/scopes/mocha/index.d.ts +2 -3
- package/dist/rules/scopes/mocha/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/rules/scopes/mocha/enable.ts +4 -6
package/dist/rules/index.d.ts
CHANGED
|
@@ -1109,7 +1109,7 @@ export declare const rules: {
|
|
|
1109
1109
|
readonly rules: {
|
|
1110
1110
|
readonly "mocha/consistent-spacing-between-blocks": "off";
|
|
1111
1111
|
readonly "mocha/handle-done-callback": readonly ["error", {
|
|
1112
|
-
readonly
|
|
1112
|
+
readonly ignorePending: false;
|
|
1113
1113
|
}];
|
|
1114
1114
|
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
1115
1115
|
readonly limit: 1;
|
|
@@ -1124,12 +1124,11 @@ export declare const rules: {
|
|
|
1124
1124
|
readonly "mocha/no-identical-title": "error";
|
|
1125
1125
|
readonly "mocha/no-mocha-arrows": "error";
|
|
1126
1126
|
readonly "mocha/no-nested-tests": "error";
|
|
1127
|
-
readonly "mocha/no-pending-tests": "
|
|
1127
|
+
readonly "mocha/no-pending-tests": "error";
|
|
1128
1128
|
readonly "mocha/no-return-and-callback": "error";
|
|
1129
1129
|
readonly "mocha/no-return-from-async": "error";
|
|
1130
1130
|
readonly "mocha/no-setup-in-describe": "error";
|
|
1131
1131
|
readonly "mocha/no-sibling-hooks": "error";
|
|
1132
|
-
readonly "mocha/no-skipped-tests": "error";
|
|
1133
1132
|
readonly "mocha/no-synchronous-tests": "off";
|
|
1134
1133
|
readonly "mocha/no-top-level-hooks": "error";
|
|
1135
1134
|
readonly "mocha/prefer-arrow-callback": readonly ["error", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUR,CAAC"}
|
|
@@ -3,7 +3,7 @@ export declare const MochaEnable: {
|
|
|
3
3
|
readonly rules: {
|
|
4
4
|
readonly "mocha/consistent-spacing-between-blocks": "off";
|
|
5
5
|
readonly "mocha/handle-done-callback": readonly ["error", {
|
|
6
|
-
readonly
|
|
6
|
+
readonly ignorePending: false;
|
|
7
7
|
}];
|
|
8
8
|
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
9
9
|
readonly limit: 1;
|
|
@@ -18,12 +18,11 @@ export declare const MochaEnable: {
|
|
|
18
18
|
readonly "mocha/no-identical-title": "error";
|
|
19
19
|
readonly "mocha/no-mocha-arrows": "error";
|
|
20
20
|
readonly "mocha/no-nested-tests": "error";
|
|
21
|
-
readonly "mocha/no-pending-tests": "
|
|
21
|
+
readonly "mocha/no-pending-tests": "error";
|
|
22
22
|
readonly "mocha/no-return-and-callback": "error";
|
|
23
23
|
readonly "mocha/no-return-from-async": "error";
|
|
24
24
|
readonly "mocha/no-setup-in-describe": "error";
|
|
25
25
|
readonly "mocha/no-sibling-hooks": "error";
|
|
26
|
-
readonly "mocha/no-skipped-tests": "error";
|
|
27
26
|
readonly "mocha/no-synchronous-tests": "off";
|
|
28
27
|
readonly "mocha/no-top-level-hooks": "error";
|
|
29
28
|
readonly "mocha/prefer-arrow-callback": readonly ["error", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Cd,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ID, ON,
|
|
1
|
+
import { ID, ON, OFF, } from "../../strings/index.js";
|
|
2
2
|
export const MochaEnable = {
|
|
3
3
|
id: ID.Enable,
|
|
4
4
|
rules: {
|
|
@@ -7,7 +7,7 @@ export const MochaEnable = {
|
|
|
7
7
|
"mocha/handle-done-callback": [
|
|
8
8
|
ON,
|
|
9
9
|
{
|
|
10
|
-
|
|
10
|
+
ignorePending: false,
|
|
11
11
|
},
|
|
12
12
|
],
|
|
13
13
|
"mocha/max-top-level-suites": [
|
|
@@ -26,12 +26,11 @@ export const MochaEnable = {
|
|
|
26
26
|
"mocha/no-identical-title": ON,
|
|
27
27
|
"mocha/no-mocha-arrows": ON,
|
|
28
28
|
"mocha/no-nested-tests": ON,
|
|
29
|
-
"mocha/no-pending-tests":
|
|
29
|
+
"mocha/no-pending-tests": ON,
|
|
30
30
|
"mocha/no-return-and-callback": ON,
|
|
31
31
|
"mocha/no-return-from-async": ON,
|
|
32
32
|
"mocha/no-setup-in-describe": ON,
|
|
33
33
|
"mocha/no-sibling-hooks": ON,
|
|
34
|
-
"mocha/no-skipped-tests": ON,
|
|
35
34
|
"mocha/no-synchronous-tests": OFF,
|
|
36
35
|
"mocha/no-top-level-hooks": ON,
|
|
37
36
|
"mocha/prefer-arrow-callback": [
|
|
@@ -41,8 +40,8 @@ export const MochaEnable = {
|
|
|
41
40
|
allowUnboundThis: true,
|
|
42
41
|
},
|
|
43
42
|
] /* MUST match ../js/enable.ts */,
|
|
44
|
-
"mocha/valid-suite-description": OFF
|
|
45
|
-
"mocha/valid-test-description": OFF
|
|
43
|
+
"mocha/valid-suite-description": OFF /* preference */,
|
|
44
|
+
"mocha/valid-test-description": OFF /* preference */,
|
|
46
45
|
},
|
|
47
46
|
};
|
|
48
47
|
//# sourceMappingURL=enable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,EAAE,EACF,GAAG,GACJ,MAAM,eAAe,CAAC;AAEvB,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,EAAE,EAAE,EAAE,CAAC,MAAM;IACb,KAAK,EAAE;QACP,yFAAyF;QACvF,yCAAyC,EAAE,GAAG;QAC9C,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,aAAa,EAAE,KAAK;aACrB;SACF;QACD,4BAA4B,EAAE;YAC5B,EAAE;YACF;gBACE,KAAK,EAAE,CAAC;aACT;SACF;QACD,yBAAyB,EAAE,EAAE;QAC7B,4BAA4B,EAAE,EAAE;QAChC,0BAA0B,EAAE,EAAE;QAC9B,kBAAkB,EAAE,EAAE;QACtB,uBAAuB,EAAE,EAAE;QAC3B,gCAAgC,EAAE,GAAG;QACrC,gBAAgB,EAAE,GAAG;QACrB,0BAA0B,EAAE,EAAE;QAC9B,uBAAuB,EAAE,EAAE;QAC3B,uBAAuB,EAAE,EAAE;QAC3B,wBAAwB,EAAE,EAAE;QAC5B,8BAA8B,EAAE,EAAE;QAClC,4BAA4B,EAAE,EAAE;QAChC,4BAA4B,EAAE,EAAE;QAChC,wBAAwB,EAAE,EAAE;QAC5B,4BAA4B,EAAE,GAAG;QACjC,0BAA0B,EAAE,EAAE;QAC9B,6BAA6B,EAAE;YAC7B,EAAE;YACF;gBACE,mBAAmB,EAAE,KAAK;gBAC1B,gBAAgB,EAAE,IAAI;aACvB;SACF,CAAC,gCAAgC;QAClC,+BAA+B,EAAE,GAAG,CAAC,gBAAgB;QACrD,8BAA8B,EAAE,GAAG,CAAC,gBAAgB;KAC5C;CACF,CAAC"}
|
|
@@ -9,7 +9,7 @@ declare const _default: ({
|
|
|
9
9
|
readonly rules: {
|
|
10
10
|
readonly "mocha/consistent-spacing-between-blocks": "off";
|
|
11
11
|
readonly "mocha/handle-done-callback": readonly ["error", {
|
|
12
|
-
readonly
|
|
12
|
+
readonly ignorePending: false;
|
|
13
13
|
}];
|
|
14
14
|
readonly "mocha/max-top-level-suites": readonly ["error", {
|
|
15
15
|
readonly limit: 1;
|
|
@@ -24,12 +24,11 @@ declare const _default: ({
|
|
|
24
24
|
readonly "mocha/no-identical-title": "error";
|
|
25
25
|
readonly "mocha/no-mocha-arrows": "error";
|
|
26
26
|
readonly "mocha/no-nested-tests": "error";
|
|
27
|
-
readonly "mocha/no-pending-tests": "
|
|
27
|
+
readonly "mocha/no-pending-tests": "error";
|
|
28
28
|
readonly "mocha/no-return-and-callback": "error";
|
|
29
29
|
readonly "mocha/no-return-from-async": "error";
|
|
30
30
|
readonly "mocha/no-setup-in-describe": "error";
|
|
31
31
|
readonly "mocha/no-sibling-hooks": "error";
|
|
32
|
-
readonly "mocha/no-skipped-tests": "error";
|
|
33
32
|
readonly "mocha/no-synchronous-tests": "off";
|
|
34
33
|
readonly "mocha/no-top-level-hooks": "error";
|
|
35
34
|
readonly "mocha/prefer-arrow-callback": readonly ["error", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$schema": "https://json.schemastore.org/package",
|
|
4
4
|
"$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
|
|
5
5
|
"name": "@eslinted/defaults",
|
|
6
|
-
"version": "10.
|
|
6
|
+
"version": "10.13.0",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"private": false,
|
|
9
9
|
"engineStrict": true,
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID,
|
|
3
3
|
ON,
|
|
4
|
-
WARN,
|
|
5
4
|
OFF,
|
|
6
5
|
} from "../../strings";
|
|
7
6
|
|
|
@@ -13,7 +12,7 @@ export const MochaEnable = {
|
|
|
13
12
|
"mocha/handle-done-callback": [
|
|
14
13
|
ON,
|
|
15
14
|
{
|
|
16
|
-
|
|
15
|
+
ignorePending: false,
|
|
17
16
|
},
|
|
18
17
|
],
|
|
19
18
|
"mocha/max-top-level-suites": [
|
|
@@ -32,12 +31,11 @@ export const MochaEnable = {
|
|
|
32
31
|
"mocha/no-identical-title": ON,
|
|
33
32
|
"mocha/no-mocha-arrows": ON,
|
|
34
33
|
"mocha/no-nested-tests": ON,
|
|
35
|
-
"mocha/no-pending-tests":
|
|
34
|
+
"mocha/no-pending-tests": ON,
|
|
36
35
|
"mocha/no-return-and-callback": ON,
|
|
37
36
|
"mocha/no-return-from-async": ON,
|
|
38
37
|
"mocha/no-setup-in-describe": ON,
|
|
39
38
|
"mocha/no-sibling-hooks": ON,
|
|
40
|
-
"mocha/no-skipped-tests": ON,
|
|
41
39
|
"mocha/no-synchronous-tests": OFF,
|
|
42
40
|
"mocha/no-top-level-hooks": ON,
|
|
43
41
|
"mocha/prefer-arrow-callback": [
|
|
@@ -47,7 +45,7 @@ export const MochaEnable = {
|
|
|
47
45
|
allowUnboundThis: true,
|
|
48
46
|
},
|
|
49
47
|
] /* MUST match ../js/enable.ts */,
|
|
50
|
-
"mocha/valid-suite-description": OFF
|
|
51
|
-
"mocha/valid-test-description": OFF
|
|
48
|
+
"mocha/valid-suite-description": OFF /* preference */,
|
|
49
|
+
"mocha/valid-test-description": OFF /* preference */,
|
|
52
50
|
} as const,
|
|
53
51
|
} as const;
|