linted 21.0.0-rc.16 → 21.0.0-rc.18
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/imports/index.d.ts +363 -1
- package/dist/imports/index.d.ts.map +1 -1
- package/dist/imports/parsers.d.ts +2 -0
- package/dist/imports/parsers.d.ts.map +1 -1
- package/dist/imports/parsers.js +2 -0
- package/dist/imports/parsers.js.map +1 -1
- package/dist/imports/plugins.d.ts +362 -2
- package/dist/imports/plugins.d.ts.map +1 -1
- package/dist/imports/plugins.js +2 -2
- package/dist/imports/plugins.js.map +1 -1
- package/dist/rules/index.d.ts +115 -176
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/json/enable.d.ts +23 -99
- package/dist/rules/json/enable.d.ts.map +1 -1
- package/dist/rules/json/enable.js +24 -142
- package/dist/rules/json/enable.js.map +1 -1
- package/dist/rules/json/enable_x.d.ts +46 -2
- package/dist/rules/json/enable_x.d.ts.map +1 -1
- package/dist/rules/json/enable_x.js +74 -3
- package/dist/rules/json/enable_x.js.map +1 -1
- package/dist/rules/json/index.d.ts +56 -88
- package/dist/rules/json/index.d.ts.map +1 -1
- package/dist/rules/json/index.js +2 -2
- package/dist/rules/json/index.js.map +1 -1
- package/dist/rules/jsonc/index.d.ts +77 -3
- package/dist/rules/jsonc/index.d.ts.map +1 -1
- package/dist/rules/jsonc/index.js +5 -1
- package/dist/rules/jsonc/index.js.map +1 -1
- package/dist/rules/jsonc/override.d.ts +6 -0
- package/dist/rules/jsonc/override.d.ts.map +1 -0
- package/dist/rules/jsonc/override.js +12 -0
- package/dist/rules/jsonc/override.js.map +1 -0
- package/package.json +4 -3
- package/src/imports/parsers.ts +2 -0
- package/src/imports/plugins.ts +2 -2
- package/src/rules/json/enable.ts +25 -148
- package/src/rules/json/enable_x.ts +80 -3
- package/src/rules/json/index.ts +2 -2
- package/src/rules/jsonc/index.ts +5 -1
- package/src/rules/jsonc/override.ts +18 -0
package/dist/rules/index.d.ts
CHANGED
@@ -4337,213 +4337,152 @@ 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", {
|
4341
|
-
readonly "array-bracket-newline":
|
4342
|
-
|
4343
|
-
readonly minItems: null;
|
4344
|
-
}];
|
4345
|
-
readonly "array-bracket-spacing": readonly ["error", "never", {
|
4340
|
+
json: (readonly ["enable-extend", {
|
4341
|
+
readonly "jsonc/array-bracket-newline": "off";
|
4342
|
+
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
4346
4343
|
readonly singleValue: false;
|
4347
4344
|
readonly objectsInArrays: false;
|
4348
4345
|
readonly arraysInArrays: false;
|
4349
4346
|
}];
|
4350
|
-
readonly "array-element-newline": readonly ["error", "consistent"];
|
4351
|
-
readonly "
|
4352
|
-
|
4353
|
-
|
4354
|
-
readonly "
|
4355
|
-
readonly "comma-spacing": readonly ["error", {
|
4356
|
-
readonly before: false;
|
4357
|
-
readonly after: true;
|
4358
|
-
}];
|
4359
|
-
readonly "comma-style": readonly ["error", "last", {
|
4360
|
-
readonly exceptions: {
|
4361
|
-
readonly ArrayExpression: false;
|
4362
|
-
readonly ArrayPattern: false;
|
4363
|
-
readonly ArrowFunctionExpression: false;
|
4364
|
-
readonly CallExpression: false;
|
4365
|
-
readonly FunctionDeclaration: false;
|
4366
|
-
readonly FunctionExpression: false;
|
4367
|
-
readonly ImportDeclaration: false;
|
4368
|
-
readonly ObjectExpression: false;
|
4369
|
-
readonly ObjectPattern: false;
|
4370
|
-
readonly VariableDeclaration: false;
|
4371
|
-
readonly NewExpression: false;
|
4372
|
-
};
|
4373
|
-
}];
|
4374
|
-
readonly "eol-last": readonly ["error", "always"];
|
4375
|
-
readonly "key-spacing": readonly ["error", {
|
4347
|
+
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
4348
|
+
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
4349
|
+
readonly "jsonc/comma-style": readonly ["error", "last"];
|
4350
|
+
readonly "jsonc/indent": readonly ["error", 2];
|
4351
|
+
readonly "jsonc/key-spacing": readonly ["error", {
|
4376
4352
|
readonly beforeColon: false;
|
4377
4353
|
readonly afterColon: true;
|
4378
4354
|
readonly mode: "strict";
|
4379
4355
|
}];
|
4380
|
-
readonly
|
4381
|
-
|
4382
|
-
|
4383
|
-
readonly
|
4384
|
-
|
4385
|
-
|
4386
|
-
|
4387
|
-
|
4388
|
-
readonly outerIIFEBody: 0;
|
4389
|
-
readonly MemberExpression: 1;
|
4390
|
-
readonly FunctionDeclaration: {
|
4391
|
-
readonly parameters: 1;
|
4392
|
-
readonly body: 1;
|
4393
|
-
};
|
4394
|
-
readonly FunctionExpression: {
|
4395
|
-
readonly parameters: 1;
|
4396
|
-
readonly body: 1;
|
4397
|
-
};
|
4398
|
-
readonly StaticBlock: {
|
4399
|
-
readonly body: 1;
|
4400
|
-
};
|
4401
|
-
readonly CallExpression: {
|
4402
|
-
readonly arguments: 1;
|
4403
|
-
};
|
4404
|
-
readonly ArrayExpression: 1;
|
4405
|
-
readonly ObjectExpression: 1;
|
4406
|
-
readonly ImportDeclaration: 1;
|
4407
|
-
readonly flatTernaryExpressions: false;
|
4408
|
-
readonly offsetTernaryExpressions: true;
|
4409
|
-
readonly ignoreComments: false;
|
4410
|
-
}];
|
4411
|
-
readonly "no-mixed-spaces-and-tabs": "error";
|
4412
|
-
readonly "no-multi-spaces": readonly ["error", {
|
4413
|
-
readonly ignoreEOLComments: false;
|
4414
|
-
readonly exceptions: {
|
4415
|
-
readonly Property: false;
|
4416
|
-
readonly ImportAttributes: false;
|
4417
|
-
};
|
4418
|
-
}];
|
4419
|
-
readonly "no-multiple-empty-lines": readonly ["error", {
|
4420
|
-
readonly max: 1;
|
4421
|
-
readonly maxEOF: 1;
|
4422
|
-
readonly maxBOF: 0;
|
4423
|
-
}];
|
4424
|
-
readonly "no-tabs": readonly ["error", {
|
4425
|
-
readonly allowIndentationTabs: false;
|
4356
|
+
readonly "jsonc/no-dupe-keys": "error";
|
4357
|
+
readonly "jsonc/no-floating-decimal": "error";
|
4358
|
+
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
4359
|
+
readonly skipStrings: true;
|
4360
|
+
readonly skipComments: true;
|
4361
|
+
readonly skipRegExps: true;
|
4362
|
+
readonly skipTemplates: true;
|
4363
|
+
readonly skipJSXText: true;
|
4426
4364
|
}];
|
4427
|
-
readonly "no-
|
4428
|
-
|
4429
|
-
|
4365
|
+
readonly "jsonc/no-multi-str": "error";
|
4366
|
+
readonly "jsonc/no-octal-escape": "error";
|
4367
|
+
readonly "jsonc/no-octal": "error";
|
4368
|
+
readonly "jsonc/no-sparse-arrays": "error";
|
4369
|
+
readonly "jsonc/no-useless-escape": "error";
|
4370
|
+
readonly "jsonc/object-curly-newline": readonly ["error", {
|
4371
|
+
readonly consistent: true;
|
4372
|
+
readonly multiline: true;
|
4373
|
+
readonly minProperties: 4;
|
4430
4374
|
}];
|
4431
|
-
readonly "
|
4432
|
-
readonly "object-curly-newline": readonly ["error", "consistent"];
|
4433
|
-
readonly "object-curly-spacing": readonly ["error", "always", {
|
4375
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
4434
4376
|
readonly arraysInObjects: true;
|
4435
4377
|
readonly objectsInObjects: true;
|
4436
4378
|
}];
|
4437
|
-
readonly "object-property-newline": readonly ["error", {
|
4379
|
+
readonly "jsonc/object-property-newline": readonly ["error", {
|
4438
4380
|
readonly allowAllPropertiesOnSameLine: true;
|
4439
4381
|
}];
|
4440
|
-
|
4441
|
-
readonly "
|
4442
|
-
|
4443
|
-
}])[];
|
4444
|
-
jsonc: (readonly ["enable", {
|
4445
|
-
readonly "array-bracket-newline": readonly ["error", {
|
4446
|
-
readonly multiline: true;
|
4447
|
-
readonly minItems: null;
|
4382
|
+
readonly "jsonc/quote-props": readonly ["error", "always"];
|
4383
|
+
readonly "jsonc/quotes": readonly ["error", "double", {
|
4384
|
+
readonly avoidEscape: false;
|
4448
4385
|
}];
|
4449
|
-
readonly "
|
4386
|
+
readonly "jsonc/space-unary-ops": "error";
|
4387
|
+
}] | readonly ["enable", {
|
4388
|
+
readonly "jsonc/auto": "off";
|
4389
|
+
readonly "jsonc/key-name-casing": "off";
|
4390
|
+
readonly "jsonc/no-bigint-literals": "error";
|
4391
|
+
readonly "jsonc/no-binary-expression": "error";
|
4392
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
4393
|
+
readonly "jsonc/no-comments": "error";
|
4394
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
4395
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
4396
|
+
readonly "jsonc/no-infinity": "error";
|
4397
|
+
readonly "jsonc/no-nan": "error";
|
4398
|
+
readonly "jsonc/no-number-props": "error";
|
4399
|
+
readonly "jsonc/no-numeric-separators": "error";
|
4400
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
4401
|
+
readonly "jsonc/no-parenthesized": "error";
|
4402
|
+
readonly "jsonc/no-plus-sign": "error";
|
4403
|
+
readonly "jsonc/no-regexp-literals": "error";
|
4404
|
+
readonly "jsonc/no-template-literals": "error";
|
4405
|
+
readonly "jsonc/no-undefined-value": "error";
|
4406
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
4407
|
+
readonly "jsonc/sort-array-values": "off";
|
4408
|
+
readonly "jsonc/sort-keys": "off";
|
4409
|
+
readonly "jsonc/valid-json-number": "error";
|
4410
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
4411
|
+
}])[];
|
4412
|
+
jsonc: (readonly ["enable-extend", {
|
4413
|
+
readonly "jsonc/array-bracket-newline": "off";
|
4414
|
+
readonly "jsonc/array-bracket-spacing": readonly ["error", "never", {
|
4450
4415
|
readonly singleValue: false;
|
4451
4416
|
readonly objectsInArrays: false;
|
4452
4417
|
readonly arraysInArrays: false;
|
4453
4418
|
}];
|
4454
|
-
readonly "array-element-newline": readonly ["error", "consistent"];
|
4455
|
-
readonly "
|
4456
|
-
|
4457
|
-
|
4458
|
-
readonly "
|
4459
|
-
readonly "comma-spacing": readonly ["error", {
|
4460
|
-
readonly before: false;
|
4461
|
-
readonly after: true;
|
4462
|
-
}];
|
4463
|
-
readonly "comma-style": readonly ["error", "last", {
|
4464
|
-
readonly exceptions: {
|
4465
|
-
readonly ArrayExpression: false;
|
4466
|
-
readonly ArrayPattern: false;
|
4467
|
-
readonly ArrowFunctionExpression: false;
|
4468
|
-
readonly CallExpression: false;
|
4469
|
-
readonly FunctionDeclaration: false;
|
4470
|
-
readonly FunctionExpression: false;
|
4471
|
-
readonly ImportDeclaration: false;
|
4472
|
-
readonly ObjectExpression: false;
|
4473
|
-
readonly ObjectPattern: false;
|
4474
|
-
readonly VariableDeclaration: false;
|
4475
|
-
readonly NewExpression: false;
|
4476
|
-
};
|
4477
|
-
}];
|
4478
|
-
readonly "eol-last": readonly ["error", "always"];
|
4479
|
-
readonly "key-spacing": readonly ["error", {
|
4419
|
+
readonly "jsonc/array-element-newline": readonly ["error", "consistent"];
|
4420
|
+
readonly "jsonc/comma-dangle": readonly ["error", "never"];
|
4421
|
+
readonly "jsonc/comma-style": readonly ["error", "last"];
|
4422
|
+
readonly "jsonc/indent": readonly ["error", 2];
|
4423
|
+
readonly "jsonc/key-spacing": readonly ["error", {
|
4480
4424
|
readonly beforeColon: false;
|
4481
4425
|
readonly afterColon: true;
|
4482
4426
|
readonly mode: "strict";
|
4483
4427
|
}];
|
4484
|
-
readonly
|
4485
|
-
|
4486
|
-
|
4487
|
-
readonly
|
4488
|
-
|
4489
|
-
|
4490
|
-
|
4491
|
-
|
4492
|
-
readonly outerIIFEBody: 0;
|
4493
|
-
readonly MemberExpression: 1;
|
4494
|
-
readonly FunctionDeclaration: {
|
4495
|
-
readonly parameters: 1;
|
4496
|
-
readonly body: 1;
|
4497
|
-
};
|
4498
|
-
readonly FunctionExpression: {
|
4499
|
-
readonly parameters: 1;
|
4500
|
-
readonly body: 1;
|
4501
|
-
};
|
4502
|
-
readonly StaticBlock: {
|
4503
|
-
readonly body: 1;
|
4504
|
-
};
|
4505
|
-
readonly CallExpression: {
|
4506
|
-
readonly arguments: 1;
|
4507
|
-
};
|
4508
|
-
readonly ArrayExpression: 1;
|
4509
|
-
readonly ObjectExpression: 1;
|
4510
|
-
readonly ImportDeclaration: 1;
|
4511
|
-
readonly flatTernaryExpressions: false;
|
4512
|
-
readonly offsetTernaryExpressions: true;
|
4513
|
-
readonly ignoreComments: false;
|
4514
|
-
}];
|
4515
|
-
readonly "no-mixed-spaces-and-tabs": "error";
|
4516
|
-
readonly "no-multi-spaces": readonly ["error", {
|
4517
|
-
readonly ignoreEOLComments: false;
|
4518
|
-
readonly exceptions: {
|
4519
|
-
readonly Property: false;
|
4520
|
-
readonly ImportAttributes: false;
|
4521
|
-
};
|
4522
|
-
}];
|
4523
|
-
readonly "no-multiple-empty-lines": readonly ["error", {
|
4524
|
-
readonly max: 1;
|
4525
|
-
readonly maxEOF: 1;
|
4526
|
-
readonly maxBOF: 0;
|
4527
|
-
}];
|
4528
|
-
readonly "no-tabs": readonly ["error", {
|
4529
|
-
readonly allowIndentationTabs: false;
|
4428
|
+
readonly "jsonc/no-dupe-keys": "error";
|
4429
|
+
readonly "jsonc/no-floating-decimal": "error";
|
4430
|
+
readonly "jsonc/no-irregular-whitespace": readonly ["error", {
|
4431
|
+
readonly skipStrings: true;
|
4432
|
+
readonly skipComments: true;
|
4433
|
+
readonly skipRegExps: true;
|
4434
|
+
readonly skipTemplates: true;
|
4435
|
+
readonly skipJSXText: true;
|
4530
4436
|
}];
|
4531
|
-
readonly "no-
|
4532
|
-
|
4533
|
-
|
4437
|
+
readonly "jsonc/no-multi-str": "error";
|
4438
|
+
readonly "jsonc/no-octal-escape": "error";
|
4439
|
+
readonly "jsonc/no-octal": "error";
|
4440
|
+
readonly "jsonc/no-sparse-arrays": "error";
|
4441
|
+
readonly "jsonc/no-useless-escape": "error";
|
4442
|
+
readonly "jsonc/object-curly-newline": readonly ["error", {
|
4443
|
+
readonly consistent: true;
|
4444
|
+
readonly multiline: true;
|
4445
|
+
readonly minProperties: 4;
|
4534
4446
|
}];
|
4535
|
-
readonly "
|
4536
|
-
readonly "object-curly-newline": readonly ["error", "consistent"];
|
4537
|
-
readonly "object-curly-spacing": readonly ["error", "always", {
|
4447
|
+
readonly "jsonc/object-curly-spacing": readonly ["error", "always", {
|
4538
4448
|
readonly arraysInObjects: true;
|
4539
4449
|
readonly objectsInObjects: true;
|
4540
4450
|
}];
|
4541
|
-
readonly "object-property-newline": readonly ["error", {
|
4451
|
+
readonly "jsonc/object-property-newline": readonly ["error", {
|
4542
4452
|
readonly allowAllPropertiesOnSameLine: true;
|
4543
4453
|
}];
|
4544
|
-
|
4545
|
-
readonly "
|
4546
|
-
|
4454
|
+
readonly "jsonc/quote-props": readonly ["error", "always"];
|
4455
|
+
readonly "jsonc/quotes": readonly ["error", "double", {
|
4456
|
+
readonly avoidEscape: false;
|
4457
|
+
}];
|
4458
|
+
readonly "jsonc/space-unary-ops": "error";
|
4459
|
+
}] | readonly ["enable", {
|
4460
|
+
readonly "jsonc/auto": "off";
|
4461
|
+
readonly "jsonc/key-name-casing": "off";
|
4462
|
+
readonly "jsonc/no-bigint-literals": "error";
|
4463
|
+
readonly "jsonc/no-binary-expression": "error";
|
4464
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
4465
|
+
readonly "jsonc/no-comments": "error";
|
4466
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
4467
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
4468
|
+
readonly "jsonc/no-infinity": "error";
|
4469
|
+
readonly "jsonc/no-nan": "error";
|
4470
|
+
readonly "jsonc/no-number-props": "error";
|
4471
|
+
readonly "jsonc/no-numeric-separators": "error";
|
4472
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
4473
|
+
readonly "jsonc/no-parenthesized": "error";
|
4474
|
+
readonly "jsonc/no-plus-sign": "error";
|
4475
|
+
readonly "jsonc/no-regexp-literals": "error";
|
4476
|
+
readonly "jsonc/no-template-literals": "error";
|
4477
|
+
readonly "jsonc/no-undefined-value": "error";
|
4478
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
4479
|
+
readonly "jsonc/sort-array-values": "off";
|
4480
|
+
readonly "jsonc/sort-keys": "off";
|
4481
|
+
readonly "jsonc/valid-json-number": "error";
|
4482
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
4483
|
+
}] | readonly ["override", {
|
4484
|
+
readonly "jsonc/no-comments": "off";
|
4485
|
+
readonly "jsonc/comma-dangle": readonly ["error", "always-multiline"];
|
4547
4486
|
}])[];
|
4548
4487
|
yml: (readonly ["enable-extend", {
|
4549
4488
|
readonly "yml/flow-mapping-curly-newline": readonly ["error", {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AASA,wBASE"}
|
@@ -1,103 +1,27 @@
|
|
1
1
|
declare const _default: readonly ["enable", {
|
2
|
-
readonly "
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
readonly "
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
readonly "
|
12
|
-
readonly "
|
13
|
-
|
14
|
-
|
15
|
-
readonly "
|
16
|
-
readonly "
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
readonly "
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
readonly CallExpression: false;
|
26
|
-
readonly FunctionDeclaration: false;
|
27
|
-
readonly FunctionExpression: false;
|
28
|
-
readonly ImportDeclaration: false;
|
29
|
-
readonly ObjectExpression: false;
|
30
|
-
readonly ObjectPattern: false;
|
31
|
-
readonly VariableDeclaration: false;
|
32
|
-
readonly NewExpression: false;
|
33
|
-
};
|
34
|
-
}];
|
35
|
-
readonly "eol-last": readonly ["error", "always"];
|
36
|
-
readonly "key-spacing": readonly ["error", {
|
37
|
-
readonly beforeColon: false;
|
38
|
-
readonly afterColon: true;
|
39
|
-
readonly mode: "strict";
|
40
|
-
}];
|
41
|
-
readonly indent: readonly ["error", 2, {
|
42
|
-
readonly ignoredNodes: readonly [];
|
43
|
-
readonly SwitchCase: 1;
|
44
|
-
readonly VariableDeclarator: {
|
45
|
-
readonly var: 0;
|
46
|
-
readonly let: 0;
|
47
|
-
readonly const: 0;
|
48
|
-
};
|
49
|
-
readonly outerIIFEBody: 0;
|
50
|
-
readonly MemberExpression: 1;
|
51
|
-
readonly FunctionDeclaration: {
|
52
|
-
readonly parameters: 1;
|
53
|
-
readonly body: 1;
|
54
|
-
};
|
55
|
-
readonly FunctionExpression: {
|
56
|
-
readonly parameters: 1;
|
57
|
-
readonly body: 1;
|
58
|
-
};
|
59
|
-
readonly StaticBlock: {
|
60
|
-
readonly body: 1;
|
61
|
-
};
|
62
|
-
readonly CallExpression: {
|
63
|
-
readonly arguments: 1;
|
64
|
-
};
|
65
|
-
readonly ArrayExpression: 1;
|
66
|
-
readonly ObjectExpression: 1;
|
67
|
-
readonly ImportDeclaration: 1;
|
68
|
-
readonly flatTernaryExpressions: false;
|
69
|
-
readonly offsetTernaryExpressions: true;
|
70
|
-
readonly ignoreComments: false;
|
71
|
-
}];
|
72
|
-
readonly "no-mixed-spaces-and-tabs": "error";
|
73
|
-
readonly "no-multi-spaces": readonly ["error", {
|
74
|
-
readonly ignoreEOLComments: false;
|
75
|
-
readonly exceptions: {
|
76
|
-
readonly Property: false;
|
77
|
-
readonly ImportAttributes: false;
|
78
|
-
};
|
79
|
-
}];
|
80
|
-
readonly "no-multiple-empty-lines": readonly ["error", {
|
81
|
-
readonly max: 1;
|
82
|
-
readonly maxEOF: 1;
|
83
|
-
readonly maxBOF: 0;
|
84
|
-
}];
|
85
|
-
readonly "no-tabs": readonly ["error", {
|
86
|
-
readonly allowIndentationTabs: false;
|
87
|
-
}];
|
88
|
-
readonly "no-trailing-spaces": readonly ["error", {
|
89
|
-
readonly skipBlankLines: false;
|
90
|
-
readonly ignoreComments: false;
|
91
|
-
}];
|
92
|
-
readonly "no-whitespace-before-property": "error";
|
93
|
-
readonly "object-curly-newline": readonly ["error", "consistent"];
|
94
|
-
readonly "object-curly-spacing": readonly ["error", "always", {
|
95
|
-
readonly arraysInObjects: true;
|
96
|
-
readonly objectsInObjects: true;
|
97
|
-
}];
|
98
|
-
readonly "object-property-newline": readonly ["error", {
|
99
|
-
readonly allowAllPropertiesOnSameLine: true;
|
100
|
-
}];
|
2
|
+
readonly "jsonc/auto": "off";
|
3
|
+
readonly "jsonc/key-name-casing": "off";
|
4
|
+
readonly "jsonc/no-bigint-literals": "error";
|
5
|
+
readonly "jsonc/no-binary-expression": "error";
|
6
|
+
readonly "jsonc/no-binary-numeric-literals": "error";
|
7
|
+
readonly "jsonc/no-comments": "error";
|
8
|
+
readonly "jsonc/no-escape-sequence-in-identifier": "error";
|
9
|
+
readonly "jsonc/no-hexadecimal-numeric-literals": "error";
|
10
|
+
readonly "jsonc/no-infinity": "error";
|
11
|
+
readonly "jsonc/no-nan": "error";
|
12
|
+
readonly "jsonc/no-number-props": "error";
|
13
|
+
readonly "jsonc/no-numeric-separators": "error";
|
14
|
+
readonly "jsonc/no-octal-numeric-literals": "error";
|
15
|
+
readonly "jsonc/no-parenthesized": "error";
|
16
|
+
readonly "jsonc/no-plus-sign": "error";
|
17
|
+
readonly "jsonc/no-regexp-literals": "error";
|
18
|
+
readonly "jsonc/no-template-literals": "error";
|
19
|
+
readonly "jsonc/no-undefined-value": "error";
|
20
|
+
readonly "jsonc/no-unicode-codepoint-escapes": "error";
|
21
|
+
readonly "jsonc/sort-array-values": "off";
|
22
|
+
readonly "jsonc/sort-keys": "off";
|
23
|
+
readonly "jsonc/valid-json-number": "error";
|
24
|
+
readonly "jsonc/vue-custom-block/no-parsing-error": "error";
|
101
25
|
}];
|
102
26
|
export default _default;
|
103
27
|
//# sourceMappingURL=enable.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA4BW"}
|