linted 21.0.0-rc.13 → 21.0.0-rc.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- import { enable, ERROR, AlwaysMultiline, Always, Last, Never, Strict, } from "../../_strings/index.js";
1
+ import { enable, ERROR, AlwaysMultiline, Always, Last, Never, Strict, Consistent, } from "../../_strings/index.js";
2
2
  export default [
3
3
  enable,
4
4
  {
@@ -20,18 +20,7 @@ export default [
20
20
  ],
21
21
  "array-element-newline": [
22
22
  ERROR,
23
- {
24
- ArrayExpression: {
25
- consistent: true,
26
- multiline: true,
27
- minItems: 4,
28
- },
29
- ArrayPattern: {
30
- consistent: true,
31
- multiline: true,
32
- minItems: 4,
33
- },
34
- },
23
+ Consistent,
35
24
  ],
36
25
  "brace-style": [
37
26
  ERROR,
@@ -40,7 +29,10 @@ export default [
40
29
  allowSingleLine: true,
41
30
  },
42
31
  ],
43
- "comma-dangle": [ERROR, AlwaysMultiline],
32
+ "comma-dangle": [
33
+ ERROR,
34
+ AlwaysMultiline,
35
+ ],
44
36
  "comma-spacing": [
45
37
  ERROR,
46
38
  {
@@ -67,7 +59,10 @@ export default [
67
59
  },
68
60
  },
69
61
  ],
70
- "eol-last": [ERROR, Always],
62
+ "eol-last": [
63
+ ERROR,
64
+ Always,
65
+ ],
71
66
  "key-spacing": [
72
67
  ERROR,
73
68
  {
@@ -133,28 +128,7 @@ export default [
133
128
  "no-whitespace-before-property": ERROR,
134
129
  "object-curly-newline": [
135
130
  ERROR,
136
- {
137
- ObjectExpression: {
138
- consistent: true,
139
- multiline: true,
140
- minProperties: 4,
141
- },
142
- ObjectPattern: {
143
- consistent: true,
144
- multiline: true,
145
- minProperties: 4,
146
- },
147
- ImportDeclaration: {
148
- consistent: true,
149
- multiline: true,
150
- minProperties: 4,
151
- },
152
- ExportDeclaration: {
153
- consistent: true,
154
- multiline: true,
155
- minProperties: 4,
156
- },
157
- },
131
+ Consistent,
158
132
  ],
159
133
  "object-curly-spacing": [
160
134
  ERROR,
@@ -170,7 +144,6 @@ export default [
170
144
  allowAllPropertiesOnSameLine: true,
171
145
  },
172
146
  ],
173
- "spaced-comment": [ERROR, Always],
174
147
  },
175
148
  ];
176
149
  //# sourceMappingURL=enable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,eAAe,EACf,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,uBAAuB,EAAE;YACvB,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,uBAAuB,EAAE;YACvB,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,uBAAuB,EAAE;YACvB,KAAK;YACL;gBACE,eAAe,EAAE;oBACf,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;gBACD,YAAY,EAAE;oBACZ,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,QAAQ,EAAE,CAAC;iBACZ;aACF;SACF;QACD,aAAa,EAAE;YACb,KAAK;YACL,YAAY;YACZ;gBACE,eAAe,EAAE,IAAI;aACtB;SACF;QACD,cAAc,EAAE,CAAC,KAAK,EAAE,eAAe,CAAC;QACxC,eAAe,EAAE;YACf,KAAK;YACL;gBACE,MAAM,EAAE,KAAK;gBACb,KAAK,EAAE,IAAI;aACZ;SACF;QACD,aAAa,EAAE;YACb,KAAK;YACL,IAAI;YACJ;gBACE,UAAU,EAAE;oBACV,eAAe,EAAE,KAAK;oBACtB,YAAY,EAAE,KAAK;oBACnB,uBAAuB,EAAE,KAAK;oBAC9B,cAAc,EAAE,KAAK;oBACrB,mBA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SACF;QACD,yBAAyB,EAAE;YACzB,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,SAAS,EAAE;YACT,KAAK;YACL;gBACE,oBAAoB,EAAE,KAAK;aAC5B;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,cAAc,EAAE,KAAK;gBACrB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,+BAA+B,EAAE,KAAK;QACtC,sBAAsB,EAAE;YACtB,KAAK;YACL;gBACE,gBAAgB,EAAE;oBAChB,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,aAAa,EAAE,CAAC;iBACjB;gBACD,aAAa,EAAE;oBACb,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,aAAa,EAAE,CAAC;iBACjB;gBACD,iBAAiB,EAAE;oBACjB,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,aAAa,EAAE,CAAC;iBACjB;gBACD,iBAAiB,EAAE;oBACjB,UAAU,EAAE,IAAI;oBAChB,SAAS,EAAE,IAAI;oBACf,aAAa,EAAE,CAAC;iBACjB;aACF;SACF;QACD,sBAAsB,EAAE;YACtB,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,yBAAyB,EAAE;YACzB,KAAK;YACL;gBACE,4BAA4B,EAAE,IAAI;aACnC;SACF;QACD,gBAAgB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;KAClC;CACO,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,eAAe,EACf,MAAM,EACN,IAAI,EACJ,KAAK,EACL,MAAM,EACN,UAAU,GACX,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb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AC"}
@@ -8,18 +8,7 @@ declare const _default: (readonly ["enable", {
8
8
  readonly objectsInArrays: false;
9
9
  readonly arraysInArrays: false;
10
10
  }];
11
- readonly "array-element-newline": readonly ["error", {
12
- readonly ArrayExpression: {
13
- readonly consistent: true;
14
- readonly multiline: true;
15
- readonly minItems: 4;
16
- };
17
- readonly ArrayPattern: {
18
- readonly consistent: true;
19
- readonly multiline: true;
20
- readonly minItems: 4;
21
- };
22
- }];
11
+ readonly "array-element-newline": readonly ["error", "consistent"];
23
12
  readonly "brace-style": readonly ["error", "stroustrup", {
24
13
  readonly allowSingleLine: true;
25
14
  }];
@@ -102,28 +91,7 @@ declare const _default: (readonly ["enable", {
102
91
  readonly ignoreComments: false;
103
92
  }];
104
93
  readonly "no-whitespace-before-property": "error";
105
- readonly "object-curly-newline": readonly ["error", {
106
- readonly ObjectExpression: {
107
- readonly consistent: true;
108
- readonly multiline: true;
109
- readonly minProperties: 4;
110
- };
111
- readonly ObjectPattern: {
112
- readonly consistent: true;
113
- readonly multiline: true;
114
- readonly minProperties: 4;
115
- };
116
- readonly ImportDeclaration: {
117
- readonly consistent: true;
118
- readonly multiline: true;
119
- readonly minProperties: 4;
120
- };
121
- readonly ExportDeclaration: {
122
- readonly consistent: true;
123
- readonly multiline: true;
124
- readonly minProperties: 4;
125
- };
126
- }];
94
+ readonly "object-curly-newline": readonly ["error", "consistent"];
127
95
  readonly "object-curly-spacing": readonly ["error", "always", {
128
96
  readonly arraysInObjects: true;
129
97
  readonly objectsInObjects: true;
@@ -131,7 +99,6 @@ declare const _default: (readonly ["enable", {
131
99
  readonly "object-property-newline": readonly ["error", {
132
100
  readonly allowAllPropertiesOnSameLine: true;
133
101
  }];
134
- readonly "spaced-comment": readonly ["error", "always"];
135
102
  }] | readonly ["enable-extend", {
136
103
  readonly "json/no-duplicate-keys": "error";
137
104
  readonly "json/no-empty-keys": "off";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAyNW"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA4NW"}
@@ -176,7 +176,10 @@ export default [
176
176
  },
177
177
  ],
178
178
  "svelte/sort-attributes": OFF,
179
- "svelte/spaced-html-comment": [ERROR, Always],
179
+ "svelte/spaced-html-comment": [
180
+ ERROR,
181
+ Always,
182
+ ],
180
183
  "svelte/no-goto-without-base": ERROR,
181
184
  "svelte/comment-directive": [
182
185
  ERROR,
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":"AAAA,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ACL;gBACE,SAAS,EAAE,CAAC;gBACZ,UAAU,EAAE,CAAC;aACd;SACF;QACD,yBAAyB,EAAE;YACzB,KAAK;YACL;gBACE,eAAe,EAAE,KAAK;gBACtB,kBAAkB,EAAE,KAAK;gBACzB,oBAAoB,EAAE,KAAK;gBAC3B,IAAI,EAAE;oBACJ,YAAY,EAAE,KAAK;oBACnB,YAAY,EAAE,KAAK;iBACpB;aACF;SACF;QACD,kCAAkC,EAAE,KAAK;QACzC,oCAAoC,EAAE,GAAG;QACzC,kDAAkD,EAAE,KAAK;QACzD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,MAAM,EAAE,OAAO;aAChB;SACF;QACD,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,wBAAwB,EAAE,GAAG;QAC7B,4BAA4B,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QAM7C,6BAA6B,EAAE,KAAK;QAMpC,0BAA0B,EAAE;YAC1B,KAAK;YACL;gBACE,6BAA6B,EAAE,IAAI;aACpC;SACF;QACD,eAAe,EAAE,KAAK;KAIvB;CACO,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/svelte/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,MAAM,EACN,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAGE,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE,KAAK;QACnC,+BAA+B,EAAE,KAAK;QACtC,8BAA8B,EAAE,KAAK;QACrC,iCAAiC,EAAE,KAAK;QACxC,+BAA+B,EAAE,KAAK;QACtC,6BAA6B,EAAE,KAAK;QACpC,qDA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AK;QACzD,+BAA+B,EAAE;YAC/B,KAAK;YACL;gBACE,MAAM,EAAE,OAAO;aAChB;SACF;QACD,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,4BAA4B,EAAE;YAC5B,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;aACf;SACF;QACD,wBAAwB,EAAE,GAAG;QAC7B,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;SACP;QAMD,6BAA6B,EAAE,KAAK;QAMpC,0BAA0B,EAAE;YAC1B,KAAK;YACL;gBACE,6BAA6B,EAAE,IAAI;aACpC;SACF;QACD,eAAe,EAAE,KAAK;KAIvB;CACO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAgiBW"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA+iBW"}
@@ -24,9 +24,18 @@ export default [
24
24
  },
25
25
  ],
26
26
  "@typescript-eslint/ban-tslint-comment": ERROR,
27
- "@typescript-eslint/class-literal-property-style": [ERROR, "fields"],
28
- "@typescript-eslint/consistent-generic-constructors": [ERROR, "constructor"],
29
- "@typescript-eslint/consistent-indexed-object-style": [ERROR, "record"],
27
+ "@typescript-eslint/class-literal-property-style": [
28
+ ERROR,
29
+ "fields",
30
+ ],
31
+ "@typescript-eslint/consistent-generic-constructors": [
32
+ ERROR,
33
+ "constructor",
34
+ ],
35
+ "@typescript-eslint/consistent-indexed-object-style": [
36
+ ERROR,
37
+ "record",
38
+ ],
30
39
  "@typescript-eslint/consistent-type-assertions": [
31
40
  ERROR,
32
41
  {
@@ -193,7 +202,10 @@ export default [
193
202
  },
194
203
  },
195
204
  ],
196
- "@typescript-eslint/method-signature-style": [ERROR, "property"],
205
+ "@typescript-eslint/method-signature-style": [
206
+ ERROR,
207
+ "property",
208
+ ],
197
209
  "@typescript-eslint/naming-convention": OFF,
198
210
  "@typescript-eslint/no-array-delete": ERROR,
199
211
  "@typescript-eslint/no-base-to-string": [
@@ -454,7 +466,10 @@ export default [
454
466
  allowRegExp: false,
455
467
  },
456
468
  ],
457
- "@typescript-eslint/return-await": [ERROR, "in-try-catch"],
469
+ "@typescript-eslint/return-await": [
470
+ ERROR,
471
+ "in-try-catch",
472
+ ],
458
473
  "@typescript-eslint/strict-boolean-expressions": [
459
474
  ERROR,
460
475
  {
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,QAAQ,GACT,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,iDAAiD,EAAE,GAAG;QACtD,+BAA+B,EAAE;YA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,KAAK;gBAClB,uBAAuB,EAAE,KAAK;aAC/B;SACF;QACD,kDAAkD,EAAE;YAClD,KAAK;YACL;gBACE,QAAQ,EAAE,IAAI;gBACd,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE,IAAI;gBAClB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,KAAK;gBACjB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iCAAiC,EAAE,CAAC,KAAK,EAAE,cAAc,CAAC;QAC1D,+CAA+C,EAAE;YAC/C,KAAK;YACL;gBACE,sDAAsD,EAAE,KAAK;gBAC7D,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,oBAAoB,EAAE,KAAK;gBAC3B,iBAAiB,EAAE,KAAK;gBACxB,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;aAC3B;SACF;QACD,gDAAgD,EAAE;YAChD,KAAK;YACL;gBACE,mCAAmC,EAAE,KAAK;gBAC1C,kCAAkC,EAAE,IAAI;gBACxC,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,YAAY,EAAE,KAAK;aACpB;SACF;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL;gBACE,gCAAgC,EAAE,KAAK;aACxC;SACF;QACD,2DAA2D,EAAE,KAAK;KACnE;CACO,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/ts/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,QAAQ,GACT,MAAM,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AAK;gBACnB,YAAY,EAAE,KAAK;gBACnB,oBAAoB,EAAE,KAAK;gBAC3B,WAAW,EAAE,KAAK;gBAClB,uBAAuB,EAAE,KAAK;aAC/B;SACF;QACD,kDAAkD,EAAE;YAClD,KAAK;YACL;gBACE,QAAQ,EAAE,IAAI;gBACd,UAAU,EAAE,IAAI;gBAChB,YAAY,EAAE,IAAI;gBAClB,YAAY,EAAE,KAAK;gBACnB,WAAW,EAAE,IAAI;gBACjB,UAAU,EAAE,KAAK;gBACjB,WAAW,EAAE,KAAK;aACnB;SACF;QACD,iCAAiC,EAAE;YACjC,KAAK;YACL,cAAc;SACf;QACD,+CAA+C,EAAE;YAC/C,KAAK;YACL;gBACE,sDAAsD,EAAE,KAAK;gBAC7D,QAAQ,EAAE,KAAK;gBACf,WAAW,EAAE,IAAI;gBACjB,WAAW,EAAE,KAAK;gBAClB,oBAAoB,EAAE,KAAK;gBAC3B,iBAAiB,EAAE,KAAK;gBACxB,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;gBAC1B,mBAAmB,EAAE,KAAK;aAC3B;SACF;QACD,gDAAgD,EAAE;YAChD,KAAK;YACL;gBACE,mCAAmC,EAAE,KAAK;gBAC1C,kCAAkC,EAAE,IAAI;gBACxC,yBAAyB,EAAE,IAAI;aAChC;SACF;QACD,2CAA2C,EAAE;YAC3C,KAAK;YACL;gBACE,GAAG,EAAE,KAAK;gBACV,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,KAAK;aACb;SACF;QACD,4BAA4B,EAAE,GAAG;QACjC,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,YAAY,EAAE,KAAK;aACpB;SACF;QACD,uCAAuC,EAAE;YACvC,KAAK;YACL;gBACE,gCAAgC,EAAE,KAAK;aACxC;SACF;QACD,2DAA2D,EAAE,KAAK;KACnE;CACO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAyDW"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBAkEW"}
@@ -2,8 +2,14 @@ import { enable, ERROR, OFF, Never, Always, Double, } from "../../_strings/index
2
2
  export default [
3
3
  enable,
4
4
  {
5
- "yml/block-mapping-colon-indicator-newline": [ERROR, Never],
6
- "yml/block-mapping-question-indicator-newline": [ERROR, Never],
5
+ "yml/block-mapping-colon-indicator-newline": [
6
+ ERROR,
7
+ Never,
8
+ ],
9
+ "yml/block-mapping-question-indicator-newline": [
10
+ ERROR,
11
+ Never,
12
+ ],
7
13
  "yml/block-mapping": [
8
14
  ERROR,
9
15
  {
@@ -42,7 +48,10 @@ export default [
42
48
  "yml/no-empty-sequence-entry": ERROR,
43
49
  "yml/no-tab-indent": ERROR,
44
50
  "yml/no-trailing-zeros": ERROR,
45
- "yml/plain-scalar": [ERROR, Always],
51
+ "yml/plain-scalar": [
52
+ ERROR,
53
+ Always,
54
+ ],
46
55
  "yml/quotes": [
47
56
  ERROR,
48
57
  {
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC3D,8CAA8C,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC9D,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QACnC,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,EACL,GAAG,EACH,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE;YAC3C,KAAK;YACL,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,KAAK;YACL,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE;YAClB,KAAK;YACL,MAAM;SACP;QACD,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA6DW"}
1
+ {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBAgEW"}
@@ -57,7 +57,10 @@ export default [
57
57
  maxBOF: 0,
58
58
  },
59
59
  ],
60
- "yml/spaced-comment": [ERROR, Always],
60
+ "yml/spaced-comment": [
61
+ ERROR,
62
+ Always,
63
+ ],
61
64
  },
62
65
  ];
63
66
  //# sourceMappingURL=enable_x.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;KACtC;CACO,CAAC"}
1
+ {"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,KAAK,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL,MAAM;SACP;KACF;CACO,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "linted",
4
- "version": "21.0.0-rc.13",
4
+ "version": "21.0.0-rc.15",
5
5
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -37,7 +37,10 @@ export default [
37
37
  "no-await-in-loop": ERROR,
38
38
  "no-class-assign": ERROR,
39
39
  "no-compare-neg-zero": ERROR,
40
- "no-cond-assign": [ERROR, Always],
40
+ "no-cond-assign": [
41
+ ERROR,
42
+ Always,
43
+ ],
41
44
  "no-const-assign": ERROR, /* tsc */
42
45
  "no-constant-binary-expression": ERROR,
43
46
  "no-constant-condition": [
@@ -214,7 +217,10 @@ export default [
214
217
  },
215
218
  ] /* tsc -- TSLint:off: tsconfig: noImplicitReturns */,
216
219
  "consistent-this": ERROR,
217
- curly: [ERROR, Multi],
220
+ curly: [
221
+ ERROR,
222
+ Multi,
223
+ ],
218
224
  "default-case": OFF, /* preference: don't care */
219
225
  "default-case-last": ERROR,
220
226
  "default-param-last": ERROR /* TSLint */,
@@ -224,7 +230,10 @@ export default [
224
230
  allowKeywords: true,
225
231
  },
226
232
  ] /* TSLint */,
227
- eqeqeq: [ERROR, Always],
233
+ eqeqeq: [
234
+ ERROR,
235
+ Always,
236
+ ],
228
237
  "func-name-matching": OFF /* preference */,
229
238
  "func-names": OFF /* preference */,
230
239
  "func-style": OFF /* preference */,
@@ -233,7 +242,10 @@ export default [
233
242
  "id-denylist": OFF /* preference */,
234
243
  "id-length": OFF /* preference */,
235
244
  "id-match": OFF /* preference */,
236
- "init-declarations": [ERROR, Always] /* TSLint */,
245
+ "init-declarations": [
246
+ ERROR,
247
+ Always,
248
+ ] /* TSLint */,
237
249
  "logical-assignment-operators": [
238
250
  ERROR,
239
251
  Always,
@@ -320,7 +332,10 @@ export default [
320
332
  "no-implicit-globals": OFF /* investigate (breaks Scriptable? breaks Sveltekit?) */,
321
333
  "no-implied-eval": ERROR /* TSLint */,
322
334
  "no-inline-comments": OFF /* preference */,
323
- "no-invalid-this": [ERROR, { capIsConstructor: false }] /* TSLint:off: tsconfig: { strict, noImplicitThis } */,
335
+ "no-invalid-this": [
336
+ ERROR,
337
+ { capIsConstructor: false },
338
+ ] /* TSLint:off: tsconfig: { strict, noImplicitThis } */,
324
339
  "no-iterator": ERROR,
325
340
  "no-label-var": ERROR,
326
341
  "no-lone-blocks": ERROR,
@@ -358,14 +373,20 @@ export default [
358
373
  },
359
374
  ],
360
375
  "no-proto": ERROR,
361
- "no-redeclare": [ERROR, { builtinGlobals: true }] /* tsc -- TSLint:off: tsc (let, const, -var) */,
376
+ "no-redeclare": [
377
+ ERROR,
378
+ { builtinGlobals: true },
379
+ ] /* tsc -- TSLint:off: tsc (let, const, -var) */,
362
380
  "no-regex-spaces": OFF /* preference */,
363
381
  "no-restricted-exports": OFF /* preference */,
364
382
  "no-restricted-globals": OFF /* preference */,
365
383
  "no-restricted-imports": OFF /* preference -- TSLint:off */,
366
384
  "no-restricted-properties": OFF /* preference */,
367
385
  "no-restricted-syntax": OFF /* preference */,
368
- "no-return-assign": [ERROR, Always] /* ALWAYS | "except-parens" (disallow assignments unless enclosed in parens) */,
386
+ "no-return-assign": [
387
+ ERROR,
388
+ Always,
389
+ ] /* ALWAYS | "except-parens" (disallow assignments unless enclosed in parens) */,
369
390
  "no-script-url": ERROR,
370
391
  "no-sequences": [
371
392
  ERROR,
@@ -444,7 +465,10 @@ export default [
444
465
  separateRequires: true,
445
466
  },
446
467
  ],
447
- "operator-assignment": [ERROR, Always],
468
+ "operator-assignment": [
469
+ ERROR,
470
+ Always,
471
+ ],
448
472
  "prefer-arrow-callback": [
449
473
  ERROR,
450
474
  {
@@ -493,7 +517,10 @@ export default [
493
517
  "prefer-rest-params": ERROR,
494
518
  "prefer-spread": ERROR,
495
519
  "prefer-template": ERROR,
496
- radix: [ERROR, AsNeeded],
520
+ radix: [
521
+ ERROR,
522
+ AsNeeded,
523
+ ],
497
524
  "require-await": ERROR /* TSLint */,
498
525
  "require-unicode-regexp": ERROR,
499
526
  "require-yield": ERROR,
@@ -68,7 +68,10 @@ export default [
68
68
  after: true,
69
69
  },
70
70
  ],
71
- "@stylistic/block-spacing": [ERROR, Always],
71
+ "@stylistic/block-spacing": [
72
+ ERROR,
73
+ Always,
74
+ ],
72
75
  "@stylistic/brace-style": [
73
76
  ERROR,
74
77
  "stroustrup",
@@ -76,7 +79,10 @@ export default [
76
79
  allowSingleLine: true,
77
80
  },
78
81
  ],
79
- "@stylistic/comma-dangle": [ERROR, AlwaysMultiline],
82
+ "@stylistic/comma-dangle": [
83
+ ERROR,
84
+ AlwaysMultiline,
85
+ ],
80
86
  "@stylistic/comma-spacing": [
81
87
  ERROR,
82
88
  {
@@ -110,12 +116,27 @@ export default [
110
116
  enforceForClassMembers: true,
111
117
  },
112
118
  ],
113
- "@stylistic/dot-location": [ERROR, "property"],
114
- "@stylistic/eol-last": [ERROR, Always],
115
- "@stylistic/function-call-argument-newline": [ERROR, Consistent],
116
- "@stylistic/function-call-spacing": [ERROR, Never],
119
+ "@stylistic/dot-location": [
120
+ ERROR,
121
+ "property",
122
+ ],
123
+ "@stylistic/eol-last": [
124
+ ERROR,
125
+ Always,
126
+ ],
127
+ "@stylistic/function-call-argument-newline": [
128
+ ERROR,
129
+ Consistent,
130
+ ],
131
+ "@stylistic/function-call-spacing": [
132
+ ERROR,
133
+ Never,
134
+ ],
117
135
 
118
- "@stylistic/function-paren-newline": [ERROR, "multiline-arguments"] /* BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
136
+ "@stylistic/function-paren-newline": [
137
+ ERROR,
138
+ "multiline-arguments",
139
+ ] /* BUG: https://github.com/eslint-stylistic/eslint-stylistic/issues/290 */,
119
140
  "@stylistic/generator-star-spacing": [
120
141
  ERROR,
121
142
  {
@@ -123,7 +144,10 @@ export default [
123
144
  after: false,
124
145
  },
125
146
  ],
126
- "@stylistic/implicit-arrow-linebreak": [ERROR, Beside],
147
+ "@stylistic/implicit-arrow-linebreak": [
148
+ ERROR,
149
+ Beside,
150
+ ],
127
151
  "@stylistic/indent": [
128
152
  ERROR,
129
153
  2,
@@ -145,7 +169,10 @@ export default [
145
169
  ignoreComments: false,
146
170
  },
147
171
  ],
148
- "@stylistic/indent-binary-ops": [ERROR, 2],
172
+ "@stylistic/indent-binary-ops": [
173
+ ERROR,
174
+ 2,
175
+ ],
149
176
  "@stylistic/key-spacing": [
150
177
  ERROR,
151
178
  {
@@ -240,8 +267,14 @@ export default [
240
267
  },
241
268
  ],
242
269
  "@stylistic/multiline-comment-style": OFF,
243
- "@stylistic/multiline-ternary": [ERROR, AlwaysMultiline],
244
- "@stylistic/new-parens": [OFF, Never],
270
+ "@stylistic/multiline-ternary": [
271
+ ERROR,
272
+ AlwaysMultiline,
273
+ ],
274
+ "@stylistic/new-parens": [
275
+ OFF,
276
+ Never,
277
+ ],
245
278
  "@stylistic/newline-per-chained-call": [
246
279
  ERROR,
247
280
  {
@@ -352,7 +385,10 @@ export default [
352
385
  allowAllPropertiesOnSameLine: true,
353
386
  },
354
387
  ],
355
- "@stylistic/one-var-declaration-per-line": [ERROR, Always],
388
+ "@stylistic/one-var-declaration-per-line": [
389
+ ERROR,
390
+ Always,
391
+ ],
356
392
  "@stylistic/operator-linebreak": [
357
393
  ERROR,
358
394
  Before,
@@ -518,7 +554,10 @@ export default [
518
554
  allowTemplateLiterals: true,
519
555
  },
520
556
  ],
521
- "@stylistic/rest-spread-spacing": [ERROR, Never],
557
+ "@stylistic/rest-spread-spacing": [
558
+ ERROR,
559
+ Never,
560
+ ],
522
561
  "@stylistic/semi": [
523
562
  ERROR,
524
563
  Always,
@@ -534,7 +573,10 @@ export default [
534
573
  after: true,
535
574
  },
536
575
  ],
537
- "@stylistic/semi-style": [ERROR, Last],
576
+ "@stylistic/semi-style": [
577
+ ERROR,
578
+ Last,
579
+ ],
538
580
  "@stylistic/space-before-blocks": [
539
581
  ERROR,
540
582
  {
@@ -551,7 +593,10 @@ export default [
551
593
  asyncArrow: Always,
552
594
  },
553
595
  ],
554
- "@stylistic/space-in-parens": [ERROR, Never],
596
+ "@stylistic/space-in-parens": [
597
+ ERROR,
598
+ Never,
599
+ ],
555
600
  "@stylistic/space-infix-ops": [
556
601
  ERROR,
557
602
  {
@@ -566,7 +611,10 @@ export default [
566
611
  overrides: {},
567
612
  },
568
613
  ],
569
- "@stylistic/spaced-comment": [ERROR, Always],
614
+ "@stylistic/spaced-comment": [
615
+ ERROR,
616
+ Always,
617
+ ],
570
618
  "@stylistic/switch-colon-spacing": [
571
619
  ERROR,
572
620
  {
@@ -574,8 +622,14 @@ export default [
574
622
  before: false,
575
623
  },
576
624
  ],
577
- "@stylistic/template-curly-spacing": [ERROR, Never],
578
- "@stylistic/template-tag-spacing": [ERROR, Never],
625
+ "@stylistic/template-curly-spacing": [
626
+ ERROR,
627
+ Never,
628
+ ],
629
+ "@stylistic/template-tag-spacing": [
630
+ ERROR,
631
+ Never,
632
+ ],
579
633
  "@stylistic/type-annotation-spacing": [
580
634
  ERROR,
581
635
  {