@eslinted/defaults 12.17.3 → 12.19.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/index.d.ts +567 -562
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.spec.d.ts +2 -0
- package/dist/index.spec.d.ts.map +1 -0
- package/dist/index.spec.js +154 -0
- package/dist/index.spec.js.map +1 -0
- package/dist/rules/_strings/option.d.ts +1 -1
- package/dist/rules/_strings/option.d.ts.map +1 -1
- package/dist/rules/_strings/option.js +1 -1
- package/dist/rules/_strings/option.js.map +1 -1
- package/dist/rules/_strings/state.d.ts +1 -1
- package/dist/rules/_strings/state.d.ts.map +1 -1
- package/dist/rules/_strings/state.js +1 -1
- package/dist/rules/_strings/state.js.map +1 -1
- package/dist/rules/_strings/state.spec.js +23 -18
- package/dist/rules/_strings/state.spec.js.map +1 -1
- package/dist/rules/css/enable.d.ts +11 -11
- package/dist/rules/css/index.d.ts +11 -11
- package/dist/rules/enable.d.ts +150 -147
- package/dist/rules/enable.d.ts.map +1 -1
- package/dist/rules/enable.js +6 -0
- package/dist/rules/enable.js.map +1 -1
- package/dist/rules/html/index.d.ts +41 -41
- package/dist/rules/html/plugin/index.d.ts +41 -41
- package/dist/rules/index.d.ts +552 -550
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/json/enable.d.ts +4 -4
- package/dist/rules/json/index.d.ts +42 -42
- package/dist/rules/json/plugin/extension.d.ts +19 -19
- package/dist/rules/json/plugin/index.d.ts +19 -19
- package/dist/rules/jsonc/index.d.ts +1 -1
- package/dist/rules/jsonc/plugin/index.d.ts +1 -1
- package/dist/rules/jsoncc/index.d.ts +1 -1
- package/dist/rules/jsoncc/plugin/index.d.ts +1 -1
- package/dist/rules/mocha/chai/expect.d.ts +3 -3
- package/dist/rules/mocha/chai/index.d.ts +1 -1
- package/dist/rules/mocha/disable.d.ts +2 -2
- package/dist/rules/mocha/enable.d.ts +16 -16
- package/dist/rules/mocha/index.d.ts +22 -22
- package/dist/rules/stylistic.d.ts +67 -67
- package/dist/rules/svelte/disable.d.ts +6 -6
- package/dist/rules/svelte/enable.d.ts +67 -67
- package/dist/rules/svelte/extension/disable.d.ts +3 -3
- package/dist/rules/svelte/extension/index.d.ts +2 -2
- package/dist/rules/svelte/index.d.ts +78 -78
- package/dist/rules/ts/disable.d.ts +19 -19
- package/dist/rules/ts/enable.d.ts +86 -86
- package/dist/rules/ts/extension/disable.d.ts +8 -8
- package/dist/rules/ts/extension/index.d.ts +7 -7
- package/dist/rules/ts/index.d.ts +120 -120
- package/dist/rules/yml/enable.d.ts +11 -12
- package/dist/rules/yml/enable.d.ts.map +1 -1
- package/dist/rules/yml/enable.js +0 -1
- package/dist/rules/yml/enable.js.map +1 -1
- package/dist/rules/yml/extension.d.ts +8 -8
- package/dist/rules/yml/index.d.ts +19 -20
- package/dist/rules/yml/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.spec.ts +228 -0
- package/src/index.ts +1 -1
- package/src/rules/_strings/option.ts +1 -2
- package/src/rules/_strings/state.spec.ts +27 -22
- package/src/rules/_strings/state.ts +3 -3
- package/src/rules/enable.ts +6 -0
- package/src/rules/yml/enable.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAcjB,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const JsonEnable: {
|
|
2
2
|
id: "enable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "json/no-duplicate-keys":
|
|
5
|
-
readonly "json/no-unsafe-values":
|
|
6
|
-
readonly "json/no-unnormalized-keys":
|
|
7
|
-
readonly "json/top-level-interop":
|
|
4
|
+
readonly "json/no-duplicate-keys": 2;
|
|
5
|
+
readonly "json/no-unsafe-values": 2;
|
|
6
|
+
readonly "json/no-unnormalized-keys": 2;
|
|
7
|
+
readonly "json/top-level-interop": 2;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
//# sourceMappingURL=enable.d.ts.map
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
id: "enable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "json/no-duplicate-keys":
|
|
5
|
-
readonly "json/no-unsafe-values":
|
|
6
|
-
readonly "json/no-unnormalized-keys":
|
|
7
|
-
readonly "json/top-level-interop":
|
|
4
|
+
readonly "json/no-duplicate-keys": 2;
|
|
5
|
+
readonly "json/no-unsafe-values": 2;
|
|
6
|
+
readonly "json/no-unnormalized-keys": 2;
|
|
7
|
+
readonly "json/top-level-interop": 2;
|
|
8
8
|
};
|
|
9
9
|
} | {
|
|
10
10
|
id: "enable/plugin";
|
|
11
11
|
rules: {
|
|
12
|
-
readonly "jsonc/no-bigint-literals":
|
|
13
|
-
readonly "jsonc/no-binary-expression":
|
|
14
|
-
readonly "jsonc/no-binary-numeric-literals":
|
|
15
|
-
readonly "jsonc/no-comments":
|
|
16
|
-
readonly "jsonc/no-escape-sequence-in-identifier":
|
|
17
|
-
readonly "jsonc/no-hexadecimal-numeric-literals":
|
|
18
|
-
readonly "jsonc/no-infinity":
|
|
19
|
-
readonly "jsonc/no-nan":
|
|
20
|
-
readonly "jsonc/no-number-props":
|
|
21
|
-
readonly "jsonc/no-numeric-separators":
|
|
22
|
-
readonly "jsonc/no-octal-numeric-literals":
|
|
23
|
-
readonly "jsonc/no-parenthesized":
|
|
24
|
-
readonly "jsonc/no-plus-sign":
|
|
25
|
-
readonly "jsonc/no-regexp-literals":
|
|
26
|
-
readonly "jsonc/no-template-literals":
|
|
27
|
-
readonly "jsonc/no-undefined-value":
|
|
28
|
-
readonly "jsonc/no-unicode-codepoint-escapes":
|
|
29
|
-
readonly "jsonc/valid-json-number":
|
|
30
|
-
readonly "jsonc/vue-custom-block/no-parsing-error":
|
|
12
|
+
readonly "jsonc/no-bigint-literals": 2;
|
|
13
|
+
readonly "jsonc/no-binary-expression": 2;
|
|
14
|
+
readonly "jsonc/no-binary-numeric-literals": 2;
|
|
15
|
+
readonly "jsonc/no-comments": 2;
|
|
16
|
+
readonly "jsonc/no-escape-sequence-in-identifier": 2;
|
|
17
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": 2;
|
|
18
|
+
readonly "jsonc/no-infinity": 2;
|
|
19
|
+
readonly "jsonc/no-nan": 2;
|
|
20
|
+
readonly "jsonc/no-number-props": 2;
|
|
21
|
+
readonly "jsonc/no-numeric-separators": 2;
|
|
22
|
+
readonly "jsonc/no-octal-numeric-literals": 2;
|
|
23
|
+
readonly "jsonc/no-parenthesized": 2;
|
|
24
|
+
readonly "jsonc/no-plus-sign": 2;
|
|
25
|
+
readonly "jsonc/no-regexp-literals": 2;
|
|
26
|
+
readonly "jsonc/no-template-literals": 2;
|
|
27
|
+
readonly "jsonc/no-undefined-value": 2;
|
|
28
|
+
readonly "jsonc/no-unicode-codepoint-escapes": 2;
|
|
29
|
+
readonly "jsonc/valid-json-number": 2;
|
|
30
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": 2;
|
|
31
31
|
};
|
|
32
32
|
} | {
|
|
33
33
|
id: "enable/plugin/extension";
|
|
34
34
|
rules: {
|
|
35
|
-
readonly "jsonc/array-bracket-spacing":
|
|
36
|
-
readonly "jsonc/array-element-newline": readonly [
|
|
37
|
-
readonly "jsonc/comma-dangle":
|
|
38
|
-
readonly "jsonc/comma-style":
|
|
39
|
-
readonly "jsonc/indent": readonly [
|
|
40
|
-
readonly "jsonc/key-spacing":
|
|
41
|
-
readonly "jsonc/no-floating-decimal":
|
|
42
|
-
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
35
|
+
readonly "jsonc/array-bracket-spacing": 2;
|
|
36
|
+
readonly "jsonc/array-element-newline": readonly [2, "consistent"];
|
|
37
|
+
readonly "jsonc/comma-dangle": 2;
|
|
38
|
+
readonly "jsonc/comma-style": 2;
|
|
39
|
+
readonly "jsonc/indent": readonly [2, 2];
|
|
40
|
+
readonly "jsonc/key-spacing": 2;
|
|
41
|
+
readonly "jsonc/no-floating-decimal": 2;
|
|
42
|
+
readonly "jsonc/no-irregular-whitespace": readonly [2, {
|
|
43
43
|
readonly skipStrings: true;
|
|
44
44
|
readonly skipComments: true;
|
|
45
45
|
readonly skipRegExps: true;
|
|
46
46
|
readonly skipTemplates: true;
|
|
47
47
|
readonly skipJSXText: true;
|
|
48
48
|
}];
|
|
49
|
-
readonly "jsonc/no-multi-str":
|
|
50
|
-
readonly "jsonc/no-octal-escape":
|
|
51
|
-
readonly "jsonc/no-octal":
|
|
52
|
-
readonly "jsonc/no-sparse-arrays":
|
|
53
|
-
readonly "jsonc/no-useless-escape":
|
|
54
|
-
readonly "jsonc/object-curly-newline": readonly [
|
|
49
|
+
readonly "jsonc/no-multi-str": 2;
|
|
50
|
+
readonly "jsonc/no-octal-escape": 2;
|
|
51
|
+
readonly "jsonc/no-octal": 2;
|
|
52
|
+
readonly "jsonc/no-sparse-arrays": 2;
|
|
53
|
+
readonly "jsonc/no-useless-escape": 2;
|
|
54
|
+
readonly "jsonc/object-curly-newline": readonly [2, {
|
|
55
55
|
readonly consistent: true;
|
|
56
56
|
readonly multiline: true;
|
|
57
57
|
readonly minProperties: 2;
|
|
58
58
|
}];
|
|
59
|
-
readonly "jsonc/object-curly-spacing": readonly [
|
|
60
|
-
readonly "jsonc/object-property-newline":
|
|
61
|
-
readonly "jsonc/quote-props":
|
|
62
|
-
readonly "jsonc/quotes":
|
|
63
|
-
readonly "jsonc/space-unary-ops":
|
|
59
|
+
readonly "jsonc/object-curly-spacing": readonly [2, "always"];
|
|
60
|
+
readonly "jsonc/object-property-newline": 2;
|
|
61
|
+
readonly "jsonc/quote-props": 2;
|
|
62
|
+
readonly "jsonc/quotes": 2;
|
|
63
|
+
readonly "jsonc/space-unary-ops": 2;
|
|
64
64
|
};
|
|
65
65
|
})[];
|
|
66
66
|
export default _default;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
export declare const JsonEnablePluginExtension: {
|
|
2
2
|
id: "enable/plugin/extension";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "jsonc/array-bracket-spacing":
|
|
5
|
-
readonly "jsonc/array-element-newline": readonly [
|
|
6
|
-
readonly "jsonc/comma-dangle":
|
|
7
|
-
readonly "jsonc/comma-style":
|
|
8
|
-
readonly "jsonc/indent": readonly [
|
|
9
|
-
readonly "jsonc/key-spacing":
|
|
10
|
-
readonly "jsonc/no-floating-decimal":
|
|
11
|
-
readonly "jsonc/no-irregular-whitespace": readonly [
|
|
4
|
+
readonly "jsonc/array-bracket-spacing": 2;
|
|
5
|
+
readonly "jsonc/array-element-newline": readonly [2, "consistent"];
|
|
6
|
+
readonly "jsonc/comma-dangle": 2;
|
|
7
|
+
readonly "jsonc/comma-style": 2;
|
|
8
|
+
readonly "jsonc/indent": readonly [2, 2];
|
|
9
|
+
readonly "jsonc/key-spacing": 2;
|
|
10
|
+
readonly "jsonc/no-floating-decimal": 2;
|
|
11
|
+
readonly "jsonc/no-irregular-whitespace": readonly [2, {
|
|
12
12
|
readonly skipStrings: true;
|
|
13
13
|
readonly skipComments: true;
|
|
14
14
|
readonly skipRegExps: true;
|
|
15
15
|
readonly skipTemplates: true;
|
|
16
16
|
readonly skipJSXText: true;
|
|
17
17
|
}];
|
|
18
|
-
readonly "jsonc/no-multi-str":
|
|
19
|
-
readonly "jsonc/no-octal-escape":
|
|
20
|
-
readonly "jsonc/no-octal":
|
|
21
|
-
readonly "jsonc/no-sparse-arrays":
|
|
22
|
-
readonly "jsonc/no-useless-escape":
|
|
23
|
-
readonly "jsonc/object-curly-newline": readonly [
|
|
18
|
+
readonly "jsonc/no-multi-str": 2;
|
|
19
|
+
readonly "jsonc/no-octal-escape": 2;
|
|
20
|
+
readonly "jsonc/no-octal": 2;
|
|
21
|
+
readonly "jsonc/no-sparse-arrays": 2;
|
|
22
|
+
readonly "jsonc/no-useless-escape": 2;
|
|
23
|
+
readonly "jsonc/object-curly-newline": readonly [2, {
|
|
24
24
|
readonly consistent: true;
|
|
25
25
|
readonly multiline: true;
|
|
26
26
|
readonly minProperties: 2;
|
|
27
27
|
}];
|
|
28
|
-
readonly "jsonc/object-curly-spacing": readonly [
|
|
29
|
-
readonly "jsonc/object-property-newline":
|
|
30
|
-
readonly "jsonc/quote-props":
|
|
31
|
-
readonly "jsonc/quotes":
|
|
32
|
-
readonly "jsonc/space-unary-ops":
|
|
28
|
+
readonly "jsonc/object-curly-spacing": readonly [2, "always"];
|
|
29
|
+
readonly "jsonc/object-property-newline": 2;
|
|
30
|
+
readonly "jsonc/quote-props": 2;
|
|
31
|
+
readonly "jsonc/quotes": 2;
|
|
32
|
+
readonly "jsonc/space-unary-ops": 2;
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
35
|
//# sourceMappingURL=extension.d.ts.map
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
export declare const JsonEnablePlugin: {
|
|
2
2
|
id: "enable/plugin";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "jsonc/no-bigint-literals":
|
|
5
|
-
readonly "jsonc/no-binary-expression":
|
|
6
|
-
readonly "jsonc/no-binary-numeric-literals":
|
|
7
|
-
readonly "jsonc/no-comments":
|
|
8
|
-
readonly "jsonc/no-escape-sequence-in-identifier":
|
|
9
|
-
readonly "jsonc/no-hexadecimal-numeric-literals":
|
|
10
|
-
readonly "jsonc/no-infinity":
|
|
11
|
-
readonly "jsonc/no-nan":
|
|
12
|
-
readonly "jsonc/no-number-props":
|
|
13
|
-
readonly "jsonc/no-numeric-separators":
|
|
14
|
-
readonly "jsonc/no-octal-numeric-literals":
|
|
15
|
-
readonly "jsonc/no-parenthesized":
|
|
16
|
-
readonly "jsonc/no-plus-sign":
|
|
17
|
-
readonly "jsonc/no-regexp-literals":
|
|
18
|
-
readonly "jsonc/no-template-literals":
|
|
19
|
-
readonly "jsonc/no-undefined-value":
|
|
20
|
-
readonly "jsonc/no-unicode-codepoint-escapes":
|
|
21
|
-
readonly "jsonc/valid-json-number":
|
|
22
|
-
readonly "jsonc/vue-custom-block/no-parsing-error":
|
|
4
|
+
readonly "jsonc/no-bigint-literals": 2;
|
|
5
|
+
readonly "jsonc/no-binary-expression": 2;
|
|
6
|
+
readonly "jsonc/no-binary-numeric-literals": 2;
|
|
7
|
+
readonly "jsonc/no-comments": 2;
|
|
8
|
+
readonly "jsonc/no-escape-sequence-in-identifier": 2;
|
|
9
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": 2;
|
|
10
|
+
readonly "jsonc/no-infinity": 2;
|
|
11
|
+
readonly "jsonc/no-nan": 2;
|
|
12
|
+
readonly "jsonc/no-number-props": 2;
|
|
13
|
+
readonly "jsonc/no-numeric-separators": 2;
|
|
14
|
+
readonly "jsonc/no-octal-numeric-literals": 2;
|
|
15
|
+
readonly "jsonc/no-parenthesized": 2;
|
|
16
|
+
readonly "jsonc/no-plus-sign": 2;
|
|
17
|
+
readonly "jsonc/no-regexp-literals": 2;
|
|
18
|
+
readonly "jsonc/no-template-literals": 2;
|
|
19
|
+
readonly "jsonc/no-undefined-value": 2;
|
|
20
|
+
readonly "jsonc/no-unicode-codepoint-escapes": 2;
|
|
21
|
+
readonly "jsonc/valid-json-number": 2;
|
|
22
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": 2;
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const JsoncCommaPluginDisable: {
|
|
2
2
|
id: "disable/plugin";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "jsonc/comma-dangle": readonly [
|
|
4
|
+
readonly "jsonc/comma-dangle": readonly [2, "always-multiline"];
|
|
5
5
|
};
|
|
6
6
|
};
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const MochaEnablePluginChaiExpect: {
|
|
2
2
|
id: string;
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "chai-expect/no-inner-compare":
|
|
5
|
-
readonly "chai-expect/no-inner-literal":
|
|
6
|
-
readonly "chai-expect/missing-assertion":
|
|
4
|
+
readonly "chai-expect/no-inner-compare": 2;
|
|
5
|
+
readonly "chai-expect/no-inner-literal": 2;
|
|
6
|
+
readonly "chai-expect/missing-assertion": 2;
|
|
7
7
|
};
|
|
8
8
|
};
|
|
9
9
|
//# sourceMappingURL=expect.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const MochaEnablePluginChai: {
|
|
2
2
|
id: string;
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "chai-friendly/no-unused-expressions": readonly [
|
|
4
|
+
readonly "chai-friendly/no-unused-expressions": readonly [2, {
|
|
5
5
|
readonly allowShortCircuit: true;
|
|
6
6
|
readonly allowTernary: true;
|
|
7
7
|
}];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export declare const MochaDisable: {
|
|
2
2
|
id: "disable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "prefer-arrow-callback":
|
|
5
|
-
readonly "no-unused-expressions":
|
|
4
|
+
readonly "prefer-arrow-callback": 0;
|
|
5
|
+
readonly "no-unused-expressions": 0;
|
|
6
6
|
};
|
|
7
7
|
};
|
|
8
8
|
//# sourceMappingURL=disable.d.ts.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const MochaEnable: {
|
|
2
2
|
id: "enable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "mocha/handle-done-callback":
|
|
5
|
-
readonly "mocha/max-top-level-suites":
|
|
6
|
-
readonly "mocha/no-async-suite":
|
|
7
|
-
readonly "mocha/no-empty-title":
|
|
8
|
-
readonly "mocha/no-exclusive-tests":
|
|
9
|
-
readonly "mocha/no-exports":
|
|
10
|
-
readonly "mocha/no-global-tests":
|
|
11
|
-
readonly "mocha/no-identical-title":
|
|
12
|
-
readonly "mocha/no-mocha-arrows":
|
|
13
|
-
readonly "mocha/no-nested-tests":
|
|
14
|
-
readonly "mocha/no-pending-tests":
|
|
15
|
-
readonly "mocha/no-return-and-callback":
|
|
16
|
-
readonly "mocha/no-return-from-async":
|
|
17
|
-
readonly "mocha/no-sibling-hooks":
|
|
18
|
-
readonly "mocha/no-top-level-hooks":
|
|
19
|
-
readonly "mocha/prefer-arrow-callback":
|
|
4
|
+
readonly "mocha/handle-done-callback": 2;
|
|
5
|
+
readonly "mocha/max-top-level-suites": 2;
|
|
6
|
+
readonly "mocha/no-async-suite": 2;
|
|
7
|
+
readonly "mocha/no-empty-title": 2;
|
|
8
|
+
readonly "mocha/no-exclusive-tests": 2;
|
|
9
|
+
readonly "mocha/no-exports": 2;
|
|
10
|
+
readonly "mocha/no-global-tests": 2;
|
|
11
|
+
readonly "mocha/no-identical-title": 2;
|
|
12
|
+
readonly "mocha/no-mocha-arrows": 2;
|
|
13
|
+
readonly "mocha/no-nested-tests": 2;
|
|
14
|
+
readonly "mocha/no-pending-tests": 2;
|
|
15
|
+
readonly "mocha/no-return-and-callback": 2;
|
|
16
|
+
readonly "mocha/no-return-from-async": 2;
|
|
17
|
+
readonly "mocha/no-sibling-hooks": 2;
|
|
18
|
+
readonly "mocha/no-top-level-hooks": 2;
|
|
19
|
+
readonly "mocha/prefer-arrow-callback": 2;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
22
|
//# sourceMappingURL=enable.d.ts.map
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
id: "disable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "prefer-arrow-callback":
|
|
5
|
-
readonly "no-unused-expressions":
|
|
4
|
+
readonly "prefer-arrow-callback": 0;
|
|
5
|
+
readonly "no-unused-expressions": 0;
|
|
6
6
|
};
|
|
7
7
|
} | {
|
|
8
8
|
id: "enable";
|
|
9
9
|
rules: {
|
|
10
|
-
readonly "mocha/handle-done-callback":
|
|
11
|
-
readonly "mocha/max-top-level-suites":
|
|
12
|
-
readonly "mocha/no-async-suite":
|
|
13
|
-
readonly "mocha/no-empty-title":
|
|
14
|
-
readonly "mocha/no-exclusive-tests":
|
|
15
|
-
readonly "mocha/no-exports":
|
|
16
|
-
readonly "mocha/no-global-tests":
|
|
17
|
-
readonly "mocha/no-identical-title":
|
|
18
|
-
readonly "mocha/no-mocha-arrows":
|
|
19
|
-
readonly "mocha/no-nested-tests":
|
|
20
|
-
readonly "mocha/no-pending-tests":
|
|
21
|
-
readonly "mocha/no-return-and-callback":
|
|
22
|
-
readonly "mocha/no-return-from-async":
|
|
23
|
-
readonly "mocha/no-sibling-hooks":
|
|
24
|
-
readonly "mocha/no-top-level-hooks":
|
|
25
|
-
readonly "mocha/prefer-arrow-callback":
|
|
10
|
+
readonly "mocha/handle-done-callback": 2;
|
|
11
|
+
readonly "mocha/max-top-level-suites": 2;
|
|
12
|
+
readonly "mocha/no-async-suite": 2;
|
|
13
|
+
readonly "mocha/no-empty-title": 2;
|
|
14
|
+
readonly "mocha/no-exclusive-tests": 2;
|
|
15
|
+
readonly "mocha/no-exports": 2;
|
|
16
|
+
readonly "mocha/no-global-tests": 2;
|
|
17
|
+
readonly "mocha/no-identical-title": 2;
|
|
18
|
+
readonly "mocha/no-mocha-arrows": 2;
|
|
19
|
+
readonly "mocha/no-nested-tests": 2;
|
|
20
|
+
readonly "mocha/no-pending-tests": 2;
|
|
21
|
+
readonly "mocha/no-return-and-callback": 2;
|
|
22
|
+
readonly "mocha/no-return-from-async": 2;
|
|
23
|
+
readonly "mocha/no-sibling-hooks": 2;
|
|
24
|
+
readonly "mocha/no-top-level-hooks": 2;
|
|
25
|
+
readonly "mocha/prefer-arrow-callback": 2;
|
|
26
26
|
};
|
|
27
27
|
} | {
|
|
28
28
|
id: string;
|
|
29
29
|
rules: {
|
|
30
|
-
readonly "chai-friendly/no-unused-expressions": readonly [
|
|
30
|
+
readonly "chai-friendly/no-unused-expressions": readonly [2, {
|
|
31
31
|
readonly allowShortCircuit: true;
|
|
32
32
|
readonly allowTernary: true;
|
|
33
33
|
}];
|
|
@@ -35,9 +35,9 @@ declare const _default: ({
|
|
|
35
35
|
} | {
|
|
36
36
|
id: string;
|
|
37
37
|
rules: {
|
|
38
|
-
readonly "chai-expect/no-inner-compare":
|
|
39
|
-
readonly "chai-expect/no-inner-literal":
|
|
40
|
-
readonly "chai-expect/missing-assertion":
|
|
38
|
+
readonly "chai-expect/no-inner-compare": 2;
|
|
39
|
+
readonly "chai-expect/no-inner-literal": 2;
|
|
40
|
+
readonly "chai-expect/missing-assertion": 2;
|
|
41
41
|
};
|
|
42
42
|
})[];
|
|
43
43
|
export default _default;
|