@eslinted/defaults 19.0.2 → 19.0.4

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 CHANGED
@@ -1,4 +1,5 @@
1
1
  # [`@eslinted/defaults`](https://www.npmjs.com/package/@eslinted/defaults)
2
+
2
3
  [![NPM Publish](https://github.com/jimmy-zhening-luo/linted-defaults/actions/workflows/RELEASE.yml/badge.svg)](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
@@ -978,45 +978,6 @@ declare const _default: {
978
978
  readonly "html/require-img-alt": import("./rules/state.js").State.WARN;
979
979
  readonly "html/require-input-label": import("./rules/state.js").State.WARN;
980
980
  readonly "html/require-meta-viewport": import("./rules/state.js").State.WARN;
981
- readonly "html/attrs-newline": readonly [
982
- import("./rules/state.js").State.WARN,
983
- {
984
- readonly ifAttrsMoreThan: 0;
985
- }
986
- ];
987
- readonly "html/element-newline": readonly [
988
- import("./rules/state.js").State.WARN,
989
- {
990
- readonly skip: readonly [
991
- "head"
992
- ];
993
- readonly inline: readonly [
994
- "$inline"
995
- ];
996
- }
997
- ];
998
- readonly "html/indent": readonly [
999
- import("./rules/state.js").State.WARN,
1000
- 2
1001
- ];
1002
- readonly "html/lowercase": import("./rules/state.js").State.WARN;
1003
- readonly "html/no-extra-spacing-attrs": readonly [
1004
- import("./rules/state.js").State.WARN,
1005
- {
1006
- readonly disallowMissing: true;
1007
- readonly disallowTabs: true;
1008
- readonly disallowInAssignment: true;
1009
- }
1010
- ];
1011
- readonly "html/no-extra-spacing-text": import("./rules/state.js").State.WARN;
1012
- readonly "html/no-multiple-empty-lines": readonly [
1013
- import("./rules/state.js").State.WARN,
1014
- {
1015
- readonly max: 1;
1016
- }
1017
- ];
1018
- readonly "html/no-trailing-spaces": import("./rules/state.js").State.WARN;
1019
- readonly "html/quotes": import("./rules/state.js").State.WARN;
1020
981
  };
1021
982
  }[];
1022
983
  css: {
@@ -1132,8 +1093,6 @@ declare const _default: {
1132
1093
  readonly "yml/no-empty-key": import("./rules/state.js").State.WARN;
1133
1094
  readonly "yml/no-empty-sequence-entry": import("./rules/state.js").State.WARN;
1134
1095
  readonly "yml/no-tab-indent": import("./rules/state.js").State.WARN;
1135
- readonly "yml/no-trailing-zeros": import("./rules/state.js").State.WARN;
1136
- readonly "yml/quotes": import("./rules/state.js").State.WARN;
1137
1096
  readonly "yml/require-string-key": import("./rules/state.js").State.WARN;
1138
1097
  };
1139
1098
  } | {
@@ -1146,15 +1105,7 @@ declare const _default: {
1146
1105
  readonly minProperties: 2;
1147
1106
  }
1148
1107
  ];
1149
- readonly "yml/flow-mapping-curly-spacing": readonly [
1150
- import("./rules/state.js").State.WARN,
1151
- "never",
1152
- {
1153
- readonly objectsInObjects: true;
1154
- }
1155
- ];
1156
1108
  readonly "yml/flow-sequence-bracket-newline": import("./rules/state.js").State.WARN;
1157
- readonly "yml/flow-sequence-bracket-spacing": import("./rules/state.js").State.WARN;
1158
1109
  readonly "yml/key-spacing": import("./rules/state.js").State.WARN;
1159
1110
  readonly "yml/no-irregular-whitespace": import("./rules/state.js").State.ON;
1160
1111
  readonly "yml/no-multiple-empty-lines": readonly [
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAsGE"}
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"}
@@ -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;YAKxC,oBAAoB,EAAE;;gBAEpB;oBACE,eAAe,EAAE,CAAC;iBACnB;aACF;YACD,sBAAsB,EAAE;;gBAEtB;oBACE,IAAI,EAAE,CAAC,MAAM,CAAC;oBACd,MAAM,EAAE,CAAC,SAAS,CAAC;iBACpB;aACF;YAED,aAAa,EAAE;;gBAEb,CAAC;aACF;YACD,gBAAgB,GAAY;YAC5B,6BAA6B,EAAE;;gBAE7B;oBACE,eAAe,EAAE,IAAI;oBACrB,YAAY,EAAE,IAAI;oBAClB,oBAAoB,EAAE,IAAI;iBAC3B;aACF;YACD,4BAA4B,GAAY;YACxC,8BAA8B,EAAE;;gBAE9B;oBACE,GAAG,EAAE,CAAC;iBACP;aACF;YACD,yBAAyB,GAAY;YACrC,aAAa,GAAY;SAGjB;KACX;CACF,CAAC"}
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"}
@@ -961,45 +961,6 @@ declare const _default: {
961
961
  readonly "html/require-img-alt": import("./state.js").State.WARN;
962
962
  readonly "html/require-input-label": import("./state.js").State.WARN;
963
963
  readonly "html/require-meta-viewport": import("./state.js").State.WARN;
964
- readonly "html/attrs-newline": readonly [
965
- import("./state.js").State.WARN,
966
- {
967
- readonly ifAttrsMoreThan: 0;
968
- }
969
- ];
970
- readonly "html/element-newline": readonly [
971
- import("./state.js").State.WARN,
972
- {
973
- readonly skip: readonly [
974
- "head"
975
- ];
976
- readonly inline: readonly [
977
- "$inline"
978
- ];
979
- }
980
- ];
981
- readonly "html/indent": readonly [
982
- import("./state.js").State.WARN,
983
- 2
984
- ];
985
- readonly "html/lowercase": import("./state.js").State.WARN;
986
- readonly "html/no-extra-spacing-attrs": readonly [
987
- import("./state.js").State.WARN,
988
- {
989
- readonly disallowMissing: true;
990
- readonly disallowTabs: true;
991
- readonly disallowInAssignment: true;
992
- }
993
- ];
994
- readonly "html/no-extra-spacing-text": import("./state.js").State.WARN;
995
- readonly "html/no-multiple-empty-lines": readonly [
996
- import("./state.js").State.WARN,
997
- {
998
- readonly max: 1;
999
- }
1000
- ];
1001
- readonly "html/no-trailing-spaces": import("./state.js").State.WARN;
1002
- readonly "html/quotes": import("./state.js").State.WARN;
1003
964
  };
1004
965
  }[];
1005
966
  css: {
@@ -1115,8 +1076,6 @@ declare const _default: {
1115
1076
  readonly "yml/no-empty-key": import("./state.js").State.WARN;
1116
1077
  readonly "yml/no-empty-sequence-entry": import("./state.js").State.WARN;
1117
1078
  readonly "yml/no-tab-indent": import("./state.js").State.WARN;
1118
- readonly "yml/no-trailing-zeros": import("./state.js").State.WARN;
1119
- readonly "yml/quotes": import("./state.js").State.WARN;
1120
1079
  readonly "yml/require-string-key": import("./state.js").State.WARN;
1121
1080
  };
1122
1081
  } | {
@@ -1129,15 +1088,7 @@ declare const _default: {
1129
1088
  readonly minProperties: 2;
1130
1089
  }
1131
1090
  ];
1132
- readonly "yml/flow-mapping-curly-spacing": readonly [
1133
- import("./state.js").State.WARN,
1134
- "never",
1135
- {
1136
- readonly objectsInObjects: true;
1137
- }
1138
- ];
1139
1091
  readonly "yml/flow-sequence-bracket-newline": import("./state.js").State.WARN;
1140
- readonly "yml/flow-sequence-bracket-spacing": import("./state.js").State.WARN;
1141
1092
  readonly "yml/key-spacing": import("./state.js").State.WARN;
1142
1093
  readonly "yml/no-irregular-whitespace": import("./state.js").State.ON;
1143
1094
  readonly "yml/no-multiple-empty-lines": readonly [
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
@@ -9,15 +9,7 @@ declare const _default: {
9
9
  readonly minProperties: 2;
10
10
  }
11
11
  ];
12
- readonly "yml/flow-mapping-curly-spacing": readonly [
13
- State.WARN,
14
- "never",
15
- {
16
- readonly objectsInObjects: true;
17
- }
18
- ];
19
12
  readonly "yml/flow-sequence-bracket-newline": State.WARN;
20
- readonly "yml/flow-sequence-bracket-spacing": State.WARN;
21
13
  readonly "yml/key-spacing": State.WARN;
22
14
  readonly "yml/no-irregular-whitespace": State.ON;
23
15
  readonly "yml/no-multiple-empty-lines": readonly [
@@ -1 +1 @@
1
- {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBA+CE"}
1
+ {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;AAGjC,wBAyCE"}
@@ -8,15 +8,7 @@ export default {
8
8
  minProperties: 2,
9
9
  },
10
10
  ],
11
- "yml/flow-mapping-curly-spacing": [
12
- 1,
13
- "never",
14
- {
15
- objectsInObjects: true,
16
- },
17
- ],
18
11
  "yml/flow-sequence-bracket-newline": 1,
19
- "yml/flow-sequence-bracket-spacing": 1,
20
12
  "yml/key-spacing": 1,
21
13
  "yml/no-irregular-whitespace": 2,
22
14
  "yml/no-multiple-empty-lines": [
@@ -1 +1 @@
1
- {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,gCAAgC,EAAE;;YAEhC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QACD,gCAAgC,EAAE;;YAEhC,OAAO;YACP;gBACE,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,GAAY;QAC/C,mCAAmC,GAAY;QAC/C,iBAAiB,GAAY;QAC7B,6BAA6B,GAAU;QACvC,6BAA6B,EAAE;;YAE7B;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;;YAEpB,QAAQ;YACR;gBACE,UAAU,EAAE,CAAC,GAAG,CAAC;gBACjB,OAAO,EAAE;oBACP,GAAG;oBACH,GAAG;oBACH,IAAI;oBACJ,KAAK;oBACL,MAAM;oBACN,OAAO;oBACP,QAAQ;oBACR,WAAW;iBACZ;aACF;SACF;KACO;CACX,CAAC"}
1
+ {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,gCAAgC,EAAE;;YAEhC;gBACE,UAAU,EAAE,IAAI;gBAChB,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;aACjB;SACF;QAED,mCAAmC,GAAY;QAE/C,iBAAiB,GAAY;QAC7B,6BAA6B,GAAU;QACvC,6BAA6B,EAAE;;YAE7B;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE;;YAEpB,QAAQ;YACR;gBACE,UAAU,EAAE,CAAC,GAAG,CAAC;gBACjB,OAAO,EAAE;oBACP,GAAG;oBACH,GAAG;oBACH,IAAI;oBACJ,KAAK;oBACL,MAAM;oBACN,OAAO;oBACP,QAAQ;oBACR,WAAW;iBACZ;aACF;SACF;KACO;CACX,CAAC"}
@@ -9,8 +9,6 @@ declare const _default: ({
9
9
  readonly "yml/no-empty-key": import("../state.js").State.WARN;
10
10
  readonly "yml/no-empty-sequence-entry": import("../state.js").State.WARN;
11
11
  readonly "yml/no-tab-indent": import("../state.js").State.WARN;
12
- readonly "yml/no-trailing-zeros": import("../state.js").State.WARN;
13
- readonly "yml/quotes": import("../state.js").State.WARN;
14
12
  readonly "yml/require-string-key": import("../state.js").State.WARN;
15
13
  };
16
14
  } | {
@@ -23,15 +21,7 @@ declare const _default: ({
23
21
  readonly minProperties: 2;
24
22
  }
25
23
  ];
26
- readonly "yml/flow-mapping-curly-spacing": readonly [
27
- import("../state.js").State.WARN,
28
- "never",
29
- {
30
- readonly objectsInObjects: true;
31
- }
32
- ];
33
24
  readonly "yml/flow-sequence-bracket-newline": import("../state.js").State.WARN;
34
- readonly "yml/flow-sequence-bracket-spacing": import("../state.js").State.WARN;
35
25
  readonly "yml/key-spacing": import("../state.js").State.WARN;
36
26
  readonly "yml/no-irregular-whitespace": import("../state.js").State.ON;
37
27
  readonly "yml/no-multiple-empty-lines": readonly [
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAGE"}
@@ -10,8 +10,6 @@ declare const _default: {
10
10
  readonly "yml/no-empty-key": State.WARN;
11
11
  readonly "yml/no-empty-sequence-entry": State.WARN;
12
12
  readonly "yml/no-tab-indent": State.WARN;
13
- readonly "yml/no-trailing-zeros": State.WARN;
14
- readonly "yml/quotes": State.WARN;
15
13
  readonly "yml/require-string-key": State.WARN;
16
14
  };
17
15
  };
@@ -1 +1 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;;;AAGjC,wBAuBE"}
1
+ {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;;;;;;;;AAGjC,wBAuBE"}
@@ -9,8 +9,6 @@ export default {
9
9
  "yml/no-empty-key": 1,
10
10
  "yml/no-empty-sequence-entry": 1,
11
11
  "yml/no-tab-indent": 1,
12
- "yml/no-trailing-zeros": 1,
13
- "yml/quotes": 1,
14
12
  "yml/require-string-key": 1,
15
13
  },
16
14
  };
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAY;QACvD,8CAA8C,GAAY;QAC1D,mBAAmB,GAAY;QAC/B,6CAA6C,GAAY;QACzD,oBAAoB,GAAY;QAEhC,YAAY,GAAY;QAGxB,kBAAkB,GAAY;QAE9B,6BAA6B,GAAY;QACzC,mBAAmB,GAAY;QAC/B,uBAAuB,GAAY;QAEnC,YAAY,GAAY;QACxB,wBAAwB,GAAY;KAI5B;CACX,CAAC"}
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAY;QACvD,8CAA8C,GAAY;QAC1D,mBAAmB,GAAY;QAC/B,6CAA6C,GAAY;QACzD,oBAAoB,GAAY;QAEhC,YAAY,GAAY;QAGxB,kBAAkB,GAAY;QAE9B,6BAA6B,GAAY;QACzC,mBAAmB,GAAY;QAI/B,wBAAwB,GAAY;KAI5B;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": "19.0.2",
6
+ "version": "19.0.4",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -63,42 +63,16 @@ export default [
63
63
 
64
64
  // #region STYLE
65
65
  // DOC: https://html-eslint.org/docs/rules#style
66
- "html/attrs-newline": [
67
- State.WARN,
68
- {
69
- ifAttrsMoreThan: 0,
70
- },
71
- ],
72
- "html/element-newline": [
73
- State.WARN,
74
- {
75
- skip: ["head"],
76
- inline: ["$inline"],
77
- },
78
- ],
66
+ // "html/attrs-newline": State.OFF,
67
+ // "html/element-newline": State.OFF,
79
68
  // "html/id-naming-convention": State.OFF,
80
- "html/indent": [
81
- State.WARN,
82
- 2,
83
- ],
84
- "html/lowercase": State.WARN,
85
- "html/no-extra-spacing-attrs": [
86
- State.WARN,
87
- {
88
- disallowMissing: true,
89
- disallowTabs: true,
90
- disallowInAssignment: true,
91
- },
92
- ],
93
- "html/no-extra-spacing-text": State.WARN,
94
- "html/no-multiple-empty-lines": [
95
- State.WARN,
96
- {
97
- max: 1,
98
- },
99
- ],
100
- "html/no-trailing-spaces": State.WARN,
101
- "html/quotes": State.WARN,
69
+ // "html/indent": State.OFF,
70
+ // "html/lowercase": State.OFF,
71
+ // "html/no-extra-spacing-attrs": State.OFF,
72
+ // "html/no-extra-spacing-text": State.OFF,
73
+ // "html/no-multiple-empty-lines": State.OFF,
74
+ // "html/no-trailing-spaces": State.OFF,
75
+ // "html/quotes": State.OFF,
102
76
  // "html/sort-attrs": State.OFF,
103
77
  // #endregion
104
78
  } as const,
@@ -11,15 +11,9 @@ export default {
11
11
  minProperties: 2,
12
12
  },
13
13
  ] /* MUST match jsonc/object-curly-newline */,
14
- "yml/flow-mapping-curly-spacing": [
15
- State.WARN,
16
- "never",
17
- {
18
- objectsInObjects: true,
19
- },
20
- ] /* @OVERRIDE jsonc/object-curly-spacing */,
14
+ // "yml/flow-mapping-curly-spacing": State.OFF,
21
15
  "yml/flow-sequence-bracket-newline": State.WARN /* @OVERRIDE jsonc/array-bracket-newline */,
22
- "yml/flow-sequence-bracket-spacing": State.WARN /* MUST match jsonc/array-bracket-spacing */,
16
+ // "yml/flow-sequence-bracket-spacing": State.OFF,
23
17
  "yml/key-spacing": State.WARN /* MUST match jsonc/key-spacing */,
24
18
  "yml/no-irregular-whitespace": State.ON,
25
19
  "yml/no-multiple-empty-lines": [
@@ -16,9 +16,9 @@ export default {
16
16
  // "yml/no-empty-mapping-value": State.OFF /* @preference: breaks Home Assistant integration enablement shorthand style (would require a `{}` after) */,
17
17
  "yml/no-empty-sequence-entry": State.WARN,
18
18
  "yml/no-tab-indent": State.WARN,
19
- "yml/no-trailing-zeros": State.WARN,
19
+ // "yml/no-trailing-zeros": State.OFF,
20
20
  // "yml/plain-scalar": State.OFF /* @CONFLICT: breaks any holdovers from YAML 1.1 or non-YAML 1.2 core implementers */,
21
- "yml/quotes": State.WARN,
21
+ // "yml/quotes": State.OFF,
22
22
  "yml/require-string-key": State.WARN,
23
23
  // "yml/sort-keys": State.OFF,
24
24
  // "yml/sort-sequence-values": State.OFF,