linted 21.0.0-rc.11 → 21.0.0-rc.13

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.
@@ -4337,14 +4337,282 @@ declare const _default: {
4337
4337
  readonly "mocha/valid-test-description": "off";
4338
4338
  }])[];
4339
4339
  html: (readonly ["enable", Partial<Record<"@html-eslint/require-lang" | "@html-eslint/require-img-alt" | "@html-eslint/require-doctype" | "@html-eslint/require-title" | "@html-eslint/no-duplicate-id" | "@html-eslint/no-inline-styles" | "@html-eslint/no-multiple-h1" | "@html-eslint/no-extra-spacing-attrs" | "@html-eslint/no-extra-spacing-text" | "@html-eslint/attrs-newline" | "@html-eslint/element-newline" | "@html-eslint/no-skip-heading-levels" | "@html-eslint/require-li-container" | "@html-eslint/indent" | "@html-eslint/quotes" | "@html-eslint/id-naming-convention" | "@html-eslint/no-obsolete-tags" | "@html-eslint/require-attrs" | "@html-eslint/require-closing-tags" | "@html-eslint/require-meta-description" | "@html-eslint/require-frame-title" | "@html-eslint/no-non-scalable-viewport" | "@html-eslint/no-positive-tabindex" | "@html-eslint/require-meta-viewport" | "@html-eslint/require-meta-charset" | "@html-eslint/no-target-blank" | "@html-eslint/no-duplicate-attrs" | "@html-eslint/no-abstract-roles" | "@html-eslint/require-button-type" | "@html-eslint/no-aria-hidden-body" | "@html-eslint/no-multiple-empty-lines" | "@html-eslint/no-accesskey-attrs" | "@html-eslint/no-restricted-attrs" | "@html-eslint/no-trailing-spaces" | "@html-eslint/no-restricted-attr-values" | "@html-eslint/no-script-style-type" | "@html-eslint/lowercase" | "@html-eslint/require-open-graph-protocol" | "@html-eslint/sort-attrs", unknown>>])[];
4340
- json: (readonly ["enable-extend", {
4340
+ json: (readonly ["enable", {
4341
+ readonly "array-bracket-newline": readonly ["error", {
4342
+ readonly multiline: true;
4343
+ readonly minItems: null;
4344
+ }];
4345
+ readonly "array-bracket-spacing": readonly ["error", "never", {
4346
+ readonly singleValue: false;
4347
+ readonly objectsInArrays: false;
4348
+ readonly arraysInArrays: false;
4349
+ }];
4350
+ readonly "array-element-newline": readonly ["error", {
4351
+ readonly ArrayExpression: {
4352
+ readonly consistent: true;
4353
+ readonly multiline: true;
4354
+ readonly minItems: 4;
4355
+ };
4356
+ readonly ArrayPattern: {
4357
+ readonly consistent: true;
4358
+ readonly multiline: true;
4359
+ readonly minItems: 4;
4360
+ };
4361
+ }];
4362
+ readonly "brace-style": readonly ["error", "stroustrup", {
4363
+ readonly allowSingleLine: true;
4364
+ }];
4365
+ readonly "comma-dangle": readonly ["error", "always-multiline"];
4366
+ readonly "comma-spacing": readonly ["error", {
4367
+ readonly before: false;
4368
+ readonly after: true;
4369
+ }];
4370
+ readonly "comma-style": readonly ["error", "last", {
4371
+ readonly exceptions: {
4372
+ readonly ArrayExpression: false;
4373
+ readonly ArrayPattern: false;
4374
+ readonly ArrowFunctionExpression: false;
4375
+ readonly CallExpression: false;
4376
+ readonly FunctionDeclaration: false;
4377
+ readonly FunctionExpression: false;
4378
+ readonly ImportDeclaration: false;
4379
+ readonly ObjectExpression: false;
4380
+ readonly ObjectPattern: false;
4381
+ readonly VariableDeclaration: false;
4382
+ readonly NewExpression: false;
4383
+ };
4384
+ }];
4385
+ readonly "eol-last": readonly ["error", "always"];
4386
+ readonly "key-spacing": readonly ["error", {
4387
+ readonly beforeColon: false;
4388
+ readonly afterColon: true;
4389
+ readonly mode: "strict";
4390
+ }];
4391
+ readonly indent: readonly ["error", 2, {
4392
+ readonly ignoredNodes: readonly [];
4393
+ readonly SwitchCase: 1;
4394
+ readonly VariableDeclarator: {
4395
+ readonly var: 0;
4396
+ readonly let: 0;
4397
+ readonly const: 0;
4398
+ };
4399
+ readonly outerIIFEBody: 0;
4400
+ readonly MemberExpression: 1;
4401
+ readonly FunctionDeclaration: {
4402
+ readonly parameters: 1;
4403
+ readonly body: 1;
4404
+ };
4405
+ readonly FunctionExpression: {
4406
+ readonly parameters: 1;
4407
+ readonly body: 1;
4408
+ };
4409
+ readonly StaticBlock: {
4410
+ readonly body: 1;
4411
+ };
4412
+ readonly CallExpression: {
4413
+ readonly arguments: 1;
4414
+ };
4415
+ readonly ArrayExpression: 1;
4416
+ readonly ObjectExpression: 1;
4417
+ readonly ImportDeclaration: 1;
4418
+ readonly flatTernaryExpressions: false;
4419
+ readonly offsetTernaryExpressions: true;
4420
+ readonly ignoreComments: false;
4421
+ }];
4422
+ readonly "no-mixed-spaces-and-tabs": "error";
4423
+ readonly "no-multi-spaces": readonly ["error", {
4424
+ readonly ignoreEOLComments: false;
4425
+ readonly exceptions: {
4426
+ readonly Property: false;
4427
+ readonly ImportAttributes: false;
4428
+ };
4429
+ readonly includeTabs: true;
4430
+ }];
4431
+ readonly "no-multiple-empty-lines": readonly ["error", {
4432
+ readonly max: 1;
4433
+ readonly maxEOF: 1;
4434
+ readonly maxBOF: 0;
4435
+ }];
4436
+ readonly "no-tabs": readonly ["error", {
4437
+ readonly allowIndentationTabs: false;
4438
+ }];
4439
+ readonly "no-trailing-spaces": readonly ["error", {
4440
+ readonly skipBlankLines: false;
4441
+ readonly ignoreComments: false;
4442
+ }];
4443
+ readonly "no-whitespace-before-property": "error";
4444
+ readonly "object-curly-newline": readonly ["error", {
4445
+ readonly ObjectExpression: {
4446
+ readonly consistent: true;
4447
+ readonly multiline: true;
4448
+ readonly minProperties: 4;
4449
+ };
4450
+ readonly ObjectPattern: {
4451
+ readonly consistent: true;
4452
+ readonly multiline: true;
4453
+ readonly minProperties: 4;
4454
+ };
4455
+ readonly ImportDeclaration: {
4456
+ readonly consistent: true;
4457
+ readonly multiline: true;
4458
+ readonly minProperties: 4;
4459
+ };
4460
+ readonly ExportDeclaration: {
4461
+ readonly consistent: true;
4462
+ readonly multiline: true;
4463
+ readonly minProperties: 4;
4464
+ };
4465
+ }];
4466
+ readonly "object-curly-spacing": readonly ["error", "always", {
4467
+ readonly arraysInObjects: true;
4468
+ readonly objectsInObjects: true;
4469
+ }];
4470
+ readonly "object-property-newline": readonly ["error", {
4471
+ readonly allowAllPropertiesOnSameLine: true;
4472
+ }];
4473
+ readonly "spaced-comment": readonly ["error", "always"];
4474
+ }] | readonly ["enable-extend", {
4341
4475
  readonly "json/no-duplicate-keys": "error";
4342
4476
  readonly "json/no-empty-keys": "off";
4343
- }] | readonly ["enable", {}])[];
4344
- jsonc: (readonly ["enable-extend", {
4477
+ }])[];
4478
+ jsonc: (readonly ["enable", {
4479
+ readonly "array-bracket-newline": readonly ["error", {
4480
+ readonly multiline: true;
4481
+ readonly minItems: null;
4482
+ }];
4483
+ readonly "array-bracket-spacing": readonly ["error", "never", {
4484
+ readonly singleValue: false;
4485
+ readonly objectsInArrays: false;
4486
+ readonly arraysInArrays: false;
4487
+ }];
4488
+ readonly "array-element-newline": readonly ["error", {
4489
+ readonly ArrayExpression: {
4490
+ readonly consistent: true;
4491
+ readonly multiline: true;
4492
+ readonly minItems: 4;
4493
+ };
4494
+ readonly ArrayPattern: {
4495
+ readonly consistent: true;
4496
+ readonly multiline: true;
4497
+ readonly minItems: 4;
4498
+ };
4499
+ }];
4500
+ readonly "brace-style": readonly ["error", "stroustrup", {
4501
+ readonly allowSingleLine: true;
4502
+ }];
4503
+ readonly "comma-dangle": readonly ["error", "always-multiline"];
4504
+ readonly "comma-spacing": readonly ["error", {
4505
+ readonly before: false;
4506
+ readonly after: true;
4507
+ }];
4508
+ readonly "comma-style": readonly ["error", "last", {
4509
+ readonly exceptions: {
4510
+ readonly ArrayExpression: false;
4511
+ readonly ArrayPattern: false;
4512
+ readonly ArrowFunctionExpression: false;
4513
+ readonly CallExpression: false;
4514
+ readonly FunctionDeclaration: false;
4515
+ readonly FunctionExpression: false;
4516
+ readonly ImportDeclaration: false;
4517
+ readonly ObjectExpression: false;
4518
+ readonly ObjectPattern: false;
4519
+ readonly VariableDeclaration: false;
4520
+ readonly NewExpression: false;
4521
+ };
4522
+ }];
4523
+ readonly "eol-last": readonly ["error", "always"];
4524
+ readonly "key-spacing": readonly ["error", {
4525
+ readonly beforeColon: false;
4526
+ readonly afterColon: true;
4527
+ readonly mode: "strict";
4528
+ }];
4529
+ readonly indent: readonly ["error", 2, {
4530
+ readonly ignoredNodes: readonly [];
4531
+ readonly SwitchCase: 1;
4532
+ readonly VariableDeclarator: {
4533
+ readonly var: 0;
4534
+ readonly let: 0;
4535
+ readonly const: 0;
4536
+ };
4537
+ readonly outerIIFEBody: 0;
4538
+ readonly MemberExpression: 1;
4539
+ readonly FunctionDeclaration: {
4540
+ readonly parameters: 1;
4541
+ readonly body: 1;
4542
+ };
4543
+ readonly FunctionExpression: {
4544
+ readonly parameters: 1;
4545
+ readonly body: 1;
4546
+ };
4547
+ readonly StaticBlock: {
4548
+ readonly body: 1;
4549
+ };
4550
+ readonly CallExpression: {
4551
+ readonly arguments: 1;
4552
+ };
4553
+ readonly ArrayExpression: 1;
4554
+ readonly ObjectExpression: 1;
4555
+ readonly ImportDeclaration: 1;
4556
+ readonly flatTernaryExpressions: false;
4557
+ readonly offsetTernaryExpressions: true;
4558
+ readonly ignoreComments: false;
4559
+ }];
4560
+ readonly "no-mixed-spaces-and-tabs": "error";
4561
+ readonly "no-multi-spaces": readonly ["error", {
4562
+ readonly ignoreEOLComments: false;
4563
+ readonly exceptions: {
4564
+ readonly Property: false;
4565
+ readonly ImportAttributes: false;
4566
+ };
4567
+ readonly includeTabs: true;
4568
+ }];
4569
+ readonly "no-multiple-empty-lines": readonly ["error", {
4570
+ readonly max: 1;
4571
+ readonly maxEOF: 1;
4572
+ readonly maxBOF: 0;
4573
+ }];
4574
+ readonly "no-tabs": readonly ["error", {
4575
+ readonly allowIndentationTabs: false;
4576
+ }];
4577
+ readonly "no-trailing-spaces": readonly ["error", {
4578
+ readonly skipBlankLines: false;
4579
+ readonly ignoreComments: false;
4580
+ }];
4581
+ readonly "no-whitespace-before-property": "error";
4582
+ readonly "object-curly-newline": readonly ["error", {
4583
+ readonly ObjectExpression: {
4584
+ readonly consistent: true;
4585
+ readonly multiline: true;
4586
+ readonly minProperties: 4;
4587
+ };
4588
+ readonly ObjectPattern: {
4589
+ readonly consistent: true;
4590
+ readonly multiline: true;
4591
+ readonly minProperties: 4;
4592
+ };
4593
+ readonly ImportDeclaration: {
4594
+ readonly consistent: true;
4595
+ readonly multiline: true;
4596
+ readonly minProperties: 4;
4597
+ };
4598
+ readonly ExportDeclaration: {
4599
+ readonly consistent: true;
4600
+ readonly multiline: true;
4601
+ readonly minProperties: 4;
4602
+ };
4603
+ }];
4604
+ readonly "object-curly-spacing": readonly ["error", "always", {
4605
+ readonly arraysInObjects: true;
4606
+ readonly objectsInObjects: true;
4607
+ }];
4608
+ readonly "object-property-newline": readonly ["error", {
4609
+ readonly allowAllPropertiesOnSameLine: true;
4610
+ }];
4611
+ readonly "spaced-comment": readonly ["error", "always"];
4612
+ }] | readonly ["enable-extend", {
4345
4613
  readonly "json/no-duplicate-keys": "error";
4346
4614
  readonly "json/no-empty-keys": "off";
4347
- }] | readonly ["enable", {}])[];
4615
+ }])[];
4348
4616
  yml: (readonly ["enable-extend", {
4349
4617
  readonly "yml/flow-mapping-curly-newline": readonly ["error", {
4350
4618
  readonly consistent: false;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
@@ -1,3 +1,137 @@
1
- declare const _default: readonly ["enable", {}];
1
+ declare const _default: readonly ["enable", {
2
+ readonly "array-bracket-newline": readonly ["error", {
3
+ readonly multiline: true;
4
+ readonly minItems: null;
5
+ }];
6
+ readonly "array-bracket-spacing": readonly ["error", "never", {
7
+ readonly singleValue: false;
8
+ readonly objectsInArrays: false;
9
+ readonly arraysInArrays: false;
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
+ }];
23
+ readonly "brace-style": readonly ["error", "stroustrup", {
24
+ readonly allowSingleLine: true;
25
+ }];
26
+ readonly "comma-dangle": readonly ["error", "always-multiline"];
27
+ readonly "comma-spacing": readonly ["error", {
28
+ readonly before: false;
29
+ readonly after: true;
30
+ }];
31
+ readonly "comma-style": readonly ["error", "last", {
32
+ readonly exceptions: {
33
+ readonly ArrayExpression: false;
34
+ readonly ArrayPattern: false;
35
+ readonly ArrowFunctionExpression: false;
36
+ readonly CallExpression: false;
37
+ readonly FunctionDeclaration: false;
38
+ readonly FunctionExpression: false;
39
+ readonly ImportDeclaration: false;
40
+ readonly ObjectExpression: false;
41
+ readonly ObjectPattern: false;
42
+ readonly VariableDeclaration: false;
43
+ readonly NewExpression: false;
44
+ };
45
+ }];
46
+ readonly "eol-last": readonly ["error", "always"];
47
+ readonly "key-spacing": readonly ["error", {
48
+ readonly beforeColon: false;
49
+ readonly afterColon: true;
50
+ readonly mode: "strict";
51
+ }];
52
+ readonly indent: readonly ["error", 2, {
53
+ readonly ignoredNodes: readonly [];
54
+ readonly SwitchCase: 1;
55
+ readonly VariableDeclarator: {
56
+ readonly var: 0;
57
+ readonly let: 0;
58
+ readonly const: 0;
59
+ };
60
+ readonly outerIIFEBody: 0;
61
+ readonly MemberExpression: 1;
62
+ readonly FunctionDeclaration: {
63
+ readonly parameters: 1;
64
+ readonly body: 1;
65
+ };
66
+ readonly FunctionExpression: {
67
+ readonly parameters: 1;
68
+ readonly body: 1;
69
+ };
70
+ readonly StaticBlock: {
71
+ readonly body: 1;
72
+ };
73
+ readonly CallExpression: {
74
+ readonly arguments: 1;
75
+ };
76
+ readonly ArrayExpression: 1;
77
+ readonly ObjectExpression: 1;
78
+ readonly ImportDeclaration: 1;
79
+ readonly flatTernaryExpressions: false;
80
+ readonly offsetTernaryExpressions: true;
81
+ readonly ignoreComments: false;
82
+ }];
83
+ readonly "no-mixed-spaces-and-tabs": "error";
84
+ readonly "no-multi-spaces": readonly ["error", {
85
+ readonly ignoreEOLComments: false;
86
+ readonly exceptions: {
87
+ readonly Property: false;
88
+ readonly ImportAttributes: false;
89
+ };
90
+ readonly includeTabs: true;
91
+ }];
92
+ readonly "no-multiple-empty-lines": readonly ["error", {
93
+ readonly max: 1;
94
+ readonly maxEOF: 1;
95
+ readonly maxBOF: 0;
96
+ }];
97
+ readonly "no-tabs": readonly ["error", {
98
+ readonly allowIndentationTabs: false;
99
+ }];
100
+ readonly "no-trailing-spaces": readonly ["error", {
101
+ readonly skipBlankLines: false;
102
+ readonly ignoreComments: false;
103
+ }];
104
+ 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
+ }];
127
+ readonly "object-curly-spacing": readonly ["error", "always", {
128
+ readonly arraysInObjects: true;
129
+ readonly objectsInObjects: true;
130
+ }];
131
+ readonly "object-property-newline": readonly ["error", {
132
+ readonly allowAllPropertiesOnSameLine: true;
133
+ }];
134
+ readonly "spaced-comment": readonly ["error", "always"];
135
+ }];
2
136
  export default _default;
3
137
  //# sourceMappingURL=enable.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":";AAIA,wBAKW"}
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBA8KW"}
@@ -1,6 +1,176 @@
1
- import { enable, } from "../../_strings/index.js";
1
+ import { enable, ERROR, AlwaysMultiline, Always, Last, Never, Strict, } from "../../_strings/index.js";
2
2
  export default [
3
3
  enable,
4
- {},
4
+ {
5
+ "array-bracket-newline": [
6
+ ERROR,
7
+ {
8
+ multiline: true,
9
+ minItems: null,
10
+ },
11
+ ],
12
+ "array-bracket-spacing": [
13
+ ERROR,
14
+ Never,
15
+ {
16
+ singleValue: false,
17
+ objectsInArrays: false,
18
+ arraysInArrays: false,
19
+ },
20
+ ],
21
+ "array-element-newline": [
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
+ },
35
+ ],
36
+ "brace-style": [
37
+ ERROR,
38
+ "stroustrup",
39
+ {
40
+ allowSingleLine: true,
41
+ },
42
+ ],
43
+ "comma-dangle": [ERROR, AlwaysMultiline],
44
+ "comma-spacing": [
45
+ ERROR,
46
+ {
47
+ before: false,
48
+ after: true,
49
+ },
50
+ ],
51
+ "comma-style": [
52
+ ERROR,
53
+ Last,
54
+ {
55
+ exceptions: {
56
+ ArrayExpression: false,
57
+ ArrayPattern: false,
58
+ ArrowFunctionExpression: false,
59
+ CallExpression: false,
60
+ FunctionDeclaration: false,
61
+ FunctionExpression: false,
62
+ ImportDeclaration: false,
63
+ ObjectExpression: false,
64
+ ObjectPattern: false,
65
+ VariableDeclaration: false,
66
+ NewExpression: false,
67
+ },
68
+ },
69
+ ],
70
+ "eol-last": [ERROR, Always],
71
+ "key-spacing": [
72
+ ERROR,
73
+ {
74
+ beforeColon: false,
75
+ afterColon: true,
76
+ mode: Strict,
77
+ },
78
+ ],
79
+ indent: [
80
+ ERROR,
81
+ 2,
82
+ {
83
+ ignoredNodes: [],
84
+ SwitchCase: 1,
85
+ VariableDeclarator: { "var": 0, let: 0, "const": 0 },
86
+ outerIIFEBody: 0,
87
+ MemberExpression: 1,
88
+ FunctionDeclaration: { parameters: 1, body: 1 },
89
+ FunctionExpression: { parameters: 1, body: 1 },
90
+ StaticBlock: { body: 1 },
91
+ CallExpression: { arguments: 1 },
92
+ ArrayExpression: 1,
93
+ ObjectExpression: 1,
94
+ ImportDeclaration: 1,
95
+ flatTernaryExpressions: false,
96
+ offsetTernaryExpressions: true,
97
+ ignoreComments: false,
98
+ },
99
+ ],
100
+ "no-mixed-spaces-and-tabs": ERROR,
101
+ "no-multi-spaces": [
102
+ ERROR,
103
+ {
104
+ ignoreEOLComments: false,
105
+ exceptions: {
106
+ Property: false,
107
+ ImportAttributes: false,
108
+ },
109
+ includeTabs: true,
110
+ },
111
+ ],
112
+ "no-multiple-empty-lines": [
113
+ ERROR,
114
+ {
115
+ max: 1,
116
+ maxEOF: 1,
117
+ maxBOF: 0,
118
+ },
119
+ ],
120
+ "no-tabs": [
121
+ ERROR,
122
+ {
123
+ allowIndentationTabs: false,
124
+ },
125
+ ],
126
+ "no-trailing-spaces": [
127
+ ERROR,
128
+ {
129
+ skipBlankLines: false,
130
+ ignoreComments: false,
131
+ },
132
+ ],
133
+ "no-whitespace-before-property": ERROR,
134
+ "object-curly-newline": [
135
+ 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
+ },
158
+ ],
159
+ "object-curly-spacing": [
160
+ ERROR,
161
+ Always,
162
+ {
163
+ arraysInObjects: true,
164
+ objectsInObjects: true,
165
+ },
166
+ ],
167
+ "object-property-newline": [
168
+ ERROR,
169
+ {
170
+ allowAllPropertiesOnSameLine: true,
171
+ },
172
+ ],
173
+ "spaced-comment": [ERROR, Always],
174
+ },
5
175
  ];
6
176
  //# 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,GACP,MAAM,gBAAgB,CAAC;AAExB,eAAe;IACb,MAAM;IACN,EAEC;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,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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;QACjC,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,iBAAiB,EAAE,KAAK;gBACxB,UAAU,EAAE;oBACV,QAAQ,EAAE,KAAK;oBACf,gBAAgB,EAAE,KAAK;iBACxB;gBACD,WAAW,EAAE,IAAI;aAClB;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,6 +1,140 @@
1
- declare const _default: (readonly ["enable-extend", {
1
+ declare const _default: (readonly ["enable", {
2
+ readonly "array-bracket-newline": readonly ["error", {
3
+ readonly multiline: true;
4
+ readonly minItems: null;
5
+ }];
6
+ readonly "array-bracket-spacing": readonly ["error", "never", {
7
+ readonly singleValue: false;
8
+ readonly objectsInArrays: false;
9
+ readonly arraysInArrays: false;
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
+ }];
23
+ readonly "brace-style": readonly ["error", "stroustrup", {
24
+ readonly allowSingleLine: true;
25
+ }];
26
+ readonly "comma-dangle": readonly ["error", "always-multiline"];
27
+ readonly "comma-spacing": readonly ["error", {
28
+ readonly before: false;
29
+ readonly after: true;
30
+ }];
31
+ readonly "comma-style": readonly ["error", "last", {
32
+ readonly exceptions: {
33
+ readonly ArrayExpression: false;
34
+ readonly ArrayPattern: false;
35
+ readonly ArrowFunctionExpression: false;
36
+ readonly CallExpression: false;
37
+ readonly FunctionDeclaration: false;
38
+ readonly FunctionExpression: false;
39
+ readonly ImportDeclaration: false;
40
+ readonly ObjectExpression: false;
41
+ readonly ObjectPattern: false;
42
+ readonly VariableDeclaration: false;
43
+ readonly NewExpression: false;
44
+ };
45
+ }];
46
+ readonly "eol-last": readonly ["error", "always"];
47
+ readonly "key-spacing": readonly ["error", {
48
+ readonly beforeColon: false;
49
+ readonly afterColon: true;
50
+ readonly mode: "strict";
51
+ }];
52
+ readonly indent: readonly ["error", 2, {
53
+ readonly ignoredNodes: readonly [];
54
+ readonly SwitchCase: 1;
55
+ readonly VariableDeclarator: {
56
+ readonly var: 0;
57
+ readonly let: 0;
58
+ readonly const: 0;
59
+ };
60
+ readonly outerIIFEBody: 0;
61
+ readonly MemberExpression: 1;
62
+ readonly FunctionDeclaration: {
63
+ readonly parameters: 1;
64
+ readonly body: 1;
65
+ };
66
+ readonly FunctionExpression: {
67
+ readonly parameters: 1;
68
+ readonly body: 1;
69
+ };
70
+ readonly StaticBlock: {
71
+ readonly body: 1;
72
+ };
73
+ readonly CallExpression: {
74
+ readonly arguments: 1;
75
+ };
76
+ readonly ArrayExpression: 1;
77
+ readonly ObjectExpression: 1;
78
+ readonly ImportDeclaration: 1;
79
+ readonly flatTernaryExpressions: false;
80
+ readonly offsetTernaryExpressions: true;
81
+ readonly ignoreComments: false;
82
+ }];
83
+ readonly "no-mixed-spaces-and-tabs": "error";
84
+ readonly "no-multi-spaces": readonly ["error", {
85
+ readonly ignoreEOLComments: false;
86
+ readonly exceptions: {
87
+ readonly Property: false;
88
+ readonly ImportAttributes: false;
89
+ };
90
+ readonly includeTabs: true;
91
+ }];
92
+ readonly "no-multiple-empty-lines": readonly ["error", {
93
+ readonly max: 1;
94
+ readonly maxEOF: 1;
95
+ readonly maxBOF: 0;
96
+ }];
97
+ readonly "no-tabs": readonly ["error", {
98
+ readonly allowIndentationTabs: false;
99
+ }];
100
+ readonly "no-trailing-spaces": readonly ["error", {
101
+ readonly skipBlankLines: false;
102
+ readonly ignoreComments: false;
103
+ }];
104
+ 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
+ }];
127
+ readonly "object-curly-spacing": readonly ["error", "always", {
128
+ readonly arraysInObjects: true;
129
+ readonly objectsInObjects: true;
130
+ }];
131
+ readonly "object-property-newline": readonly ["error", {
132
+ readonly allowAllPropertiesOnSameLine: true;
133
+ }];
134
+ readonly "spaced-comment": readonly ["error", "always"];
135
+ }] | readonly ["enable-extend", {
2
136
  readonly "json/no-duplicate-keys": "error";
3
137
  readonly "json/no-empty-keys": "off";
4
- }] | readonly ["enable", {}])[];
138
+ }])[];
5
139
  export default _default;
6
140
  //# sourceMappingURL=index.d.ts.map
@@ -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,7 +1,7 @@
1
1
  import enable from "./enable.js";
2
2
  import enable_x from "./enable_x.js";
3
3
  export default [
4
- enable_x,
5
4
  enable,
5
+ enable_x,
6
6
  ];
7
7
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,eAAe;IACb,QAAQ;IACR,MAAM;CACP,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,QAAQ,MAAM,YAAY,CAAC;AAElC,eAAe;IACb,MAAM;IACN,QAAQ;CACT,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.11",
4
+ "version": "21.0.0-rc.13",
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",
@@ -1,10 +1,185 @@
1
1
  import {
2
2
  enable,
3
+ ERROR,
4
+ AlwaysMultiline,
5
+ Always,
6
+ Last,
7
+ Never,
8
+ Strict,
3
9
  } from "../../_strings";
4
10
 
5
11
  export default [
6
12
  enable,
7
13
  {
8
14
  // https://eslint.org/docs/latest/rules/#deprecated
15
+ "array-bracket-newline": [
16
+ ERROR,
17
+ {
18
+ multiline: true,
19
+ minItems: null,
20
+ },
21
+ ],
22
+ "array-bracket-spacing": [
23
+ ERROR,
24
+ Never,
25
+ {
26
+ singleValue: false,
27
+ objectsInArrays: false,
28
+ arraysInArrays: false,
29
+ },
30
+ ],
31
+ "array-element-newline": [
32
+ ERROR,
33
+ {
34
+ ArrayExpression: {
35
+ consistent: true,
36
+ multiline: true,
37
+ minItems: 4,
38
+ },
39
+ ArrayPattern: {
40
+ consistent: true,
41
+ multiline: true,
42
+ minItems: 4,
43
+ },
44
+ },
45
+ ],
46
+ "brace-style": [
47
+ ERROR,
48
+ "stroustrup",
49
+ {
50
+ allowSingleLine: true,
51
+ },
52
+ ],
53
+ "comma-dangle": [ERROR, AlwaysMultiline],
54
+ "comma-spacing": [
55
+ ERROR,
56
+ {
57
+ before: false,
58
+ after: true,
59
+ },
60
+ ],
61
+ "comma-style": [
62
+ ERROR,
63
+ Last,
64
+ {
65
+ exceptions: {
66
+ ArrayExpression: false,
67
+ ArrayPattern: false,
68
+ ArrowFunctionExpression: false,
69
+ CallExpression: false,
70
+ FunctionDeclaration: false,
71
+ FunctionExpression: false,
72
+ ImportDeclaration: false,
73
+ ObjectExpression: false,
74
+ ObjectPattern: false,
75
+ VariableDeclaration: false,
76
+ NewExpression: false,
77
+ },
78
+ },
79
+ ],
80
+ "eol-last": [ERROR, Always],
81
+ "key-spacing": [
82
+ ERROR,
83
+ {
84
+ beforeColon: false,
85
+ afterColon: true,
86
+ mode: Strict,
87
+ },
88
+ ],
89
+ indent: [
90
+ ERROR,
91
+ 2,
92
+ {
93
+ ignoredNodes: [],
94
+ SwitchCase: 1,
95
+ VariableDeclarator: { "var": 0, let: 0, "const": 0 },
96
+ outerIIFEBody: 0,
97
+ MemberExpression: 1,
98
+ FunctionDeclaration: { parameters: 1, body: 1 },
99
+ FunctionExpression: { parameters: 1, body: 1 },
100
+ StaticBlock: { body: 1 },
101
+ CallExpression: { arguments: 1 },
102
+ ArrayExpression: 1,
103
+ ObjectExpression: 1,
104
+ ImportDeclaration: 1,
105
+ flatTernaryExpressions: false,
106
+ offsetTernaryExpressions: true,
107
+ ignoreComments: false,
108
+ },
109
+ ],
110
+ "no-mixed-spaces-and-tabs": ERROR,
111
+ "no-multi-spaces": [
112
+ ERROR,
113
+ {
114
+ ignoreEOLComments: false,
115
+ exceptions: {
116
+ Property: false,
117
+ ImportAttributes: false,
118
+ },
119
+ includeTabs: true,
120
+ },
121
+ ],
122
+ "no-multiple-empty-lines": [
123
+ ERROR,
124
+ {
125
+ max: 1,
126
+ maxEOF: 1,
127
+ maxBOF: 0,
128
+ },
129
+ ],
130
+ "no-tabs": [
131
+ ERROR,
132
+ {
133
+ allowIndentationTabs: false,
134
+ },
135
+ ],
136
+ "no-trailing-spaces": [
137
+ ERROR,
138
+ {
139
+ skipBlankLines: false,
140
+ ignoreComments: false,
141
+ },
142
+ ],
143
+ "no-whitespace-before-property": ERROR,
144
+ "object-curly-newline": [
145
+ ERROR,
146
+ {
147
+ ObjectExpression: {
148
+ consistent: true,
149
+ multiline: true,
150
+ minProperties: 4,
151
+ },
152
+ ObjectPattern: {
153
+ consistent: true,
154
+ multiline: true,
155
+ minProperties: 4,
156
+ },
157
+ ImportDeclaration: {
158
+ consistent: true,
159
+ multiline: true,
160
+ minProperties: 4,
161
+ },
162
+ ExportDeclaration: {
163
+ consistent: true,
164
+ multiline: true,
165
+ minProperties: 4,
166
+ },
167
+ },
168
+ ],
169
+ "object-curly-spacing": [
170
+ ERROR,
171
+ Always,
172
+ {
173
+ arraysInObjects: true,
174
+ objectsInObjects: true,
175
+ },
176
+ ],
177
+ "object-property-newline": [
178
+ ERROR,
179
+ {
180
+ allowAllPropertiesOnSameLine: true,
181
+ },
182
+ ],
183
+ "spaced-comment": [ERROR, Always],
9
184
  },
10
185
  ] as const;
@@ -2,6 +2,6 @@ import enable from "./enable";
2
2
  import enable_x from "./enable_x";
3
3
 
4
4
  export default [
5
- enable_x,
6
5
  enable,
6
+ enable_x,
7
7
  ];