@eslinted/defaults 10.13.0 → 10.13.2

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.
@@ -1107,6 +1107,7 @@ export declare const rules: {
1107
1107
  } | {
1108
1108
  readonly id: "enable";
1109
1109
  readonly rules: {
1110
+ readonly "mocha/consistent-interface": "off";
1110
1111
  readonly "mocha/consistent-spacing-between-blocks": "off";
1111
1112
  readonly "mocha/handle-done-callback": readonly ["error", {
1112
1113
  readonly ignorePending: false;
@@ -1114,8 +1115,8 @@ export declare const rules: {
1114
1115
  readonly "mocha/max-top-level-suites": readonly ["error", {
1115
1116
  readonly limit: 1;
1116
1117
  }];
1117
- readonly "mocha/no-async-describe": "error";
1118
- readonly "mocha/no-empty-description": "error";
1118
+ readonly "mocha/no-async-suite": "error";
1119
+ readonly "mocha/no-empty-title": "error";
1119
1120
  readonly "mocha/no-exclusive-tests": "error";
1120
1121
  readonly "mocha/no-exports": "error";
1121
1122
  readonly "mocha/no-global-tests": "error";
@@ -1135,8 +1136,8 @@ export declare const rules: {
1135
1136
  readonly allowNamedFunctions: false;
1136
1137
  readonly allowUnboundThis: true;
1137
1138
  }];
1138
- readonly "mocha/valid-suite-description": "off";
1139
- readonly "mocha/valid-test-description": "off";
1139
+ readonly "mocha/valid-suite-title": "off";
1140
+ readonly "mocha/valid-test-title": "off";
1140
1141
  };
1141
1142
  } | {
1142
1143
  readonly id: "enable/chai";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUR,CAAC"}
@@ -1,6 +1,7 @@
1
1
  export declare const MochaEnable: {
2
2
  readonly id: "enable";
3
3
  readonly rules: {
4
+ readonly "mocha/consistent-interface": "off";
4
5
  readonly "mocha/consistent-spacing-between-blocks": "off";
5
6
  readonly "mocha/handle-done-callback": readonly ["error", {
6
7
  readonly ignorePending: false;
@@ -8,8 +9,8 @@ export declare const MochaEnable: {
8
9
  readonly "mocha/max-top-level-suites": readonly ["error", {
9
10
  readonly limit: 1;
10
11
  }];
11
- readonly "mocha/no-async-describe": "error";
12
- readonly "mocha/no-empty-description": "error";
12
+ readonly "mocha/no-async-suite": "error";
13
+ readonly "mocha/no-empty-title": "error";
13
14
  readonly "mocha/no-exclusive-tests": "error";
14
15
  readonly "mocha/no-exports": "error";
15
16
  readonly "mocha/no-global-tests": "error";
@@ -29,8 +30,8 @@ export declare const MochaEnable: {
29
30
  readonly allowNamedFunctions: false;
30
31
  readonly allowUnboundThis: true;
31
32
  }];
32
- readonly "mocha/valid-suite-description": "off";
33
- readonly "mocha/valid-test-description": "off";
33
+ readonly "mocha/valid-suite-title": "off";
34
+ readonly "mocha/valid-test-title": "off";
34
35
  };
35
36
  };
36
37
  //# sourceMappingURL=enable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4Cd,CAAC"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6Cd,CAAC"}
@@ -3,6 +3,7 @@ export const MochaEnable = {
3
3
  id: ID.Enable,
4
4
  rules: {
5
5
  // DOC: https://github.com/lo1tuma/eslint-plugin-mocha/tree/main?tab=readme-ov-file#rules
6
+ "mocha/consistent-interface": OFF, /* unable, must choose BDD or TDD first */
6
7
  "mocha/consistent-spacing-between-blocks": OFF,
7
8
  "mocha/handle-done-callback": [
8
9
  ON,
@@ -16,8 +17,8 @@ export const MochaEnable = {
16
17
  limit: 1,
17
18
  },
18
19
  ],
19
- "mocha/no-async-describe": ON,
20
- "mocha/no-empty-description": ON,
20
+ "mocha/no-async-suite": ON,
21
+ "mocha/no-empty-title": ON,
21
22
  "mocha/no-exclusive-tests": ON,
22
23
  "mocha/no-exports": ON,
23
24
  "mocha/no-global-tests": ON,
@@ -40,8 +41,8 @@ export const MochaEnable = {
40
41
  allowUnboundThis: true,
41
42
  },
42
43
  ] /* MUST match ../js/enable.ts */,
43
- "mocha/valid-suite-description": OFF /* preference */,
44
- "mocha/valid-test-description": OFF /* preference */,
44
+ "mocha/valid-suite-title": OFF /* preference */,
45
+ "mocha/valid-test-title": OFF /* preference */,
45
46
  },
46
47
  };
47
48
  //# 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,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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AAE;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,yBAAyB,EAAE,GAAG,CAAC,gBAAgB;QAC/C,wBAAwB,EAAE,GAAG,CAAC,gBAAgB;KACtC;CACF,CAAC"}
@@ -7,6 +7,7 @@ declare const _default: ({
7
7
  } | {
8
8
  readonly id: "enable";
9
9
  readonly rules: {
10
+ readonly "mocha/consistent-interface": "off";
10
11
  readonly "mocha/consistent-spacing-between-blocks": "off";
11
12
  readonly "mocha/handle-done-callback": readonly ["error", {
12
13
  readonly ignorePending: false;
@@ -14,8 +15,8 @@ declare const _default: ({
14
15
  readonly "mocha/max-top-level-suites": readonly ["error", {
15
16
  readonly limit: 1;
16
17
  }];
17
- readonly "mocha/no-async-describe": "error";
18
- readonly "mocha/no-empty-description": "error";
18
+ readonly "mocha/no-async-suite": "error";
19
+ readonly "mocha/no-empty-title": "error";
19
20
  readonly "mocha/no-exclusive-tests": "error";
20
21
  readonly "mocha/no-exports": "error";
21
22
  readonly "mocha/no-global-tests": "error";
@@ -35,8 +36,8 @@ declare const _default: ({
35
36
  readonly allowNamedFunctions: false;
36
37
  readonly allowUnboundThis: true;
37
38
  }];
38
- readonly "mocha/valid-suite-description": "off";
39
- readonly "mocha/valid-test-description": "off";
39
+ readonly "mocha/valid-suite-title": "off";
40
+ readonly "mocha/valid-test-title": "off";
40
41
  };
41
42
  } | {
42
43
  readonly id: "enable/chai";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/scopes/mocha/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,wBAKE"}
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.13.0",
6
+ "version": "10.13.2",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -8,6 +8,7 @@ export const MochaEnable = {
8
8
  id: ID.Enable,
9
9
  rules: {
10
10
  // DOC: https://github.com/lo1tuma/eslint-plugin-mocha/tree/main?tab=readme-ov-file#rules
11
+ "mocha/consistent-interface": OFF, /* unable, must choose BDD or TDD first */
11
12
  "mocha/consistent-spacing-between-blocks": OFF,
12
13
  "mocha/handle-done-callback": [
13
14
  ON,
@@ -21,8 +22,8 @@ export const MochaEnable = {
21
22
  limit: 1,
22
23
  },
23
24
  ],
24
- "mocha/no-async-describe": ON,
25
- "mocha/no-empty-description": ON,
25
+ "mocha/no-async-suite": ON,
26
+ "mocha/no-empty-title": ON,
26
27
  "mocha/no-exclusive-tests": ON,
27
28
  "mocha/no-exports": ON,
28
29
  "mocha/no-global-tests": ON,
@@ -45,7 +46,7 @@ export const MochaEnable = {
45
46
  allowUnboundThis: true,
46
47
  },
47
48
  ] /* MUST match ../js/enable.ts */,
48
- "mocha/valid-suite-description": OFF /* preference */,
49
- "mocha/valid-test-description": OFF /* preference */,
49
+ "mocha/valid-suite-title": OFF /* preference */,
50
+ "mocha/valid-test-title": OFF /* preference */,
50
51
  } as const,
51
52
  } as const;