@eslinted/defaults 12.7.0-rc.1 → 12.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -2686,7 +2686,7 @@ export declare const defaults: {
2686
2686
  readonly "yml/block-mapping": readonly [
2687
2687
  "error",
2688
2688
  {
2689
- readonly singleline: "always";
2689
+ readonly singleline: "ignore";
2690
2690
  readonly multiline: "always";
2691
2691
  }
2692
2692
  ];
@@ -2701,7 +2701,7 @@ export declare const defaults: {
2701
2701
  readonly "yml/block-sequence": readonly [
2702
2702
  "error",
2703
2703
  {
2704
- readonly singleline: "always";
2704
+ readonly singleline: "ignore";
2705
2705
  readonly multiline: "always";
2706
2706
  }
2707
2707
  ];
@@ -2716,7 +2716,7 @@ export declare const defaults: {
2716
2716
  }
2717
2717
  ];
2718
2718
  readonly "yml/key-name-casing": "off";
2719
- readonly "yml/no-empty-document": "error";
2719
+ readonly "yml/no-empty-document": "off";
2720
2720
  readonly "yml/no-empty-key": "error";
2721
2721
  readonly "yml/no-empty-mapping-value": "off";
2722
2722
  readonly "yml/no-empty-sequence-entry": "error";
@@ -1595,7 +1595,7 @@ export declare const rules: {
1595
1595
  readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
1596
1596
  readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
1597
1597
  readonly "yml/block-mapping": readonly ["error", {
1598
- readonly singleline: "always";
1598
+ readonly singleline: "ignore";
1599
1599
  readonly multiline: "always";
1600
1600
  }];
1601
1601
  readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
@@ -1603,7 +1603,7 @@ export declare const rules: {
1603
1603
  readonly blockMapping: "never";
1604
1604
  }];
1605
1605
  readonly "yml/block-sequence": readonly ["error", {
1606
- readonly singleline: "always";
1606
+ readonly singleline: "ignore";
1607
1607
  readonly multiline: "always";
1608
1608
  }];
1609
1609
  readonly "yml/file-extension": "off";
@@ -1613,7 +1613,7 @@ export declare const rules: {
1613
1613
  readonly indicatorValueIndent: 2;
1614
1614
  }];
1615
1615
  readonly "yml/key-name-casing": "off";
1616
- readonly "yml/no-empty-document": "error";
1616
+ readonly "yml/no-empty-document": "off";
1617
1617
  readonly "yml/no-empty-key": "error";
1618
1618
  readonly "yml/no-empty-mapping-value": "off";
1619
1619
  readonly "yml/no-empty-sequence-entry": "error";
@@ -4,7 +4,7 @@ declare const _default: ({
4
4
  readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
5
5
  readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
6
6
  readonly "yml/block-mapping": readonly ["error", {
7
- readonly singleline: "always";
7
+ readonly singleline: "ignore";
8
8
  readonly multiline: "always";
9
9
  }];
10
10
  readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
@@ -12,7 +12,7 @@ declare const _default: ({
12
12
  readonly blockMapping: "never";
13
13
  }];
14
14
  readonly "yml/block-sequence": readonly ["error", {
15
- readonly singleline: "always";
15
+ readonly singleline: "ignore";
16
16
  readonly multiline: "always";
17
17
  }];
18
18
  readonly "yml/file-extension": "off";
@@ -22,7 +22,7 @@ declare const _default: ({
22
22
  readonly indicatorValueIndent: 2;
23
23
  }];
24
24
  readonly "yml/key-name-casing": "off";
25
- readonly "yml/no-empty-document": "error";
25
+ readonly "yml/no-empty-document": "off";
26
26
  readonly "yml/no-empty-key": "error";
27
27
  readonly "yml/no-empty-mapping-value": "off";
28
28
  readonly "yml/no-empty-sequence-entry": "error";
@@ -4,7 +4,7 @@ export declare const YmlEnablePlugin: {
4
4
  readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
5
5
  readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
6
6
  readonly "yml/block-mapping": readonly ["error", {
7
- readonly singleline: "always";
7
+ readonly singleline: "ignore";
8
8
  readonly multiline: "always";
9
9
  }];
10
10
  readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
@@ -12,7 +12,7 @@ export declare const YmlEnablePlugin: {
12
12
  readonly blockMapping: "never";
13
13
  }];
14
14
  readonly "yml/block-sequence": readonly ["error", {
15
- readonly singleline: "always";
15
+ readonly singleline: "ignore";
16
16
  readonly multiline: "always";
17
17
  }];
18
18
  readonly "yml/file-extension": "off";
@@ -22,7 +22,7 @@ export declare const YmlEnablePlugin: {
22
22
  readonly indicatorValueIndent: 2;
23
23
  }];
24
24
  readonly "yml/key-name-casing": "off";
25
- readonly "yml/no-empty-document": "error";
25
+ readonly "yml/no-empty-document": "off";
26
26
  readonly "yml/no-empty-key": "error";
27
27
  readonly "yml/no-empty-mapping-value": "off";
28
28
  readonly "yml/no-empty-sequence-entry": "error";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E3B,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6E3B,CAAC"}
@@ -1,4 +1,4 @@
1
- import { ID, OFF, ON, never, always, double, } from "../../../_strings/index.js";
1
+ import { ID, OFF, ON, always, double, ignore, never, } from "../../../_strings/index.js";
2
2
  export const YmlEnablePlugin = {
3
3
  id: ID.Enable.Plugin.Plugin,
4
4
  rules: {
@@ -14,23 +14,23 @@ export const YmlEnablePlugin = {
14
14
  "yml/block-mapping": [
15
15
  ON,
16
16
  {
17
- singleline: always /* always | never | ignore */,
18
- multiline: always /* always | never | ignore */,
17
+ singleline: ignore /* always | never | @default ignore */,
18
+ multiline: always /* @default always | never | ignore */,
19
19
  },
20
20
  ],
21
21
  "yml/block-sequence-hyphen-indicator-newline": [
22
22
  ON,
23
23
  never,
24
24
  {
25
- nestedHyphen: always /* never | @default: always */,
26
- blockMapping: never /* never | always | @default: string option */,
25
+ nestedHyphen: always /* never | @default always */,
26
+ blockMapping: never /* never | always | @default string option */,
27
27
  },
28
28
  ],
29
29
  "yml/block-sequence": [
30
30
  ON,
31
31
  {
32
- singleline: always,
33
- multiline: always,
32
+ singleline: ignore /* always | never | @default ignore */,
33
+ multiline: always /* @default always | never | ignore */,
34
34
  },
35
35
  ],
36
36
  "yml/file-extension": OFF,
@@ -44,7 +44,7 @@ export const YmlEnablePlugin = {
44
44
  },
45
45
  ],
46
46
  "yml/key-name-casing": OFF,
47
- "yml/no-empty-document": ON,
47
+ "yml/no-empty-document": OFF,
48
48
  "yml/no-empty-key": ON,
49
49
  "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
50
50
  "yml/no-empty-sequence-entry": ON,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,EAAE,EACF,KAAK,EACL,MAAM,EACN,MAAM,GACP,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QACL,uEAAuE;QACvE,2CAA2C,EAAE;YAC3C,EAAE;YACF,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,EAAE;YACF,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,EAAE;YACF;gBACE,UAAU,EAAE,MAAM,CAAC,6BAA6B;gBAChD,SAAS,EAAE,MAAM,CAAC,6BAA6B;aAChD;SACF;QACD,6CAA6C,EAAE;YAC7C,EAAE;YACF,KAAK;YACL;gBACE,YAAY,EAAE,MAAM,CAAC,8BAA8B;gBACnD,YAAY,EAAE,KAAK,CAAC,8CAA8C;aACnE;SACF;QACD,oBAAoB,EAAE;YACpB,EAAE;YACF;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,EAAE;YACF,CAAC;YACD;gBACE,yBAAyB,EAAE,IAAI,CAAC,qBAAqB;gBACrD,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC,CAAC,6BAA6B;aACtD;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,EAAE;QAC3B,kBAAkB,EAAE,EAAE;QACtB,4BAA4B,EAAE,GAAG,CAAC,2GAA2G;QAC7I,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAC3B,kBAAkB,EAAE;YAClB,EAAE;YACF,MAAM;YACN;;;;;;;;;cASE;SACH;QACD,YAAY,EAAE;YACZ,EAAE;YACF;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,EAAE;QAC5B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,EAAE;KACnC;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/rules/scopes/yml/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,EAAE,EACF,GAAG,EACH,EAAE,EACF,MAAM,EACN,MAAM,EACN,MAAM,EACN,KAAK,GACN,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,EAAE,EAAE,EAAE,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM;IAC3B,KAAK,EAAE;QACL,uEAAuE;QACvE,2CAA2C,EAAE;YAC3C,EAAE;YACF,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,EAAE;YACF,KAAK;SACN;QACD,mBAAmB,EAAE;YACnB,EAAE;YACF;gBACE,UAAU,EAAE,MAAM,CAAC,sCAAsC;gBACzD,SAAS,EAAE,MAAM,CAAC,sCAAsC;aACzD;SACF;QACD,6CAA6C,EAAE;YAC7C,EAAE;YACF,KAAK;YACL;gBACE,YAAY,EAAE,MAAM,CAAC,6BAA6B;gBAClD,YAAY,EAAE,KAAK,CAAC,6CAA6C;aAClE;SACF;QACD,oBAAoB,EAAE;YACpB,EAAE;YACF;gBACE,UAAU,EAAE,MAAM,CAAC,sCAAsC;gBACzD,SAAS,EAAE,MAAM,CAAC,sCAAsC;aACzD;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,EAAE;YACF,CAAC;YACD;gBACE,yBAAyB,EAAE,IAAI,CAAC,qBAAqB;gBACrD,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC,CAAC,6BAA6B;aACtD;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,GAAG;QAC5B,kBAAkB,EAAE,EAAE;QACtB,4BAA4B,EAAE,GAAG,CAAC,2GAA2G;QAC7I,6BAA6B,EAAE,EAAE;QACjC,mBAAmB,EAAE,EAAE;QACvB,uBAAuB,EAAE,EAAE;QAC3B,kBAAkB,EAAE;YAClB,EAAE;YACF,MAAM;YACN;;;;;;;;;cASE;SACH;QACD,YAAY,EAAE;YACZ,EAAE;YACF;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,EAAE;QAC5B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,EAAE;KACnC;CACX,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "12.7.0-rc.1",
6
+ "version": "12.7.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "private": false,
9
9
  "engineStrict": true,
@@ -2,9 +2,10 @@ import {
2
2
  ID,
3
3
  OFF,
4
4
  ON,
5
- never,
6
5
  always,
7
6
  double,
7
+ ignore,
8
+ never,
8
9
  } from "../../../_strings";
9
10
 
10
11
  export const YmlEnablePlugin = {
@@ -22,23 +23,23 @@ export const YmlEnablePlugin = {
22
23
  "yml/block-mapping": [
23
24
  ON,
24
25
  {
25
- singleline: always /* always | never | ignore */,
26
- multiline: always /* always | never | ignore */,
26
+ singleline: ignore /* always | never | @default ignore */,
27
+ multiline: always /* @default always | never | ignore */,
27
28
  },
28
29
  ],
29
30
  "yml/block-sequence-hyphen-indicator-newline": [
30
31
  ON,
31
32
  never,
32
33
  {
33
- nestedHyphen: always /* never | @default: always */,
34
- blockMapping: never /* never | always | @default: string option */,
34
+ nestedHyphen: always /* never | @default always */,
35
+ blockMapping: never /* never | always | @default string option */,
35
36
  },
36
37
  ],
37
38
  "yml/block-sequence": [
38
39
  ON,
39
40
  {
40
- singleline: always,
41
- multiline: always,
41
+ singleline: ignore /* always | never | @default ignore */,
42
+ multiline: always /* @default always | never | ignore */,
42
43
  },
43
44
  ],
44
45
  "yml/file-extension": OFF,
@@ -52,7 +53,7 @@ export const YmlEnablePlugin = {
52
53
  },
53
54
  ],
54
55
  "yml/key-name-casing": OFF,
55
- "yml/no-empty-document": ON,
56
+ "yml/no-empty-document": OFF,
56
57
  "yml/no-empty-key": ON,
57
58
  "yml/no-empty-mapping-value": OFF /* PREFERENCE: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
58
59
  "yml/no-empty-sequence-entry": ON,