@eslinted/defaults 19.0.1 → 19.0.3
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/README.md +1 -0
- package/dist/index.d.ts +266 -41
- package/dist/index.d.ts.map +1 -1
- package/dist/rules/html/index.d.ts +0 -39
- package/dist/rules/html/index.d.ts.map +1 -1
- package/dist/rules/html/index.js +0 -35
- package/dist/rules/html/index.js.map +1 -1
- package/dist/rules/index.d.ts +266 -41
- package/dist/rules/index.d.ts.map +1 -1
- package/dist/rules/js.d.ts +264 -2
- package/dist/rules/js.d.ts.map +1 -1
- package/dist/rules/js.js +5 -1
- package/dist/rules/js.js.map +1 -1
- package/dist/rules/js.stylistic.d.ts +266 -0
- package/dist/rules/js.stylistic.d.ts.map +1 -0
- package/dist/rules/js.stylistic.js +260 -0
- package/dist/rules/js.stylistic.js.map +1 -0
- package/dist/rules/svelte/disable.d.ts +1 -0
- package/dist/rules/svelte/disable.d.ts.map +1 -1
- package/dist/rules/svelte/disable.js +1 -0
- package/dist/rules/svelte/disable.js.map +1 -1
- package/dist/rules/svelte/extend.d.ts +1 -0
- package/dist/rules/svelte/extend.d.ts.map +1 -1
- package/dist/rules/svelte/extend.js +1 -0
- package/dist/rules/svelte/extend.js.map +1 -1
- package/dist/rules/svelte/index.d.ts +2 -0
- package/dist/rules/svelte/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/rules/html/index.ts +9 -35
- package/src/rules/js.stylistic.ts +269 -0
- package/src/rules/js.ts +5 -1
- package/src/rules/svelte/disable.ts +8 -6
- package/src/rules/svelte/extend.ts +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
# [`@eslinted/defaults`](https://www.npmjs.com/package/@eslinted/defaults)
|
|
2
|
+
|
|
2
3
|
[](https://github.com/jimmy-zhening-luo/linted-defaults/actions/workflows/RELEASE.yml)
|
|
3
4
|
|
|
4
5
|
Default scopes for `linted`
|
package/dist/index.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ declare const _default: {
|
|
|
16
16
|
json: string[];
|
|
17
17
|
};
|
|
18
18
|
rules: {
|
|
19
|
-
js: {
|
|
19
|
+
js: ({
|
|
20
20
|
rules: {
|
|
21
21
|
readonly "array-callback-return": readonly [
|
|
22
22
|
import("./rules/state.js").State.ON,
|
|
@@ -304,7 +304,269 @@ declare const _default: {
|
|
|
304
304
|
readonly yoda: import("./rules/state.js").State.WARN;
|
|
305
305
|
readonly "unicode-bom": import("./rules/state.js").State.WARN;
|
|
306
306
|
};
|
|
307
|
-
}
|
|
307
|
+
} | {
|
|
308
|
+
rules: {
|
|
309
|
+
readonly "stylistic/array-bracket-newline": import("./rules/state.js").State.WARN;
|
|
310
|
+
readonly "stylistic/array-bracket-spacing": import("./rules/state.js").State.WARN;
|
|
311
|
+
readonly "stylistic/array-element-newline": readonly [
|
|
312
|
+
import("./rules/state.js").State.WARN,
|
|
313
|
+
{
|
|
314
|
+
readonly consistent: true;
|
|
315
|
+
readonly multiline: true;
|
|
316
|
+
readonly minItems: 3;
|
|
317
|
+
}
|
|
318
|
+
];
|
|
319
|
+
readonly "stylistic/arrow-parens": readonly [
|
|
320
|
+
import("./rules/state.js").State.WARN,
|
|
321
|
+
"as-needed"
|
|
322
|
+
];
|
|
323
|
+
readonly "stylistic/arrow-spacing": import("./rules/state.js").State.WARN;
|
|
324
|
+
readonly "stylistic/block-spacing": import("./rules/state.js").State.WARN;
|
|
325
|
+
readonly "stylistic/brace-style": readonly [
|
|
326
|
+
import("./rules/state.js").State.WARN,
|
|
327
|
+
"stroustrup",
|
|
328
|
+
{
|
|
329
|
+
readonly allowSingleLine: true;
|
|
330
|
+
}
|
|
331
|
+
];
|
|
332
|
+
readonly "stylistic/comma-dangle": readonly [
|
|
333
|
+
import("./rules/state.js").State.WARN,
|
|
334
|
+
"always-multiline"
|
|
335
|
+
];
|
|
336
|
+
readonly "stylistic/comma-spacing": import("./rules/state.js").State.WARN;
|
|
337
|
+
readonly "stylistic/comma-style": import("./rules/state.js").State.WARN;
|
|
338
|
+
readonly "stylistic/computed-property-spacing": import("./rules/state.js").State.WARN;
|
|
339
|
+
readonly "stylistic/curly-newline": import("./rules/state.js").State.WARN;
|
|
340
|
+
readonly "stylistic/dot-location": readonly [
|
|
341
|
+
import("./rules/state.js").State.WARN,
|
|
342
|
+
"property"
|
|
343
|
+
];
|
|
344
|
+
readonly "stylistic/eol-last": import("./rules/state.js").State.WARN;
|
|
345
|
+
readonly "stylistic/function-call-argument-newline": readonly [
|
|
346
|
+
import("./rules/state.js").State.WARN,
|
|
347
|
+
"consistent"
|
|
348
|
+
];
|
|
349
|
+
readonly "stylistic/function-call-spacing": import("./rules/state.js").State.WARN;
|
|
350
|
+
readonly "stylistic/function-paren-newline": readonly [
|
|
351
|
+
import("./rules/state.js").State.WARN,
|
|
352
|
+
"multiline-arguments"
|
|
353
|
+
];
|
|
354
|
+
readonly "stylistic/generator-star-spacing": import("./rules/state.js").State.WARN;
|
|
355
|
+
readonly "stylistic/implicit-arrow-linebreak": import("./rules/state.js").State.WARN;
|
|
356
|
+
readonly "stylistic/indent": readonly [
|
|
357
|
+
import("./rules/state.js").State.WARN,
|
|
358
|
+
2,
|
|
359
|
+
{
|
|
360
|
+
readonly assignmentOperator: 0;
|
|
361
|
+
readonly VariableDeclarator: {
|
|
362
|
+
readonly var: 0;
|
|
363
|
+
readonly let: 0;
|
|
364
|
+
readonly const: 0;
|
|
365
|
+
};
|
|
366
|
+
readonly outerIIFEBody: 0;
|
|
367
|
+
readonly offsetTernaryExpressions: true;
|
|
368
|
+
}
|
|
369
|
+
];
|
|
370
|
+
readonly "stylistic/indent-binary-ops": readonly [
|
|
371
|
+
import("./rules/state.js").State.WARN,
|
|
372
|
+
2
|
|
373
|
+
];
|
|
374
|
+
readonly "stylistic/key-spacing": import("./rules/state.js").State.WARN;
|
|
375
|
+
readonly "stylistic/keyword-spacing": import("./rules/state.js").State.WARN;
|
|
376
|
+
readonly "stylistic/linebreak-style": import("./rules/state.js").State.WARN;
|
|
377
|
+
readonly "stylistic/lines-between-class-members": readonly [
|
|
378
|
+
import("./rules/state.js").State.WARN,
|
|
379
|
+
{
|
|
380
|
+
readonly enforce: readonly [
|
|
381
|
+
{
|
|
382
|
+
readonly prev: "field";
|
|
383
|
+
readonly next: "field";
|
|
384
|
+
readonly blankLine: "never";
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
readonly prev: "field";
|
|
388
|
+
readonly next: "method";
|
|
389
|
+
readonly blankLine: "always";
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
readonly prev: "method";
|
|
393
|
+
readonly next: "*";
|
|
394
|
+
readonly blankLine: "always";
|
|
395
|
+
}
|
|
396
|
+
];
|
|
397
|
+
}
|
|
398
|
+
];
|
|
399
|
+
readonly "stylistic/max-len": readonly [
|
|
400
|
+
import("./rules/state.js").State.WARN,
|
|
401
|
+
{
|
|
402
|
+
readonly code: 300;
|
|
403
|
+
readonly ignoreComments: true;
|
|
404
|
+
readonly ignoreTrailingComments: true;
|
|
405
|
+
readonly ignoreUrls: true;
|
|
406
|
+
readonly ignoreStrings: true;
|
|
407
|
+
readonly ignoreTemplateLiterals: true;
|
|
408
|
+
readonly ignoreRegExpLiterals: true;
|
|
409
|
+
}
|
|
410
|
+
];
|
|
411
|
+
readonly "stylistic/max-statements-per-line": import("./rules/state.js").State.WARN;
|
|
412
|
+
readonly "stylistic/member-delimiter-style": import("./rules/state.js").State.WARN;
|
|
413
|
+
readonly "stylistic/multiline-ternary": readonly [
|
|
414
|
+
import("./rules/state.js").State.WARN,
|
|
415
|
+
"always-multiline"
|
|
416
|
+
];
|
|
417
|
+
readonly "stylistic/newline-per-chained-call": import("./rules/state.js").State.WARN;
|
|
418
|
+
readonly "stylistic/no-extra-parens": import("./rules/state.js").State.WARN;
|
|
419
|
+
readonly "stylistic/no-extra-semi": import("./rules/state.js").State.WARN;
|
|
420
|
+
readonly "stylistic/no-floating-decimal": import("./rules/state.js").State.WARN;
|
|
421
|
+
readonly "stylistic/no-mixed-spaces-and-tabs": import("./rules/state.js").State.WARN;
|
|
422
|
+
readonly "stylistic/no-multi-spaces": readonly [
|
|
423
|
+
import("./rules/state.js").State.WARN,
|
|
424
|
+
{
|
|
425
|
+
readonly exceptions: {
|
|
426
|
+
readonly Property: false;
|
|
427
|
+
readonly ImportAttributes: false;
|
|
428
|
+
};
|
|
429
|
+
}
|
|
430
|
+
];
|
|
431
|
+
readonly "stylistic/no-multiple-empty-lines": readonly [
|
|
432
|
+
import("./rules/state.js").State.WARN,
|
|
433
|
+
{
|
|
434
|
+
readonly max: 1;
|
|
435
|
+
readonly maxBOF: 0;
|
|
436
|
+
readonly maxEOF: 0;
|
|
437
|
+
}
|
|
438
|
+
];
|
|
439
|
+
readonly "stylistic/no-tabs": import("./rules/state.js").State.WARN;
|
|
440
|
+
readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.WARN;
|
|
441
|
+
readonly "stylistic/no-whitespace-before-property": import("./rules/state.js").State.WARN;
|
|
442
|
+
readonly "stylistic/nonblock-statement-body-position": readonly [
|
|
443
|
+
import("./rules/state.js").State.WARN,
|
|
444
|
+
"below"
|
|
445
|
+
];
|
|
446
|
+
readonly "stylistic/object-curly-newline": readonly [
|
|
447
|
+
import("./rules/state.js").State.WARN,
|
|
448
|
+
{
|
|
449
|
+
readonly consistent: true;
|
|
450
|
+
readonly multiline: true;
|
|
451
|
+
readonly minProperties: 3;
|
|
452
|
+
}
|
|
453
|
+
];
|
|
454
|
+
readonly "stylistic/object-curly-spacing": readonly [
|
|
455
|
+
import("./rules/state.js").State.WARN,
|
|
456
|
+
"always",
|
|
457
|
+
{
|
|
458
|
+
readonly emptyObjects: "never";
|
|
459
|
+
}
|
|
460
|
+
];
|
|
461
|
+
readonly "stylistic/object-property-newline": import("./rules/state.js").State.WARN;
|
|
462
|
+
readonly "stylistic/one-var-declaration-per-line": readonly [
|
|
463
|
+
import("./rules/state.js").State.WARN,
|
|
464
|
+
"always"
|
|
465
|
+
];
|
|
466
|
+
readonly "stylistic/operator-linebreak": readonly [
|
|
467
|
+
import("./rules/state.js").State.WARN,
|
|
468
|
+
"before"
|
|
469
|
+
];
|
|
470
|
+
readonly "stylistic/padded-blocks": readonly [
|
|
471
|
+
import("./rules/state.js").State.WARN,
|
|
472
|
+
"never",
|
|
473
|
+
{
|
|
474
|
+
readonly allowSingleLineBlocks: true;
|
|
475
|
+
}
|
|
476
|
+
];
|
|
477
|
+
readonly "stylistic/quote-props": readonly [
|
|
478
|
+
import("./rules/state.js").State.WARN,
|
|
479
|
+
"as-needed",
|
|
480
|
+
{
|
|
481
|
+
readonly keywords: true;
|
|
482
|
+
}
|
|
483
|
+
];
|
|
484
|
+
readonly "stylistic/quotes": readonly [
|
|
485
|
+
import("./rules/state.js").State.WARN,
|
|
486
|
+
"double",
|
|
487
|
+
{
|
|
488
|
+
readonly avoidEscape: true;
|
|
489
|
+
readonly allowTemplateLiterals: "always";
|
|
490
|
+
}
|
|
491
|
+
];
|
|
492
|
+
readonly "stylistic/rest-spread-spacing": import("./rules/state.js").State.WARN;
|
|
493
|
+
readonly "stylistic/semi": import("./rules/state.js").State.WARN;
|
|
494
|
+
readonly "stylistic/semi-spacing": import("./rules/state.js").State.WARN;
|
|
495
|
+
readonly "stylistic/semi-style": import("./rules/state.js").State.WARN;
|
|
496
|
+
readonly "stylistic/space-before-blocks": import("./rules/state.js").State.WARN;
|
|
497
|
+
readonly "stylistic/space-before-function-paren": readonly [
|
|
498
|
+
import("./rules/state.js").State.WARN,
|
|
499
|
+
{
|
|
500
|
+
readonly named: "never";
|
|
501
|
+
}
|
|
502
|
+
];
|
|
503
|
+
readonly "stylistic/space-in-parens": import("./rules/state.js").State.WARN;
|
|
504
|
+
readonly "stylistic/space-infix-ops": import("./rules/state.js").State.WARN;
|
|
505
|
+
readonly "stylistic/space-unary-ops": import("./rules/state.js").State.WARN;
|
|
506
|
+
readonly "stylistic/spaced-comment": readonly [
|
|
507
|
+
import("./rules/state.js").State.WARN,
|
|
508
|
+
"always",
|
|
509
|
+
{
|
|
510
|
+
readonly line: {
|
|
511
|
+
readonly exceptions: readonly [
|
|
512
|
+
"/",
|
|
513
|
+
"-",
|
|
514
|
+
"+",
|
|
515
|
+
"="
|
|
516
|
+
];
|
|
517
|
+
readonly markers: readonly [
|
|
518
|
+
"!",
|
|
519
|
+
"@",
|
|
520
|
+
"#",
|
|
521
|
+
"/",
|
|
522
|
+
"#region",
|
|
523
|
+
"#endregion",
|
|
524
|
+
"#part",
|
|
525
|
+
"/#region",
|
|
526
|
+
"/#endregion",
|
|
527
|
+
"/#part"
|
|
528
|
+
];
|
|
529
|
+
};
|
|
530
|
+
readonly block: {
|
|
531
|
+
readonly exceptions: readonly [
|
|
532
|
+
"*"
|
|
533
|
+
];
|
|
534
|
+
readonly markers: readonly [
|
|
535
|
+
"*"
|
|
536
|
+
];
|
|
537
|
+
readonly balanced: true;
|
|
538
|
+
};
|
|
539
|
+
}
|
|
540
|
+
];
|
|
541
|
+
readonly "stylistic/switch-colon-spacing": import("./rules/state.js").State.WARN;
|
|
542
|
+
readonly "stylistic/template-curly-spacing": import("./rules/state.js").State.WARN;
|
|
543
|
+
readonly "stylistic/template-tag-spacing": import("./rules/state.js").State.WARN;
|
|
544
|
+
readonly "stylistic/type-annotation-spacing": readonly [
|
|
545
|
+
import("./rules/state.js").State.WARN,
|
|
546
|
+
{
|
|
547
|
+
readonly before: true;
|
|
548
|
+
readonly after: true;
|
|
549
|
+
readonly overrides: {
|
|
550
|
+
readonly colon: {
|
|
551
|
+
readonly before: false;
|
|
552
|
+
readonly after: true;
|
|
553
|
+
};
|
|
554
|
+
};
|
|
555
|
+
}
|
|
556
|
+
];
|
|
557
|
+
readonly "stylistic/type-generic-spacing": import("./rules/state.js").State.WARN;
|
|
558
|
+
readonly "stylistic/type-named-tuple-spacing": import("./rules/state.js").State.WARN;
|
|
559
|
+
readonly "stylistic/wrap-iife": readonly [
|
|
560
|
+
import("./rules/state.js").State.WARN,
|
|
561
|
+
"inside",
|
|
562
|
+
{
|
|
563
|
+
readonly functionPrototypeMethods: true;
|
|
564
|
+
}
|
|
565
|
+
];
|
|
566
|
+
readonly "stylistic/wrap-regex": import("./rules/state.js").State.WARN;
|
|
567
|
+
readonly "stylistic/yield-star-spacing": import("./rules/state.js").State.WARN;
|
|
568
|
+
};
|
|
569
|
+
})[];
|
|
308
570
|
ts: ({
|
|
309
571
|
rules: {
|
|
310
572
|
readonly "consistent-return": import("./rules/state.js").State.OFF;
|
|
@@ -558,6 +820,7 @@ declare const _default: {
|
|
|
558
820
|
readonly "no-unused-vars": import("./rules/state.js").State.OFF;
|
|
559
821
|
readonly "ts/no-unused-vars": import("./rules/state.js").State.OFF;
|
|
560
822
|
readonly "prefer-const": import("./rules/state.js").State.OFF;
|
|
823
|
+
readonly "stylistic/indent": import("./rules/state.js").State.OFF;
|
|
561
824
|
readonly "ts/no-confusing-void-expression": import("./rules/state.js").State.OFF;
|
|
562
825
|
};
|
|
563
826
|
} | {
|
|
@@ -676,6 +939,7 @@ declare const _default: {
|
|
|
676
939
|
import("./rules/state.js").State.ON,
|
|
677
940
|
"both"
|
|
678
941
|
];
|
|
942
|
+
readonly "stylistic/no-trailing-spaces": import("./rules/state.js").State.OFF;
|
|
679
943
|
readonly "svelte/no-trailing-spaces": import("./rules/state.js").State.WARN;
|
|
680
944
|
};
|
|
681
945
|
})[];
|
|
@@ -714,45 +978,6 @@ declare const _default: {
|
|
|
714
978
|
readonly "html/require-img-alt": import("./rules/state.js").State.WARN;
|
|
715
979
|
readonly "html/require-input-label": import("./rules/state.js").State.WARN;
|
|
716
980
|
readonly "html/require-meta-viewport": import("./rules/state.js").State.WARN;
|
|
717
|
-
readonly "html/attrs-newline": readonly [
|
|
718
|
-
import("./rules/state.js").State.WARN,
|
|
719
|
-
{
|
|
720
|
-
readonly ifAttrsMoreThan: 0;
|
|
721
|
-
}
|
|
722
|
-
];
|
|
723
|
-
readonly "html/element-newline": readonly [
|
|
724
|
-
import("./rules/state.js").State.WARN,
|
|
725
|
-
{
|
|
726
|
-
readonly skip: readonly [
|
|
727
|
-
"head"
|
|
728
|
-
];
|
|
729
|
-
readonly inline: readonly [
|
|
730
|
-
"$inline"
|
|
731
|
-
];
|
|
732
|
-
}
|
|
733
|
-
];
|
|
734
|
-
readonly "html/indent": readonly [
|
|
735
|
-
import("./rules/state.js").State.WARN,
|
|
736
|
-
2
|
|
737
|
-
];
|
|
738
|
-
readonly "html/lowercase": import("./rules/state.js").State.WARN;
|
|
739
|
-
readonly "html/no-extra-spacing-attrs": readonly [
|
|
740
|
-
import("./rules/state.js").State.WARN,
|
|
741
|
-
{
|
|
742
|
-
readonly disallowMissing: true;
|
|
743
|
-
readonly disallowTabs: true;
|
|
744
|
-
readonly disallowInAssignment: true;
|
|
745
|
-
}
|
|
746
|
-
];
|
|
747
|
-
readonly "html/no-extra-spacing-text": import("./rules/state.js").State.WARN;
|
|
748
|
-
readonly "html/no-multiple-empty-lines": readonly [
|
|
749
|
-
import("./rules/state.js").State.WARN,
|
|
750
|
-
{
|
|
751
|
-
readonly max: 1;
|
|
752
|
-
}
|
|
753
|
-
];
|
|
754
|
-
readonly "html/no-trailing-spaces": import("./rules/state.js").State.WARN;
|
|
755
|
-
readonly "html/quotes": import("./rules/state.js").State.WARN;
|
|
756
981
|
};
|
|
757
982
|
}[];
|
|
758
983
|
css: {
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
|
|
@@ -34,45 +34,6 @@ declare const _default: {
|
|
|
34
34
|
readonly "html/require-img-alt": State.WARN;
|
|
35
35
|
readonly "html/require-input-label": State.WARN;
|
|
36
36
|
readonly "html/require-meta-viewport": State.WARN;
|
|
37
|
-
readonly "html/attrs-newline": readonly [
|
|
38
|
-
State.WARN,
|
|
39
|
-
{
|
|
40
|
-
readonly ifAttrsMoreThan: 0;
|
|
41
|
-
}
|
|
42
|
-
];
|
|
43
|
-
readonly "html/element-newline": readonly [
|
|
44
|
-
State.WARN,
|
|
45
|
-
{
|
|
46
|
-
readonly skip: readonly [
|
|
47
|
-
"head"
|
|
48
|
-
];
|
|
49
|
-
readonly inline: readonly [
|
|
50
|
-
"$inline"
|
|
51
|
-
];
|
|
52
|
-
}
|
|
53
|
-
];
|
|
54
|
-
readonly "html/indent": readonly [
|
|
55
|
-
State.WARN,
|
|
56
|
-
2
|
|
57
|
-
];
|
|
58
|
-
readonly "html/lowercase": State.WARN;
|
|
59
|
-
readonly "html/no-extra-spacing-attrs": readonly [
|
|
60
|
-
State.WARN,
|
|
61
|
-
{
|
|
62
|
-
readonly disallowMissing: true;
|
|
63
|
-
readonly disallowTabs: true;
|
|
64
|
-
readonly disallowInAssignment: true;
|
|
65
|
-
}
|
|
66
|
-
];
|
|
67
|
-
readonly "html/no-extra-spacing-text": State.WARN;
|
|
68
|
-
readonly "html/no-multiple-empty-lines": readonly [
|
|
69
|
-
State.WARN,
|
|
70
|
-
{
|
|
71
|
-
readonly max: 1;
|
|
72
|
-
}
|
|
73
|
-
];
|
|
74
|
-
readonly "html/no-trailing-spaces": State.WARN;
|
|
75
|
-
readonly "html/quotes": State.WARN;
|
|
76
37
|
};
|
|
77
38
|
}[];
|
|
78
39
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA4EE"}
|
package/dist/rules/html/index.js
CHANGED
|
@@ -34,41 +34,6 @@ export default [
|
|
|
34
34
|
"html/require-img-alt": 1,
|
|
35
35
|
"html/require-input-label": 1,
|
|
36
36
|
"html/require-meta-viewport": 1,
|
|
37
|
-
"html/attrs-newline": [
|
|
38
|
-
1,
|
|
39
|
-
{
|
|
40
|
-
ifAttrsMoreThan: 0,
|
|
41
|
-
},
|
|
42
|
-
],
|
|
43
|
-
"html/element-newline": [
|
|
44
|
-
1,
|
|
45
|
-
{
|
|
46
|
-
skip: ["head"],
|
|
47
|
-
inline: ["$inline"],
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
"html/indent": [
|
|
51
|
-
1,
|
|
52
|
-
2,
|
|
53
|
-
],
|
|
54
|
-
"html/lowercase": 1,
|
|
55
|
-
"html/no-extra-spacing-attrs": [
|
|
56
|
-
1,
|
|
57
|
-
{
|
|
58
|
-
disallowMissing: true,
|
|
59
|
-
disallowTabs: true,
|
|
60
|
-
disallowInAssignment: true,
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
"html/no-extra-spacing-text": 1,
|
|
64
|
-
"html/no-multiple-empty-lines": [
|
|
65
|
-
1,
|
|
66
|
-
{
|
|
67
|
-
max: 1,
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
"html/no-trailing-spaces": 1,
|
|
71
|
-
"html/quotes": 1,
|
|
72
37
|
},
|
|
73
38
|
},
|
|
74
39
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAIL,yBAAyB,GAAY;YACrC,yBAAyB,GAAY;YACrC,sBAAsB,GAAY;YAClC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YAEvC,wBAAwB,GAAY;YACpC,4BAA4B,GAAY;YACxC,uBAAuB,GAAY;YAKnC,sBAAsB,GAAY;YAClC,kCAAkC,GAAY;YAG9C,0BAA0B,GAAY;YACtC,2BAA2B,GAAY;YACvC,sBAAsB,GAAY;YAElC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YACvC,mBAAmB,GAAY;YAK/B,qBAAqB,GAAY;YACjC,mBAAmB,GAAY;YAQ/B,wBAAwB,GAAY;YACpC,yBAAyB,GAAY;YACrC,0BAA0B,GAAY;YACtC,kCAAkC,GAAY;YAC9C,wBAAwB,GAAY;YACpC,+BAA+B,GAAY;YAC3C,sBAAsB,GAAY;YAClC,+BAA+B,GAAY;YAC3C,2BAA2B,GAAY;YACvC,6BAA6B,GAAY;YACzC,0BAA0B,GAAY;YACtC,0BAA0B,GAAY;YACtC,sBAAsB,GAAY;YAClC,0BAA0B,GAAY;YACtC,4BAA4B,GAAY;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/html/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb;QACE,KAAK,EAAE;YAIL,yBAAyB,GAAY;YACrC,yBAAyB,GAAY;YACrC,sBAAsB,GAAY;YAClC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YAEvC,wBAAwB,GAAY;YACpC,4BAA4B,GAAY;YACxC,uBAAuB,GAAY;YAKnC,sBAAsB,GAAY;YAClC,kCAAkC,GAAY;YAG9C,0BAA0B,GAAY;YACtC,2BAA2B,GAAY;YACvC,sBAAsB,GAAY;YAElC,2BAA2B,GAAY;YACvC,2BAA2B,GAAY;YACvC,mBAAmB,GAAY;YAK/B,qBAAqB,GAAY;YACjC,mBAAmB,GAAY;YAQ/B,wBAAwB,GAAY;YACpC,yBAAyB,GAAY;YACrC,0BAA0B,GAAY;YACtC,kCAAkC,GAAY;YAC9C,wBAAwB,GAAY;YACpC,+BAA+B,GAAY;YAC3C,sBAAsB,GAAY;YAClC,+BAA+B,GAAY;YAC3C,2BAA2B,GAAY;YACvC,6BAA6B,GAAY;YACzC,0BAA0B,GAAY;YACtC,0BAA0B,GAAY;YACtC,sBAAsB,GAAY;YAClC,0BAA0B,GAAY;YACtC,4BAA4B,GAAY;SAiBhC;KACX;CACF,CAAC"}
|