linted 16.12.2-rc.0 → 16.12.2-rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (189) hide show
  1. package/.github/workflows/RELEASE.yml +35 -35
  2. package/.github/workflows/rc.yml +35 -35
  3. package/LICENSE +21 -21
  4. package/README.md +390 -390
  5. package/SECURITY.md +9 -9
  6. package/dist/imports/plugins.d.ts.map +1 -1
  7. package/dist/imports.d.ts.map +1 -1
  8. package/dist/rules/html/enable.d.ts +8 -0
  9. package/dist/rules/html/enable.d.ts.map +1 -0
  10. package/dist/rules/html/enable.js +15 -0
  11. package/dist/rules/html/enable.js.map +1 -0
  12. package/dist/rules/html/enable_recommended.d.ts +3 -0
  13. package/dist/rules/html/enable_recommended.d.ts.map +1 -0
  14. package/dist/rules/html/enable_recommended.js +8 -0
  15. package/dist/rules/html/enable_recommended.js.map +1 -0
  16. package/dist/rules/html.d.ts +8 -0
  17. package/dist/rules/html.d.ts.map +1 -0
  18. package/dist/rules/html.js +4 -0
  19. package/dist/rules/html.js.map +1 -0
  20. package/dist/rules/js/enable.d.ts +348 -0
  21. package/dist/rules/js/enable.d.ts.map +1 -0
  22. package/dist/rules/js/enable.js +496 -0
  23. package/dist/rules/js/enable.js.map +1 -0
  24. package/dist/rules/js/enable_stylistic.d.ts +420 -0
  25. package/dist/rules/js/enable_stylistic.d.ts.map +1 -0
  26. package/dist/rules/js/enable_stylistic.js +585 -0
  27. package/dist/rules/js/enable_stylistic.js.map +1 -0
  28. package/dist/rules/js.d.ts +765 -0
  29. package/dist/rules/js.d.ts.map +1 -0
  30. package/dist/rules/js.js +4 -0
  31. package/dist/rules/js.js.map +1 -0
  32. package/dist/rules/json/enable.d.ts +27 -0
  33. package/dist/rules/json/enable.d.ts.map +1 -0
  34. package/dist/rules/json/enable.js +31 -0
  35. package/dist/rules/json/enable.js.map +1 -0
  36. package/dist/rules/json/enable_x.d.ts.map +1 -1
  37. package/dist/rules/json/enable_x.js +48 -8
  38. package/dist/rules/json/enable_x.js.map +1 -1
  39. package/dist/rules/json.d.ts +74 -0
  40. package/dist/rules/json.d.ts.map +1 -0
  41. package/dist/rules/json.js +4 -0
  42. package/dist/rules/json.js.map +1 -0
  43. package/dist/rules/jsonc/override.d.ts.map +1 -1
  44. package/dist/rules/jsonc/override.js +12 -3
  45. package/dist/rules/jsonc/override.js.map +1 -1
  46. package/dist/rules/jsonc.d.ts +77 -0
  47. package/dist/rules/jsonc.d.ts.map +1 -0
  48. package/dist/rules/jsonc.js +4 -0
  49. package/dist/rules/jsonc.js.map +1 -0
  50. package/dist/rules/md/enable.d.ts +7 -0
  51. package/dist/rules/md/enable.d.ts.map +1 -0
  52. package/dist/rules/md/enable.js +14 -0
  53. package/dist/rules/md/enable.js.map +1 -0
  54. package/dist/rules/md.d.ts +7 -0
  55. package/dist/rules/md.d.ts.map +1 -0
  56. package/dist/rules/md.js +3 -0
  57. package/dist/rules/md.js.map +1 -0
  58. package/dist/rules/mocha/enable.d.ts +3 -0
  59. package/dist/rules/mocha/enable.d.ts.map +1 -0
  60. package/dist/rules/mocha/enable.js +3 -0
  61. package/dist/rules/mocha/enable.js.map +1 -0
  62. package/dist/rules/mocha/enable_recommended.d.ts +3 -0
  63. package/dist/rules/mocha/enable_recommended.d.ts.map +1 -0
  64. package/dist/rules/mocha/enable_recommended.js +8 -0
  65. package/dist/rules/mocha/enable_recommended.js.map +1 -0
  66. package/dist/rules/mocha.d.ts +8 -0
  67. package/dist/rules/mocha.d.ts.map +1 -0
  68. package/dist/rules/mocha.js +4 -0
  69. package/dist/rules/mocha.js.map +1 -0
  70. package/dist/rules/svelte/disable.d.ts +5 -0
  71. package/dist/rules/svelte/disable.d.ts.map +1 -0
  72. package/dist/rules/svelte/disable.js +8 -0
  73. package/dist/rules/svelte/disable.js.map +1 -0
  74. package/dist/rules/svelte/disable_js.d.ts.map +1 -1
  75. package/dist/rules/svelte/disable_js.js +8 -3
  76. package/dist/rules/svelte/disable_js.js.map +1 -1
  77. package/dist/rules/svelte/disable_ts.d.ts.map +1 -1
  78. package/dist/rules/svelte/disable_ts.js +8 -3
  79. package/dist/rules/svelte/disable_ts.js.map +1 -1
  80. package/dist/rules/svelte/enable.d.ts +126 -0
  81. package/dist/rules/svelte/enable.d.ts.map +1 -0
  82. package/dist/rules/svelte/enable.js +190 -0
  83. package/dist/rules/svelte/enable.js.map +1 -0
  84. package/dist/rules/svelte/enable_x.d.ts.map +1 -1
  85. package/dist/rules/svelte/enable_x.js +15 -3
  86. package/dist/rules/svelte/enable_x.js.map +1 -1
  87. package/dist/rules/svelte.d.ts +1269 -0
  88. package/dist/rules/svelte.d.ts.map +1 -0
  89. package/dist/rules/svelte.js +15 -0
  90. package/dist/rules/svelte.js.map +1 -0
  91. package/dist/rules/ts/disable.d.ts +18 -0
  92. package/dist/rules/ts/disable.d.ts.map +1 -0
  93. package/dist/rules/ts/disable.js +21 -0
  94. package/dist/rules/ts/disable.js.map +1 -0
  95. package/dist/rules/ts/disable_x.d.ts.map +1 -1
  96. package/dist/rules/ts/disable_x.js +1 -2
  97. package/dist/rules/ts/disable_x.js.map +1 -1
  98. package/dist/rules/ts/enable.d.ts +262 -0
  99. package/dist/rules/ts/enable.d.ts.map +1 -0
  100. package/dist/rules/ts/enable.js +503 -0
  101. package/dist/rules/ts/enable.js.map +1 -0
  102. package/dist/rules/ts/enable_x.d.ts.map +1 -1
  103. package/dist/rules/ts/enable_x.js +32 -5
  104. package/dist/rules/ts/enable_x.js.map +1 -1
  105. package/dist/rules/ts.d.ts +1133 -0
  106. package/dist/rules/ts.d.ts.map +1 -0
  107. package/dist/rules/ts.js +13 -0
  108. package/dist/rules/ts.js.map +1 -0
  109. package/dist/rules/yml/enable.d.ts +39 -0
  110. package/dist/rules/yml/enable.d.ts.map +1 -0
  111. package/dist/rules/yml/enable.js +60 -0
  112. package/dist/rules/yml/enable.js.map +1 -0
  113. package/dist/rules/yml/enable_x.d.ts.map +1 -1
  114. package/dist/rules/yml/enable_x.js +57 -9
  115. package/dist/rules/yml/enable_x.js.map +1 -1
  116. package/dist/rules/yml.d.ts +73 -0
  117. package/dist/rules/yml.d.ts.map +1 -0
  118. package/dist/rules/yml.js +4 -0
  119. package/dist/rules/yml.js.map +1 -0
  120. package/dist/rules.d.ts +75 -75
  121. package/dist/rules.js +9 -9
  122. package/dist/rules.js.map +1 -1
  123. package/eslint.config.js +3 -3
  124. package/package.json +99 -99
  125. package/src/files/html.ts +1 -1
  126. package/src/files/js.ts +1 -1
  127. package/src/files/json.ts +1 -1
  128. package/src/files/jsonc.ts +4 -4
  129. package/src/files/md.ts +1 -1
  130. package/src/files/mocha.ts +1 -1
  131. package/src/files/svelte.ts +1 -1
  132. package/src/files/ts.ts +5 -5
  133. package/src/files/yml.ts +5 -5
  134. package/src/files.ts +22 -22
  135. package/src/imports/parsers.ts +15 -15
  136. package/src/imports/plugins.ts +19 -19
  137. package/src/imports.ts +8 -8
  138. package/src/index.ts +36 -36
  139. package/src/rules/_strings/id.ts +18 -18
  140. package/src/rules/_strings/level.ts +6 -6
  141. package/src/rules/_strings/state.ts +56 -56
  142. package/src/rules/_strings.ts +6 -6
  143. package/src/rules/html/enable.ts +16 -0
  144. package/src/rules/html/enable_recommended.ts +9 -0
  145. package/src/rules/html.ts +4 -0
  146. package/src/rules/js/enable.ts +524 -0
  147. package/src/rules/js/enable_stylistic.ts +608 -0
  148. package/src/rules/js.ts +4 -0
  149. package/src/rules/json/{_enable.ts → enable.ts} +33 -35
  150. package/src/rules/json/enable_x.ts +89 -50
  151. package/src/rules/{_json.ts → json.ts} +4 -4
  152. package/src/rules/jsonc/override.ts +16 -9
  153. package/src/rules/{_jsonc.ts → jsonc.ts} +4 -4
  154. package/src/rules/md/enable.ts +15 -0
  155. package/src/rules/md.ts +3 -0
  156. package/src/rules/mocha/enable.ts +3 -0
  157. package/src/rules/mocha/enable_recommended.ts +9 -0
  158. package/src/rules/mocha.ts +4 -0
  159. package/src/rules/svelte/disable.ts +9 -0
  160. package/src/rules/svelte/disable_js.ts +11 -7
  161. package/src/rules/svelte/disable_ts.ts +9 -5
  162. package/src/rules/svelte/{_enable.ts → enable.ts} +228 -129
  163. package/src/rules/svelte/enable_x.ts +20 -9
  164. package/src/rules/{_svelte.ts → svelte.ts} +15 -15
  165. package/src/rules/ts/{disable_compiler.ts → disable.ts} +22 -23
  166. package/src/rules/ts/disable_x.ts +32 -36
  167. package/src/rules/ts/{_enable.ts → enable.ts} +549 -406
  168. package/src/rules/ts/enable_x.ts +115 -90
  169. package/src/rules/{_ts.ts → ts.ts} +13 -13
  170. package/src/rules/yml/{_enable.ts → enable.ts} +64 -33
  171. package/src/rules/yml/enable_x.ts +68 -21
  172. package/src/rules/{_yml.ts → yml.ts} +4 -4
  173. package/src/rules.ts +22 -22
  174. package/tsconfig.json +161 -161
  175. package/types/markdownlint/index.d.ts +3 -3
  176. package/types/markdownlint/parser.d.ts +9 -9
  177. package/types/mocha/index.d.ts +8 -8
  178. package/src/rules/_html.ts +0 -4
  179. package/src/rules/_js.ts +0 -4
  180. package/src/rules/_md.ts +0 -3
  181. package/src/rules/_mocha.ts +0 -4
  182. package/src/rules/html/_enable.ts +0 -13
  183. package/src/rules/html/_recommended.ts +0 -7
  184. package/src/rules/js/_enable.ts +0 -287
  185. package/src/rules/js/stylistic.ts +0 -294
  186. package/src/rules/md/_enable.ts +0 -14
  187. package/src/rules/mocha/_enable.ts +0 -5
  188. package/src/rules/mocha/_recommended.ts +0 -7
  189. package/src/rules/svelte/disable_x.ts +0 -8
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/rules/ts.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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from "./ts/enable_x.js";
5
+ import Enable from "./ts/enable.js";
6
+ export default [
7
+ ...Js,
8
+ DisableCompiler,
9
+ DisableX,
10
+ EnableX,
11
+ Enable,
12
+ ];
13
+ //# sourceMappingURL=ts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/rules/ts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,eAAe,MAAM,iBAAiB,CAAC;AAC9C,OAAO,QAAQ,MAAM,mBAAmB,CAAC;AACzC,OAAO,OAAO,MAAM,kBAAkB,CAAC;AACvC,OAAO,MAAM,MAAM,gBAAgB,CAAC;AAEpC,eAAe;IACb,GAAG,EAAE;IACL,eAAe;IACf,QAAQ;IACR,OAAO;IACP,MAAM;CACE,CAAC"}
@@ -0,0 +1,39 @@
1
+ declare const _default: readonly ["enable", {
2
+ readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
3
+ readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
4
+ readonly "yml/block-mapping": readonly ["error", {
5
+ readonly singleline: "never";
6
+ readonly multiline: "always";
7
+ }];
8
+ readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
9
+ readonly nestedHyphen: "always";
10
+ readonly blockMapping: "never";
11
+ }];
12
+ readonly "yml/block-sequence": readonly ["error", {
13
+ readonly singleline: "always";
14
+ readonly multiline: "always";
15
+ }];
16
+ readonly "yml/file-extension": "off";
17
+ readonly "yml/indent": readonly ["error", 2, {
18
+ readonly indentBlockSequences: true;
19
+ readonly indicatorValueIndent: 2;
20
+ }];
21
+ readonly "yml/key-name-casing": "off";
22
+ readonly "yml/no-empty-document": "error";
23
+ readonly "yml/no-empty-key": "error";
24
+ readonly "yml/no-empty-mapping-value": "error";
25
+ readonly "yml/no-empty-sequence-entry": "error";
26
+ readonly "yml/no-tab-indent": "error";
27
+ readonly "yml/no-trailing-zeros": "error";
28
+ readonly "yml/plain-scalar": readonly ["error", "always"];
29
+ readonly "yml/quotes": readonly ["error", {
30
+ readonly prefer: "double";
31
+ readonly avoidEscape: true;
32
+ }];
33
+ readonly "yml/require-string-key": "error";
34
+ readonly "yml/sort-keys": "off";
35
+ readonly "yml/sort-sequence-values": "off";
36
+ readonly "yml/vue-custom-block/no-parsing-error": "error";
37
+ }];
38
+ export default _default;
39
+ //# sourceMappingURL=enable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enable.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBAyDW"}
@@ -0,0 +1,60 @@
1
+ import { enable, level, state } from "../_strings.js";
2
+ const { ERROR, OFF } = level, { Never, Always, Double } = state;
3
+ export default [
4
+ enable,
5
+ {
6
+ "yml/block-mapping-colon-indicator-newline": [ERROR, Never],
7
+ "yml/block-mapping-question-indicator-newline": [ERROR, Never],
8
+ "yml/block-mapping": [
9
+ ERROR,
10
+ {
11
+ singleline: Never,
12
+ multiline: Always,
13
+ },
14
+ ],
15
+ "yml/block-sequence-hyphen-indicator-newline": [
16
+ ERROR,
17
+ Never,
18
+ {
19
+ nestedHyphen: Always,
20
+ blockMapping: Never,
21
+ },
22
+ ],
23
+ "yml/block-sequence": [
24
+ ERROR,
25
+ {
26
+ singleline: Always,
27
+ multiline: Always,
28
+ },
29
+ ],
30
+ "yml/file-extension": OFF,
31
+ "yml/indent": [
32
+ ERROR,
33
+ 2,
34
+ {
35
+ indentBlockSequences: true,
36
+ indicatorValueIndent: 2,
37
+ },
38
+ ],
39
+ "yml/key-name-casing": OFF,
40
+ "yml/no-empty-document": ERROR,
41
+ "yml/no-empty-key": ERROR,
42
+ "yml/no-empty-mapping-value": ERROR,
43
+ "yml/no-empty-sequence-entry": ERROR,
44
+ "yml/no-tab-indent": ERROR,
45
+ "yml/no-trailing-zeros": ERROR,
46
+ "yml/plain-scalar": [ERROR, Always],
47
+ "yml/quotes": [
48
+ ERROR,
49
+ {
50
+ prefer: Double,
51
+ avoidEscape: true,
52
+ },
53
+ ],
54
+ "yml/require-string-key": ERROR,
55
+ "yml/sort-keys": OFF,
56
+ "yml/sort-sequence-values": OFF,
57
+ "yml/vue-custom-block/no-parsing-error": ERROR,
58
+ },
59
+ ];
60
+ //# sourceMappingURL=enable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/yml/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEtD,MACA,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,EACtB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;AAElC,eAAe;IACb,MAAM;IACN;QAEE,2CAA2C,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC3D,8CAA8C,EAAE,CAAC,KAAK,EAAE,KAAK,CAAC;QAC9D,mBAAmB,EAAE;YACnB,KAAK;YACL;gBACE,UAAU,EAAE,KAAK;gBACjB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,6CAA6C,EAAE;YAC7C,KAAK;YACL,KAAK;YACL;gBACE,YAAY,EAAE,MAAM;gBACpB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,oBAAoB,EAAE;YACpB,KAAK;YACL;gBACE,UAAU,EAAE,MAAM;gBAClB,SAAS,EAAE,MAAM;aAClB;SACF;QACD,oBAAoB,EAAE,GAAG;QACzB,YAAY,EAAE;YACZ,KAAK;YACL,CAAC;YACD;gBACE,oBAAoB,EAAE,IAAI;gBAC1B,oBAAoB,EAAE,CAAC;aACxB;SACF;QACD,qBAAqB,EAAE,GAAG;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,KAAK;QACzB,4BAA4B,EAAE,KAAK;QACnC,6BAA6B,EAAE,KAAK;QACpC,mBAAmB,EAAE,KAAK;QAC1B,uBAAuB,EAAE,KAAK;QAC9B,kBAAkB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;QACnC,YAAY,EAAE;YACZ,KAAK;YACL;gBACE,MAAM,EAAE,MAAM;gBACd,WAAW,EAAE,IAAI;aAClB;SACF;QACD,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CACO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAOA,wBAaW"}
1
+ {"version":3,"file":"enable_x.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA6DW"}
@@ -1,15 +1,63 @@
1
- import { id, level, state } from "../_strings.js";
2
- const { enable_x } = id, { ERROR } = level, { Never, Always, Strict } = state;
1
+ import { enable_x, level, state } from "../_strings.js";
2
+ const { ERROR } = level, { Never, Always, Strict } = state;
3
3
  export default [
4
4
  enable_x,
5
5
  {
6
- "yml/flow-mapping-curly-newline": [ERROR, { consistent: false, multiline: true, minProperties: 2 }],
7
- "yml/flow-mapping-curly-spacing": [ERROR, Always, { arraysInObjects: true, objectsInObjects: true }],
8
- "yml/flow-sequence-bracket-newline": [ERROR, { multiline: true, minItems: null }],
9
- "yml/flow-sequence-bracket-spacing": [ERROR, Never, { singleValue: false, objectsInArrays: false, arraysInArrays: false }],
10
- "yml/key-spacing": [ERROR, { beforeColon: false, afterColon: true, mode: Strict }],
11
- "yml/no-irregular-whitespace": [ERROR, { skipQuotedScalars: true, skipComments: false }],
12
- "yml/no-multiple-empty-lines": [ERROR, { max: 1, maxEOF: 1, maxBOF: 0 }],
6
+ "yml/flow-mapping-curly-newline": [
7
+ ERROR,
8
+ {
9
+ consistent: false,
10
+ multiline: true,
11
+ minProperties: 2,
12
+ },
13
+ ],
14
+ "yml/flow-mapping-curly-spacing": [
15
+ ERROR,
16
+ Always,
17
+ {
18
+ arraysInObjects: true,
19
+ objectsInObjects: true,
20
+ },
21
+ ],
22
+ "yml/flow-sequence-bracket-newline": [
23
+ ERROR,
24
+ {
25
+ multiline: true,
26
+ minItems: null,
27
+ },
28
+ ],
29
+ "yml/flow-sequence-bracket-spacing": [
30
+ ERROR,
31
+ Never,
32
+ {
33
+ singleValue: false,
34
+ objectsInArrays: false,
35
+ arraysInArrays: false,
36
+ },
37
+ ],
38
+ "yml/key-spacing": [
39
+ ERROR,
40
+ {
41
+ beforeColon: false,
42
+ afterColon: true,
43
+ mode: Strict,
44
+ },
45
+ ],
46
+ "yml/no-irregular-whitespace": [
47
+ ERROR,
48
+ {
49
+ skipQuotedScalars: true,
50
+ skipComments: false,
51
+ },
52
+ ],
53
+ "yml/no-multiple-empty-lines": [
54
+ ERROR,
55
+ {
56
+ max: 1,
57
+ maxEOF: 1,
58
+ maxBOF: 0,
59
+ },
60
+ ],
13
61
  "yml/spaced-comment": [ERROR, Always],
14
62
  },
15
63
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"enable_x.js","sourceRoot":"","sources":["../../../src/rules/yml/enable_x.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAElD,MACA,EAAE,QAAQ,EAAE,GAAG,EAAE,EACjB,EAAE,KAAK,EAAE,GAAG,KAAK,EACjB,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,KAAK,CAAC;AAElC,eAAe;IACb,QAAQ;IACR;QAEE,gCAAgC,EAAE,CAAC,KAAK,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,EAAE,CAAC;QACnG,gC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,IAAI;gBACrB,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,QAAQ,EAAE,IAAI;aACf;SACF;QACD,mCAAmC,EAAE;YACnC,KAAK;YACL,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,eAAe,EAAE,KAAK;gBACtB,cAAc,EAAE,KAAK;aACtB;SACF;QACD,iBAAiB,EAAE;YACjB,KAAK;YACL;gBACE,WAAW,EAAE,KAAK;gBAClB,UAAU,EAAE,IAAI;gBAChB,IAAI,EAAE,MAAM;aACb;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,iBAAiB,EAAE,IAAI;gBACvB,YAAY,EAAE,KAAK;aACpB;SACF;QACD,6BAA6B,EAAE;YAC7B,KAAK;YACL;gBACE,GAAG,EAAE,CAAC;gBACN,MAAM,EAAE,CAAC;gBACT,MAAM,EAAE,CAAC;aACV;SACF;QACD,oBAAoB,EAAE,CAAC,KAAK,EAAE,MAAM,CAAC;KACtC;CACO,CAAC"}
@@ -0,0 +1,73 @@
1
+ declare const _default: readonly [readonly ["enable-extend", {
2
+ readonly "yml/flow-mapping-curly-newline": readonly ["error", {
3
+ readonly consistent: false;
4
+ readonly multiline: true;
5
+ readonly minProperties: 2;
6
+ }];
7
+ readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
8
+ readonly arraysInObjects: true;
9
+ readonly objectsInObjects: true;
10
+ }];
11
+ readonly "yml/flow-sequence-bracket-newline": readonly ["error", {
12
+ readonly multiline: true;
13
+ readonly minItems: null;
14
+ }];
15
+ readonly "yml/flow-sequence-bracket-spacing": readonly ["error", "never", {
16
+ readonly singleValue: false;
17
+ readonly objectsInArrays: false;
18
+ readonly arraysInArrays: false;
19
+ }];
20
+ readonly "yml/key-spacing": readonly ["error", {
21
+ readonly beforeColon: false;
22
+ readonly afterColon: true;
23
+ readonly mode: "strict";
24
+ }];
25
+ readonly "yml/no-irregular-whitespace": readonly ["error", {
26
+ readonly skipQuotedScalars: true;
27
+ readonly skipComments: false;
28
+ }];
29
+ readonly "yml/no-multiple-empty-lines": readonly ["error", {
30
+ readonly max: 1;
31
+ readonly maxEOF: 1;
32
+ readonly maxBOF: 0;
33
+ }];
34
+ readonly "yml/spaced-comment": readonly ["error", "always"];
35
+ }], readonly ["enable", {
36
+ readonly "yml/block-mapping-colon-indicator-newline": readonly ["error", "never"];
37
+ readonly "yml/block-mapping-question-indicator-newline": readonly ["error", "never"];
38
+ readonly "yml/block-mapping": readonly ["error", {
39
+ readonly singleline: "never";
40
+ readonly multiline: "always";
41
+ }];
42
+ readonly "yml/block-sequence-hyphen-indicator-newline": readonly ["error", "never", {
43
+ readonly nestedHyphen: "always";
44
+ readonly blockMapping: "never";
45
+ }];
46
+ readonly "yml/block-sequence": readonly ["error", {
47
+ readonly singleline: "always";
48
+ readonly multiline: "always";
49
+ }];
50
+ readonly "yml/file-extension": "off";
51
+ readonly "yml/indent": readonly ["error", 2, {
52
+ readonly indentBlockSequences: true;
53
+ readonly indicatorValueIndent: 2;
54
+ }];
55
+ readonly "yml/key-name-casing": "off";
56
+ readonly "yml/no-empty-document": "error";
57
+ readonly "yml/no-empty-key": "error";
58
+ readonly "yml/no-empty-mapping-value": "error";
59
+ readonly "yml/no-empty-sequence-entry": "error";
60
+ readonly "yml/no-tab-indent": "error";
61
+ readonly "yml/no-trailing-zeros": "error";
62
+ readonly "yml/plain-scalar": readonly ["error", "always"];
63
+ readonly "yml/quotes": readonly ["error", {
64
+ readonly prefer: "double";
65
+ readonly avoidEscape: true;
66
+ }];
67
+ readonly "yml/require-string-key": "error";
68
+ readonly "yml/sort-keys": "off";
69
+ readonly "yml/sort-sequence-values": "off";
70
+ readonly "yml/vue-custom-block/no-parsing-error": "error";
71
+ }]];
72
+ export default _default;
73
+ //# sourceMappingURL=yml.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/rules/yml.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGA,wBAA0C"}
@@ -0,0 +1,4 @@
1
+ import EnableX from "./yml/enable_x.js";
2
+ import Enable from "./yml/enable.js";
3
+ export default [EnableX, Enable];
4
+ //# sourceMappingURL=yml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/rules/yml.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,mBAAmB,CAAC;AACxC,OAAO,MAAM,MAAM,iBAAiB,CAAC;AAErC,eAAe,CAAC,OAAO,EAAE,MAAM,CAAU,CAAC"}