@eslinted/defaults 12.18.0 → 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 +562 -563
- 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 +148 -148
- 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 +550 -551
- 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/yml/enable.ts +1 -1
package/dist/rules/ts/index.d.ts
CHANGED
|
@@ -1,189 +1,189 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
id: "disable";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "consistent-return":
|
|
5
|
-
readonly "constructor-super":
|
|
6
|
-
readonly "getter-return":
|
|
7
|
-
readonly "no-class-assign":
|
|
8
|
-
readonly "no-const-assign":
|
|
9
|
-
readonly "no-dupe-args":
|
|
10
|
-
readonly "no-dupe-class-members":
|
|
11
|
-
readonly "no-dupe-keys":
|
|
12
|
-
readonly "no-func-assign":
|
|
13
|
-
readonly "no-import-assign":
|
|
14
|
-
readonly "no-invalid-this":
|
|
15
|
-
readonly "no-new-native-nonconstructor":
|
|
16
|
-
readonly "no-obj-calls":
|
|
17
|
-
readonly "no-redeclare":
|
|
18
|
-
readonly "no-setter-return":
|
|
19
|
-
readonly "no-this-before-super":
|
|
20
|
-
readonly "no-undef":
|
|
21
|
-
readonly "no-unreachable":
|
|
22
|
-
readonly "no-unsafe-negation":
|
|
4
|
+
readonly "consistent-return": 0;
|
|
5
|
+
readonly "constructor-super": 0;
|
|
6
|
+
readonly "getter-return": 0;
|
|
7
|
+
readonly "no-class-assign": 0;
|
|
8
|
+
readonly "no-const-assign": 0;
|
|
9
|
+
readonly "no-dupe-args": 0;
|
|
10
|
+
readonly "no-dupe-class-members": 0;
|
|
11
|
+
readonly "no-dupe-keys": 0;
|
|
12
|
+
readonly "no-func-assign": 0;
|
|
13
|
+
readonly "no-import-assign": 0;
|
|
14
|
+
readonly "no-invalid-this": 0;
|
|
15
|
+
readonly "no-new-native-nonconstructor": 0;
|
|
16
|
+
readonly "no-obj-calls": 0;
|
|
17
|
+
readonly "no-redeclare": 0;
|
|
18
|
+
readonly "no-setter-return": 0;
|
|
19
|
+
readonly "no-this-before-super": 0;
|
|
20
|
+
readonly "no-undef": 0;
|
|
21
|
+
readonly "no-unreachable": 0;
|
|
22
|
+
readonly "no-unsafe-negation": 0;
|
|
23
23
|
};
|
|
24
24
|
} | {
|
|
25
25
|
id: "disable/extension";
|
|
26
26
|
rules: {
|
|
27
|
-
readonly "dot-notation":
|
|
28
|
-
readonly "no-implied-eval":
|
|
29
|
-
readonly "no-restricted-imports":
|
|
30
|
-
readonly "no-throw-literal":
|
|
31
|
-
readonly "no-unused-vars":
|
|
32
|
-
readonly "prefer-destructuring":
|
|
33
|
-
readonly "prefer-promise-reject-errors":
|
|
34
|
-
readonly "require-await":
|
|
27
|
+
readonly "dot-notation": 0;
|
|
28
|
+
readonly "no-implied-eval": 0;
|
|
29
|
+
readonly "no-restricted-imports": 0;
|
|
30
|
+
readonly "no-throw-literal": 0;
|
|
31
|
+
readonly "no-unused-vars": 0;
|
|
32
|
+
readonly "prefer-destructuring": 0;
|
|
33
|
+
readonly "prefer-promise-reject-errors": 0;
|
|
34
|
+
readonly "require-await": 0;
|
|
35
35
|
};
|
|
36
36
|
} | {
|
|
37
37
|
id: "enable";
|
|
38
38
|
rules: {
|
|
39
|
-
readonly "@typescript-eslint/await-thenable":
|
|
40
|
-
readonly "@typescript-eslint/ban-ts-comment":
|
|
41
|
-
readonly "@typescript-eslint/ban-tslint-comment":
|
|
42
|
-
readonly "@typescript-eslint/class-literal-property-style":
|
|
43
|
-
readonly "@typescript-eslint/consistent-generic-constructors":
|
|
44
|
-
readonly "@typescript-eslint/consistent-indexed-object-style":
|
|
45
|
-
readonly "@typescript-eslint/consistent-type-assertions": readonly [
|
|
39
|
+
readonly "@typescript-eslint/await-thenable": 2;
|
|
40
|
+
readonly "@typescript-eslint/ban-ts-comment": 2;
|
|
41
|
+
readonly "@typescript-eslint/ban-tslint-comment": 2;
|
|
42
|
+
readonly "@typescript-eslint/class-literal-property-style": 2;
|
|
43
|
+
readonly "@typescript-eslint/consistent-generic-constructors": 2;
|
|
44
|
+
readonly "@typescript-eslint/consistent-indexed-object-style": 2;
|
|
45
|
+
readonly "@typescript-eslint/consistent-type-assertions": readonly [2, {
|
|
46
46
|
readonly arrayLiteralTypeAssertions: "never";
|
|
47
47
|
readonly objectLiteralTypeAssertions: "never";
|
|
48
48
|
}];
|
|
49
|
-
readonly "@typescript-eslint/consistent-type-exports":
|
|
50
|
-
readonly "@typescript-eslint/consistent-type-imports":
|
|
51
|
-
readonly "@typescript-eslint/explicit-member-accessibility": readonly [
|
|
49
|
+
readonly "@typescript-eslint/consistent-type-exports": 2;
|
|
50
|
+
readonly "@typescript-eslint/consistent-type-imports": 2;
|
|
51
|
+
readonly "@typescript-eslint/explicit-member-accessibility": readonly [2, {
|
|
52
52
|
readonly overrides: {
|
|
53
53
|
readonly constructors: "no-public";
|
|
54
54
|
};
|
|
55
55
|
}];
|
|
56
|
-
readonly "@typescript-eslint/member-ordering": readonly [
|
|
56
|
+
readonly "@typescript-eslint/member-ordering": readonly [2, {
|
|
57
57
|
readonly default: {
|
|
58
58
|
readonly optionalityOrder: "required-first";
|
|
59
59
|
};
|
|
60
60
|
}];
|
|
61
|
-
readonly "@typescript-eslint/method-signature-style":
|
|
62
|
-
readonly "@typescript-eslint/no-array-delete":
|
|
63
|
-
readonly "@typescript-eslint/no-base-to-string":
|
|
64
|
-
readonly "@typescript-eslint/no-confusing-non-null-assertion":
|
|
65
|
-
readonly "@typescript-eslint/no-confusing-void-expression": readonly [
|
|
61
|
+
readonly "@typescript-eslint/method-signature-style": 2;
|
|
62
|
+
readonly "@typescript-eslint/no-array-delete": 2;
|
|
63
|
+
readonly "@typescript-eslint/no-base-to-string": 2;
|
|
64
|
+
readonly "@typescript-eslint/no-confusing-non-null-assertion": 2;
|
|
65
|
+
readonly "@typescript-eslint/no-confusing-void-expression": readonly [2, {
|
|
66
66
|
readonly ignoreArrowShorthand: true;
|
|
67
67
|
readonly ignoreVoidOperator: true;
|
|
68
68
|
readonly ignoreVoidReturningFunctions: true;
|
|
69
69
|
}];
|
|
70
|
-
readonly "@typescript-eslint/no-duplicate-enum-values":
|
|
71
|
-
readonly "@typescript-eslint/no-duplicate-type-constituents":
|
|
72
|
-
readonly "@typescript-eslint/no-dynamic-delete":
|
|
73
|
-
readonly "@typescript-eslint/no-empty-object-type":
|
|
74
|
-
readonly "@typescript-eslint/no-explicit-any": readonly [
|
|
70
|
+
readonly "@typescript-eslint/no-duplicate-enum-values": 2;
|
|
71
|
+
readonly "@typescript-eslint/no-duplicate-type-constituents": 2;
|
|
72
|
+
readonly "@typescript-eslint/no-dynamic-delete": 2;
|
|
73
|
+
readonly "@typescript-eslint/no-empty-object-type": 2;
|
|
74
|
+
readonly "@typescript-eslint/no-explicit-any": readonly [2, {
|
|
75
75
|
readonly fixToUnknown: true;
|
|
76
76
|
}];
|
|
77
|
-
readonly "@typescript-eslint/no-extra-non-null-assertion":
|
|
78
|
-
readonly "@typescript-eslint/no-extraneous-class": readonly [
|
|
77
|
+
readonly "@typescript-eslint/no-extra-non-null-assertion": 2;
|
|
78
|
+
readonly "@typescript-eslint/no-extraneous-class": readonly [2, {
|
|
79
79
|
readonly allowEmpty: true;
|
|
80
80
|
}];
|
|
81
|
-
readonly "@typescript-eslint/no-floating-promises": readonly [
|
|
81
|
+
readonly "@typescript-eslint/no-floating-promises": readonly [2, {
|
|
82
82
|
readonly checkThenables: true;
|
|
83
83
|
}];
|
|
84
|
-
readonly "@typescript-eslint/no-for-in-array":
|
|
85
|
-
readonly "@typescript-eslint/no-import-type-side-effects":
|
|
86
|
-
readonly "@typescript-eslint/no-inferrable-types":
|
|
87
|
-
readonly "@typescript-eslint/no-invalid-void-type":
|
|
88
|
-
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [
|
|
84
|
+
readonly "@typescript-eslint/no-for-in-array": 2;
|
|
85
|
+
readonly "@typescript-eslint/no-import-type-side-effects": 2;
|
|
86
|
+
readonly "@typescript-eslint/no-inferrable-types": 2;
|
|
87
|
+
readonly "@typescript-eslint/no-invalid-void-type": 2;
|
|
88
|
+
readonly "@typescript-eslint/no-meaningless-void-operator": readonly [2, {
|
|
89
89
|
readonly checkNever: true;
|
|
90
90
|
}];
|
|
91
|
-
readonly "@typescript-eslint/no-misused-new":
|
|
92
|
-
readonly "@typescript-eslint/no-misused-promises":
|
|
93
|
-
readonly "@typescript-eslint/no-misused-spread":
|
|
94
|
-
readonly "@typescript-eslint/no-mixed-enums":
|
|
95
|
-
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing":
|
|
96
|
-
readonly "@typescript-eslint/no-non-null-asserted-optional-chain":
|
|
97
|
-
readonly "@typescript-eslint/no-redundant-type-constituents":
|
|
98
|
-
readonly "@typescript-eslint/no-require-imports":
|
|
99
|
-
readonly "@typescript-eslint/no-this-alias":
|
|
100
|
-
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare":
|
|
101
|
-
readonly "@typescript-eslint/no-unnecessary-condition":
|
|
102
|
-
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment":
|
|
103
|
-
readonly "@typescript-eslint/no-unnecessary-qualifier":
|
|
104
|
-
readonly "@typescript-eslint/no-unnecessary-template-expression":
|
|
105
|
-
readonly "@typescript-eslint/no-unnecessary-type-arguments":
|
|
106
|
-
readonly "@typescript-eslint/no-unnecessary-type-assertion":
|
|
107
|
-
readonly "@typescript-eslint/no-unnecessary-type-constraint":
|
|
108
|
-
readonly "@typescript-eslint/no-unnecessary-type-conversion":
|
|
109
|
-
readonly "@typescript-eslint/no-unnecessary-type-parameters":
|
|
110
|
-
readonly "@typescript-eslint/no-unsafe-argument":
|
|
111
|
-
readonly "@typescript-eslint/no-unsafe-assignment":
|
|
112
|
-
readonly "@typescript-eslint/no-unsafe-call":
|
|
113
|
-
readonly "@typescript-eslint/no-unsafe-declaration-merging":
|
|
114
|
-
readonly "@typescript-eslint/no-unsafe-enum-comparison":
|
|
115
|
-
readonly "@typescript-eslint/no-unsafe-function-type":
|
|
116
|
-
readonly "@typescript-eslint/no-unsafe-member-access":
|
|
117
|
-
readonly "@typescript-eslint/no-unsafe-return":
|
|
118
|
-
readonly "@typescript-eslint/no-unsafe-unary-minus":
|
|
119
|
-
readonly "@typescript-eslint/no-useless-empty-export":
|
|
120
|
-
readonly "@typescript-eslint/no-wrapper-object-types":
|
|
121
|
-
readonly "@typescript-eslint/parameter-properties": readonly [
|
|
91
|
+
readonly "@typescript-eslint/no-misused-new": 2;
|
|
92
|
+
readonly "@typescript-eslint/no-misused-promises": 2;
|
|
93
|
+
readonly "@typescript-eslint/no-misused-spread": 2;
|
|
94
|
+
readonly "@typescript-eslint/no-mixed-enums": 2;
|
|
95
|
+
readonly "@typescript-eslint/no-non-null-asserted-nullish-coalescing": 2;
|
|
96
|
+
readonly "@typescript-eslint/no-non-null-asserted-optional-chain": 2;
|
|
97
|
+
readonly "@typescript-eslint/no-redundant-type-constituents": 2;
|
|
98
|
+
readonly "@typescript-eslint/no-require-imports": 2;
|
|
99
|
+
readonly "@typescript-eslint/no-this-alias": 2;
|
|
100
|
+
readonly "@typescript-eslint/no-unnecessary-boolean-literal-compare": 2;
|
|
101
|
+
readonly "@typescript-eslint/no-unnecessary-condition": 2;
|
|
102
|
+
readonly "@typescript-eslint/no-unnecessary-parameter-property-assignment": 2;
|
|
103
|
+
readonly "@typescript-eslint/no-unnecessary-qualifier": 2;
|
|
104
|
+
readonly "@typescript-eslint/no-unnecessary-template-expression": 2;
|
|
105
|
+
readonly "@typescript-eslint/no-unnecessary-type-arguments": 2;
|
|
106
|
+
readonly "@typescript-eslint/no-unnecessary-type-assertion": 2;
|
|
107
|
+
readonly "@typescript-eslint/no-unnecessary-type-constraint": 2;
|
|
108
|
+
readonly "@typescript-eslint/no-unnecessary-type-conversion": 2;
|
|
109
|
+
readonly "@typescript-eslint/no-unnecessary-type-parameters": 2;
|
|
110
|
+
readonly "@typescript-eslint/no-unsafe-argument": 2;
|
|
111
|
+
readonly "@typescript-eslint/no-unsafe-assignment": 2;
|
|
112
|
+
readonly "@typescript-eslint/no-unsafe-call": 2;
|
|
113
|
+
readonly "@typescript-eslint/no-unsafe-declaration-merging": 2;
|
|
114
|
+
readonly "@typescript-eslint/no-unsafe-enum-comparison": 2;
|
|
115
|
+
readonly "@typescript-eslint/no-unsafe-function-type": 2;
|
|
116
|
+
readonly "@typescript-eslint/no-unsafe-member-access": 2;
|
|
117
|
+
readonly "@typescript-eslint/no-unsafe-return": 2;
|
|
118
|
+
readonly "@typescript-eslint/no-unsafe-unary-minus": 2;
|
|
119
|
+
readonly "@typescript-eslint/no-useless-empty-export": 2;
|
|
120
|
+
readonly "@typescript-eslint/no-wrapper-object-types": 2;
|
|
121
|
+
readonly "@typescript-eslint/parameter-properties": readonly [2, {
|
|
122
122
|
readonly prefer: "parameter-property";
|
|
123
123
|
}];
|
|
124
|
-
readonly "@typescript-eslint/prefer-as-const":
|
|
125
|
-
readonly "@typescript-eslint/prefer-enum-initializers":
|
|
126
|
-
readonly "@typescript-eslint/prefer-find":
|
|
127
|
-
readonly "@typescript-eslint/prefer-for-of":
|
|
128
|
-
readonly "@typescript-eslint/prefer-function-type":
|
|
129
|
-
readonly "@typescript-eslint/prefer-includes":
|
|
130
|
-
readonly "@typescript-eslint/prefer-literal-enum-member":
|
|
131
|
-
readonly "@typescript-eslint/prefer-namespace-keyword":
|
|
132
|
-
readonly "@typescript-eslint/prefer-nullish-coalescing":
|
|
133
|
-
readonly "@typescript-eslint/prefer-optional-chain":
|
|
134
|
-
readonly "@typescript-eslint/prefer-readonly":
|
|
135
|
-
readonly "@typescript-eslint/prefer-reduce-type-parameter":
|
|
136
|
-
readonly "@typescript-eslint/prefer-regexp-exec":
|
|
137
|
-
readonly "@typescript-eslint/prefer-return-this-type":
|
|
138
|
-
readonly "@typescript-eslint/prefer-string-starts-ends-with":
|
|
139
|
-
readonly "@typescript-eslint/promise-function-async":
|
|
140
|
-
readonly "@typescript-eslint/related-getter-setter-pairs":
|
|
141
|
-
readonly "@typescript-eslint/require-array-sort-compare":
|
|
142
|
-
readonly "@typescript-eslint/restrict-plus-operands": readonly [
|
|
124
|
+
readonly "@typescript-eslint/prefer-as-const": 2;
|
|
125
|
+
readonly "@typescript-eslint/prefer-enum-initializers": 2;
|
|
126
|
+
readonly "@typescript-eslint/prefer-find": 2;
|
|
127
|
+
readonly "@typescript-eslint/prefer-for-of": 2;
|
|
128
|
+
readonly "@typescript-eslint/prefer-function-type": 2;
|
|
129
|
+
readonly "@typescript-eslint/prefer-includes": 2;
|
|
130
|
+
readonly "@typescript-eslint/prefer-literal-enum-member": 2;
|
|
131
|
+
readonly "@typescript-eslint/prefer-namespace-keyword": 2;
|
|
132
|
+
readonly "@typescript-eslint/prefer-nullish-coalescing": 2;
|
|
133
|
+
readonly "@typescript-eslint/prefer-optional-chain": 2;
|
|
134
|
+
readonly "@typescript-eslint/prefer-readonly": 2;
|
|
135
|
+
readonly "@typescript-eslint/prefer-reduce-type-parameter": 2;
|
|
136
|
+
readonly "@typescript-eslint/prefer-regexp-exec": 2;
|
|
137
|
+
readonly "@typescript-eslint/prefer-return-this-type": 2;
|
|
138
|
+
readonly "@typescript-eslint/prefer-string-starts-ends-with": 2;
|
|
139
|
+
readonly "@typescript-eslint/promise-function-async": 2;
|
|
140
|
+
readonly "@typescript-eslint/related-getter-setter-pairs": 2;
|
|
141
|
+
readonly "@typescript-eslint/require-array-sort-compare": 2;
|
|
142
|
+
readonly "@typescript-eslint/restrict-plus-operands": readonly [2, {
|
|
143
143
|
readonly allowAny: false;
|
|
144
144
|
readonly allowBoolean: false;
|
|
145
145
|
readonly allowNullish: false;
|
|
146
146
|
readonly allowNumberAndString: false;
|
|
147
147
|
readonly allowRegExp: false;
|
|
148
148
|
}];
|
|
149
|
-
readonly "@typescript-eslint/restrict-template-expressions": readonly [
|
|
149
|
+
readonly "@typescript-eslint/restrict-template-expressions": readonly [2, {
|
|
150
150
|
readonly allowNullish: false;
|
|
151
151
|
readonly allowNever: false;
|
|
152
152
|
readonly allowRegExp: false;
|
|
153
153
|
}];
|
|
154
|
-
readonly "@typescript-eslint/return-await":
|
|
155
|
-
readonly "@typescript-eslint/strict-boolean-expressions": readonly [
|
|
154
|
+
readonly "@typescript-eslint/return-await": 2;
|
|
155
|
+
readonly "@typescript-eslint/strict-boolean-expressions": readonly [2, {
|
|
156
156
|
readonly allowNullableObject: false;
|
|
157
157
|
readonly allowString: false;
|
|
158
158
|
}];
|
|
159
|
-
readonly "@typescript-eslint/switch-exhaustiveness-check":
|
|
160
|
-
readonly "@typescript-eslint/unbound-method":
|
|
161
|
-
readonly "@typescript-eslint/unified-signatures":
|
|
162
|
-
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable":
|
|
159
|
+
readonly "@typescript-eslint/switch-exhaustiveness-check": 2;
|
|
160
|
+
readonly "@typescript-eslint/unbound-method": 2;
|
|
161
|
+
readonly "@typescript-eslint/unified-signatures": 2;
|
|
162
|
+
readonly "@typescript-eslint/use-unknown-in-catch-callback-variable": 2;
|
|
163
163
|
};
|
|
164
164
|
} | {
|
|
165
165
|
id: "enable/extension";
|
|
166
166
|
rules: {
|
|
167
|
-
readonly "@typescript-eslint/dot-notation": readonly [
|
|
167
|
+
readonly "@typescript-eslint/dot-notation": readonly [2, {
|
|
168
168
|
readonly allowPrivateClassPropertyAccess: true;
|
|
169
169
|
readonly allowProtectedClassPropertyAccess: true;
|
|
170
170
|
readonly allowIndexSignaturePropertyAccess: true;
|
|
171
171
|
}];
|
|
172
|
-
readonly "@typescript-eslint/no-implied-eval":
|
|
173
|
-
readonly "@typescript-eslint/no-unused-vars":
|
|
174
|
-
readonly "@typescript-eslint/only-throw-error": readonly [
|
|
172
|
+
readonly "@typescript-eslint/no-implied-eval": 2;
|
|
173
|
+
readonly "@typescript-eslint/no-unused-vars": 2;
|
|
174
|
+
readonly "@typescript-eslint/only-throw-error": readonly [2, {
|
|
175
175
|
readonly allowThrowingAny: false;
|
|
176
176
|
}];
|
|
177
|
-
readonly "@typescript-eslint/prefer-destructuring": readonly [
|
|
177
|
+
readonly "@typescript-eslint/prefer-destructuring": readonly [2, {
|
|
178
178
|
readonly AssignmentExpression: {
|
|
179
179
|
readonly array: false;
|
|
180
180
|
readonly object: false;
|
|
181
181
|
};
|
|
182
182
|
}];
|
|
183
|
-
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [
|
|
183
|
+
readonly "@typescript-eslint/prefer-promise-reject-errors": readonly [2, {
|
|
184
184
|
readonly allowThrowingUnknown: true;
|
|
185
185
|
}];
|
|
186
|
-
readonly "@typescript-eslint/require-await":
|
|
186
|
+
readonly "@typescript-eslint/require-await": 2;
|
|
187
187
|
};
|
|
188
188
|
})[];
|
|
189
189
|
export default _default;
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
export declare const YmlEnablePlugin: {
|
|
2
2
|
id: "enable/plugin";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
5
|
-
readonly "yml/block-mapping-question-indicator-newline":
|
|
6
|
-
readonly "yml/block-mapping":
|
|
7
|
-
readonly "yml/block-sequence-hyphen-indicator-newline":
|
|
8
|
-
readonly "yml/block-sequence":
|
|
9
|
-
readonly "yml/indent":
|
|
10
|
-
readonly "yml/no-empty-key":
|
|
11
|
-
readonly "yml/no-empty-sequence-entry":
|
|
12
|
-
readonly "yml/no-tab-indent":
|
|
13
|
-
readonly "yml/no-trailing-zeros":
|
|
14
|
-
readonly "yml/require-string-key":
|
|
15
|
-
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
4
|
+
readonly "yml/block-mapping-colon-indicator-newline": 2;
|
|
5
|
+
readonly "yml/block-mapping-question-indicator-newline": 2;
|
|
6
|
+
readonly "yml/block-mapping": 2;
|
|
7
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": 2;
|
|
8
|
+
readonly "yml/block-sequence": 2;
|
|
9
|
+
readonly "yml/indent": 2;
|
|
10
|
+
readonly "yml/no-empty-key": 2;
|
|
11
|
+
readonly "yml/no-empty-sequence-entry": 2;
|
|
12
|
+
readonly "yml/no-tab-indent": 2;
|
|
13
|
+
readonly "yml/no-trailing-zeros": 2;
|
|
14
|
+
readonly "yml/require-string-key": 2;
|
|
16
15
|
};
|
|
17
16
|
};
|
|
18
17
|
//# sourceMappingURL=enable.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;CAyB3B,CAAC"}
|
package/dist/rules/yml/enable.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QAEL,2CAA2C,EAAE,EAAE;QAC/C,8CAA8C,EAAE,EAAE;QAClD,mBAAmB,EAAE,EAAE;QACvB,6CAA6C,EAAE,EAAE;QACjD,oBAAoB,EAAE,EAAE;QAExB,YAAY,EAAE,EAAE;QAGhB,kBAAkB,EAAE,EAAE;QAEtB,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAG3B,wBAAwB,EAAE,EAAE;
|
|
1
|
+
{"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EAEF,EAAE,GACH,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QAEL,2CAA2C,EAAE,EAAE;QAC/C,8CAA8C,EAAE,EAAE;QAClD,mBAAmB,EAAE,EAAE;QACvB,6CAA6C,EAAE,EAAE;QACjD,oBAAoB,EAAE,EAAE;QAExB,YAAY,EAAE,EAAE;QAGhB,kBAAkB,EAAE,EAAE;QAEtB,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAG3B,wBAAwB,EAAE,EAAE;KAIpB;CACX,CAAC"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
export declare const YmlEnablePluginExtension: {
|
|
2
2
|
id: "enable/plugin/extension";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
4
|
+
readonly "yml/flow-mapping-curly-newline": readonly [2, {
|
|
5
5
|
readonly consistent: true;
|
|
6
6
|
readonly multiline: true;
|
|
7
7
|
readonly minProperties: 2;
|
|
8
8
|
}];
|
|
9
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
10
|
-
readonly "yml/flow-sequence-bracket-newline":
|
|
11
|
-
readonly "yml/flow-sequence-bracket-spacing":
|
|
12
|
-
readonly "yml/key-spacing":
|
|
13
|
-
readonly "yml/no-irregular-whitespace":
|
|
14
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
9
|
+
readonly "yml/flow-mapping-curly-spacing": readonly [2, "always"];
|
|
10
|
+
readonly "yml/flow-sequence-bracket-newline": 2;
|
|
11
|
+
readonly "yml/flow-sequence-bracket-spacing": 2;
|
|
12
|
+
readonly "yml/key-spacing": 2;
|
|
13
|
+
readonly "yml/no-irregular-whitespace": 2;
|
|
14
|
+
readonly "yml/no-multiple-empty-lines": readonly [2, {
|
|
15
15
|
readonly max: 1;
|
|
16
16
|
readonly maxBOF: 0;
|
|
17
17
|
readonly maxEOF: 0;
|
|
18
18
|
}];
|
|
19
|
-
readonly "yml/spaced-comment": readonly [
|
|
19
|
+
readonly "yml/spaced-comment": readonly [2, "always", {
|
|
20
20
|
readonly exceptions: readonly ["#"];
|
|
21
21
|
readonly markers: readonly ["-", "#", "##", "###", "####", "#####", "region", "endregion"];
|
|
22
22
|
}];
|
|
@@ -1,38 +1,37 @@
|
|
|
1
1
|
declare const _default: ({
|
|
2
2
|
id: "enable/plugin";
|
|
3
3
|
rules: {
|
|
4
|
-
readonly "yml/block-mapping-colon-indicator-newline":
|
|
5
|
-
readonly "yml/block-mapping-question-indicator-newline":
|
|
6
|
-
readonly "yml/block-mapping":
|
|
7
|
-
readonly "yml/block-sequence-hyphen-indicator-newline":
|
|
8
|
-
readonly "yml/block-sequence":
|
|
9
|
-
readonly "yml/indent":
|
|
10
|
-
readonly "yml/no-empty-key":
|
|
11
|
-
readonly "yml/no-empty-sequence-entry":
|
|
12
|
-
readonly "yml/no-tab-indent":
|
|
13
|
-
readonly "yml/no-trailing-zeros":
|
|
14
|
-
readonly "yml/require-string-key":
|
|
15
|
-
readonly "yml/vue-custom-block/no-parsing-error": "error";
|
|
4
|
+
readonly "yml/block-mapping-colon-indicator-newline": 2;
|
|
5
|
+
readonly "yml/block-mapping-question-indicator-newline": 2;
|
|
6
|
+
readonly "yml/block-mapping": 2;
|
|
7
|
+
readonly "yml/block-sequence-hyphen-indicator-newline": 2;
|
|
8
|
+
readonly "yml/block-sequence": 2;
|
|
9
|
+
readonly "yml/indent": 2;
|
|
10
|
+
readonly "yml/no-empty-key": 2;
|
|
11
|
+
readonly "yml/no-empty-sequence-entry": 2;
|
|
12
|
+
readonly "yml/no-tab-indent": 2;
|
|
13
|
+
readonly "yml/no-trailing-zeros": 2;
|
|
14
|
+
readonly "yml/require-string-key": 2;
|
|
16
15
|
};
|
|
17
16
|
} | {
|
|
18
17
|
id: "enable/plugin/extension";
|
|
19
18
|
rules: {
|
|
20
|
-
readonly "yml/flow-mapping-curly-newline": readonly [
|
|
19
|
+
readonly "yml/flow-mapping-curly-newline": readonly [2, {
|
|
21
20
|
readonly consistent: true;
|
|
22
21
|
readonly multiline: true;
|
|
23
22
|
readonly minProperties: 2;
|
|
24
23
|
}];
|
|
25
|
-
readonly "yml/flow-mapping-curly-spacing": readonly [
|
|
26
|
-
readonly "yml/flow-sequence-bracket-newline":
|
|
27
|
-
readonly "yml/flow-sequence-bracket-spacing":
|
|
28
|
-
readonly "yml/key-spacing":
|
|
29
|
-
readonly "yml/no-irregular-whitespace":
|
|
30
|
-
readonly "yml/no-multiple-empty-lines": readonly [
|
|
24
|
+
readonly "yml/flow-mapping-curly-spacing": readonly [2, "always"];
|
|
25
|
+
readonly "yml/flow-sequence-bracket-newline": 2;
|
|
26
|
+
readonly "yml/flow-sequence-bracket-spacing": 2;
|
|
27
|
+
readonly "yml/key-spacing": 2;
|
|
28
|
+
readonly "yml/no-irregular-whitespace": 2;
|
|
29
|
+
readonly "yml/no-multiple-empty-lines": readonly [2, {
|
|
31
30
|
readonly max: 1;
|
|
32
31
|
readonly maxBOF: 0;
|
|
33
32
|
readonly maxEOF: 0;
|
|
34
33
|
}];
|
|
35
|
-
readonly "yml/spaced-comment": readonly [
|
|
34
|
+
readonly "yml/spaced-comment": readonly [2, "always", {
|
|
36
35
|
readonly exceptions: readonly ["#"];
|
|
37
36
|
readonly markers: readonly ["-", "#", "##", "###", "####", "#####", "region", "endregion"];
|
|
38
37
|
}];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
|
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": "12.
|
|
6
|
+
"version": "12.19.0",
|
|
7
7
|
"repository": "github:jimmy-zhening-luo/linted-defaults",
|
|
8
8
|
"description": "Default scopes for `linted`",
|
|
9
9
|
"keywords": [],
|