linted 16.1.0-rc.1 → 16.1.1-rc.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. package/dist/imports/index.d.ts +1 -1
  2. package/dist/imports/index.d.ts.map +1 -1
  3. package/dist/imports/index.js +1 -1
  4. package/dist/imports/index.js.map +1 -1
  5. package/dist/index.d.ts +5 -1
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -1
  8. package/dist/index.js.map +1 -1
  9. package/dist/statics/index.d.ts +1 -1
  10. package/dist/statics/index.d.ts.map +1 -1
  11. package/dist/statics/index.js +1 -1
  12. package/dist/statics/index.js.map +1 -1
  13. package/dist/statics/rules/index.d.ts +23 -23
  14. package/dist/statics/rules/presets/Html.d.ts.map +1 -1
  15. package/dist/statics/rules/presets/Html.js +1 -4
  16. package/dist/statics/rules/presets/Html.js.map +1 -1
  17. package/dist/statics/rules/presets/Js.d.ts +4 -4
  18. package/dist/statics/rules/presets/Js.d.ts.map +1 -1
  19. package/dist/statics/rules/presets/Js.js +1 -4
  20. package/dist/statics/rules/presets/Js.js.map +1 -1
  21. package/dist/statics/rules/presets/Json.d.ts +1 -1
  22. package/dist/statics/rules/presets/Json.d.ts.map +1 -1
  23. package/dist/statics/rules/presets/Json.js +1 -4
  24. package/dist/statics/rules/presets/Json.js.map +1 -1
  25. package/dist/statics/rules/presets/Jsonc.d.ts +1 -1
  26. package/dist/statics/rules/presets/Jsonc.d.ts.map +1 -1
  27. package/dist/statics/rules/presets/Jsonc.js +1 -4
  28. package/dist/statics/rules/presets/Jsonc.js.map +1 -1
  29. package/dist/statics/rules/presets/Mocha.d.ts.map +1 -1
  30. package/dist/statics/rules/presets/Mocha.js +1 -4
  31. package/dist/statics/rules/presets/Mocha.js.map +1 -1
  32. package/dist/statics/rules/presets/Svelte.d.ts +8 -8
  33. package/dist/statics/rules/presets/Ts.d.ts +8 -8
  34. package/dist/statics/rules/presets/Yml.d.ts +1 -1
  35. package/dist/statics/rules/presets/Yml.d.ts.map +1 -1
  36. package/dist/statics/rules/presets/Yml.js +1 -4
  37. package/dist/statics/rules/presets/Yml.js.map +1 -1
  38. package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -1
  39. package/dist/statics/rules/presets/html/Enable.js +1 -4
  40. package/dist/statics/rules/presets/html/Enable.js.map +1 -1
  41. package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -1
  42. package/dist/statics/rules/presets/html/Recommended.js +1 -4
  43. package/dist/statics/rules/presets/html/Recommended.js.map +1 -1
  44. package/dist/statics/rules/presets/index.d.ts +1 -1
  45. package/dist/statics/rules/presets/index.d.ts.map +1 -1
  46. package/dist/statics/rules/presets/index.js.map +1 -1
  47. package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -1
  48. package/dist/statics/rules/presets/js/Enable.js +51 -254
  49. package/dist/statics/rules/presets/js/Enable.js.map +1 -1
  50. package/dist/statics/rules/presets/js/EnableStylistic.d.ts +4 -4
  51. package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -1
  52. package/dist/statics/rules/presets/js/EnableStylistic.js +85 -486
  53. package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -1
  54. package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -1
  55. package/dist/statics/rules/presets/json/Enable.js.map +1 -1
  56. package/dist/statics/rules/presets/json/EnableX.d.ts +1 -1
  57. package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -1
  58. package/dist/statics/rules/presets/json/EnableX.js +12 -66
  59. package/dist/statics/rules/presets/json/EnableX.js.map +1 -1
  60. package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -1
  61. package/dist/statics/rules/presets/jsonc/OverrideJson.js +2 -11
  62. package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -1
  63. package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -1
  64. package/dist/statics/rules/presets/md/Enable.js +11 -49
  65. package/dist/statics/rules/presets/md/Enable.js.map +1 -1
  66. package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -1
  67. package/dist/statics/rules/presets/mocha/Enable.js +1 -4
  68. package/dist/statics/rules/presets/mocha/Enable.js.map +1 -1
  69. package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -1
  70. package/dist/statics/rules/presets/mocha/Recommended.js +1 -4
  71. package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -1
  72. package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -1
  73. package/dist/statics/rules/presets/svelte/DisableJS.js +1 -7
  74. package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -1
  75. package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -1
  76. package/dist/statics/rules/presets/svelte/DisableTS.js +1 -7
  77. package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -1
  78. package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -1
  79. package/dist/statics/rules/presets/svelte/DisableX.js +1 -6
  80. package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -1
  81. package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -1
  82. package/dist/statics/rules/presets/svelte/Enable.js +19 -108
  83. package/dist/statics/rules/presets/svelte/Enable.js.map +1 -1
  84. package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -1
  85. package/dist/statics/rules/presets/svelte/EnableX.js +2 -12
  86. package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -1
  87. package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -1
  88. package/dist/statics/rules/presets/ts/DisableX.js.map +1 -1
  89. package/dist/statics/rules/presets/ts/Enable.d.ts +4 -4
  90. package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -1
  91. package/dist/statics/rules/presets/ts/Enable.js +38 -175
  92. package/dist/statics/rules/presets/ts/Enable.js.map +1 -1
  93. package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -1
  94. package/dist/statics/rules/presets/ts/EnableX.js +4 -29
  95. package/dist/statics/rules/presets/ts/EnableX.js.map +1 -1
  96. package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -1
  97. package/dist/statics/rules/presets/yml/Enable.js +9 -50
  98. package/dist/statics/rules/presets/yml/Enable.js.map +1 -1
  99. package/dist/statics/rules/presets/yml/EnableX.d.ts +1 -1
  100. package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -1
  101. package/dist/statics/rules/presets/yml/EnableX.js +9 -60
  102. package/dist/statics/rules/presets/yml/EnableX.js.map +1 -1
  103. package/dist/statics/rules/strings/level/index.d.ts +1 -1
  104. package/dist/statics/rules/strings/level/index.d.ts.map +1 -1
  105. package/dist/statics/rules/strings/level/index.js +1 -1
  106. package/dist/statics/rules/strings/level/index.js.map +1 -1
  107. package/dist/statics/rules/strings/state/index.d.ts +2 -2
  108. package/dist/statics/rules/strings/state/index.d.ts.map +1 -1
  109. package/dist/statics/rules/strings/state/index.js +2 -2
  110. package/dist/statics/rules/strings/state/index.js.map +1 -1
  111. package/package.json +3 -2
  112. package/src/imports/index.ts +1 -4
  113. package/src/index.ts +18 -7
  114. package/src/statics/index.ts +1 -4
  115. package/src/statics/rules/presets/Html.ts +1 -4
  116. package/src/statics/rules/presets/Js.ts +1 -4
  117. package/src/statics/rules/presets/Json.ts +1 -4
  118. package/src/statics/rules/presets/Jsonc.ts +1 -4
  119. package/src/statics/rules/presets/Mocha.ts +1 -4
  120. package/src/statics/rules/presets/Yml.ts +1 -4
  121. package/src/statics/rules/presets/html/Enable.ts +1 -4
  122. package/src/statics/rules/presets/html/Recommended.ts +2 -4
  123. package/src/statics/rules/presets/index.ts +1 -4
  124. package/src/statics/rules/presets/js/Enable.ts +53 -257
  125. package/src/statics/rules/presets/js/EnableStylistic.ts +86 -490
  126. package/src/statics/rules/presets/json/Enable.ts +0 -1
  127. package/src/statics/rules/presets/json/EnableX.ts +12 -67
  128. package/src/statics/rules/presets/jsonc/OverrideJson.ts +3 -19
  129. package/src/statics/rules/presets/md/Enable.ts +11 -50
  130. package/src/statics/rules/presets/mocha/Enable.ts +1 -4
  131. package/src/statics/rules/presets/mocha/Recommended.ts +2 -4
  132. package/src/statics/rules/presets/svelte/DisableJS.ts +3 -10
  133. package/src/statics/rules/presets/svelte/DisableTS.ts +1 -7
  134. package/src/statics/rules/presets/svelte/DisableX.ts +2 -11
  135. package/src/statics/rules/presets/svelte/Enable.ts +50 -137
  136. package/src/statics/rules/presets/svelte/EnableX.ts +3 -21
  137. package/src/statics/rules/presets/ts/DisableX.ts +1 -2
  138. package/src/statics/rules/presets/ts/Enable.ts +39 -191
  139. package/src/statics/rules/presets/ts/EnableX.ts +9 -41
  140. package/src/statics/rules/presets/yml/Enable.ts +9 -59
  141. package/src/statics/rules/presets/yml/EnableX.ts +9 -69
  142. package/src/statics/rules/strings/level/index.ts +1 -5
  143. package/src/statics/rules/strings/state/index.ts +2 -0
@@ -1 +1 @@
1
- {"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAIE,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE,KAAK;QACnC,+BAA+B,EAAE,KAAK;QACtC,8BAA8B,EAAE,KAAK;QACrC,iCAAiC,EAAE,KAAK;QACxC,+BAA+B,EAAE,KAAK;QACtC,6BAA6B,EAAE,KAAK;QACpC,qDAAqD,EAAE,KAAK;QAC5D,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,6BAA6B,EAAE;YAC7B,KAAK;YACL,EAAE,KAAK,EAAE,IAAI,EAAE;SAChB;QACD,8CAA8C,EAAE,KAAK;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4B,EAAE;YAC5B,KAAK;YACL,EAAE,MAAM,EAAE,MAAM,EAAE;SACnB;QACD,wBAAwB,EAAE,GAAG;QAC7B,4BAA4B,EAAE;YAC5B,KAAK;YACL,MAAM;SACP;QAID,6BAA6B,EAAE,KAAK;QAIpC,0BAA0B,EAAE;YAC1B,KAAK;YACL,EAAE,6BAA6B,EAAE,IAAI,EAAE;SACxC;QACD,eAAe,EAAE,KAAK;KACvB;CAC2B,CAAC"}
1
+ {"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,KAAK,EACL,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAGE,+BAA+B,EAAE,KAAK;QACtC,4BAA4B,EAAE,KAAK;QACnC,+BAA+B,EAAE,KAAK;QACtC,8BAA8B,EAAE,KAAK;QACrC,iCAAiC,EAAE,KAAK;QACxC,+BAA+B,EAAE,KAAK;QACtC,6BAA6B,EAAE,KAAK;QACpC,qDAAqD,EAAE,KAAK;QAC5D,gCAAgC,EAAE,KAAK;QACvC,oCAAoC,EAAE,KAAK;QAC3C,6BAA6B,EAAE,CAAC,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;QACvD,8CAA8C,EAAE,KAAK;QACrD,uBAAuB,EAAE,KAAK;QAC9B,4CAA4C,EAAE,CAAC,KAAK,EAAE,EAAE,cAAc,EAAE,IAAI,EAAE,CAAC;QAC/E,8CAA8C,EAAE,KAAK;QACrD,sCAAsC,EAAE,KAAK;QAC7C,sBAAsB,EAAE,CAAC,KAAK,EAAE,EAAE,cAAc,EAAE,KAAK,EAAE,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CAAC,KAAK,EAAE,EAAE,6BAA6B,EAAE,IAAI,EAAE,CAAC;QAC5E,eAAe,EAAE,KAAK;KAIvB;CAC2B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/EnableX.ts"],"names":[],"mappings":";;;;;;AAWA,wBAY+B"}
1
+ {"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/EnableX.ts"],"names":[],"mappings":";;;;;;AAKA,wBAAyV"}
@@ -1,14 +1,4 @@
1
1
  import { Strings } from "../index.js";
2
- const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALLOW, BOTH, }, } = Strings;
3
- export default [
4
- EnableX,
5
- {
6
- "svelte/no-inner-declarations": [
7
- ERROR,
8
- BOTH,
9
- { blockScopedFunctions: ALLOW },
10
- ],
11
- "svelte/no-trailing-spaces": OFF,
12
- },
13
- ];
2
+ const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALLOW, BOTH } } = Strings;
3
+ export default [EnableX, { "svelte/no-inner-declarations": [ERROR, BOTH, { blockScopedFunctions: ALLOW }], "svelte/no-trailing-spaces": OFF }];
14
4
  //# sourceMappingURL=EnableX.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/EnableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,OAAO,EAAE,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,IAAI,GACL,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,OAAO;IACP;QAGE,8BAA8B,EAAE;YAC9B,KAAK;YACL,IAAI;YACJ,EAAE,oBAAoB,EAAE,KAAK,EAAE;SAChC;QACD,2BAA2B,EAAE,GAAG;KACjC;CAC2B,CAAC"}
1
+ {"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/svelte/EnableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,GAAG,OAAO,CAAC;AAGnF,eAAe,CAAC,OAAO,EAAE,EAAE,8BAA8B,EAAE,CAAC,KAAK,EAAE,IAAI,EAAE,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC,EAAoC,2BAA2B,EAAE,GAAG,EAA6I,CAA8B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"DisableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA8B+B"}
1
+ {"version":3,"file":"DisableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBA6B+B"}
@@ -1 +1 @@
1
- {"version":3,"file":"DisableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/DisableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EAAE,EAAE,EAAE,EAAE,QAAQ,EAAE,EAAE,KAAK,EAAE,EAAE,GAAG,EAAE,EAAE,GAAG,OAAO,CAAC;AAErD,eAAe;IACb,QAAQ;IACR;QAGE,wBAAwB,EAAE,GAAG;QAC7B,mBAAmB,EAAE,GAAG;QACxB,oBAAoB,EAAE,GAAG;QACzB,cAAc,EAAE,GAAG;QACnB,mBAAmB,EAAE,GAAG;QACxB,YAAY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vB,uBAAuB,EAAE,GAAG;QAC5B,gBAAgB,EAAE,GAAG;QACrB,sBAAsB,EAAE,GAAG;QAC3B,wBAAwB,EAAE,GAAG;QAC7B,sBAAsB,EAAE,GAAG;QAC3B,8BAA8B,EAAE,GAAG;QACnC,eAAe,EAAE,GAAG;KACrB;CAC2B,CAAC"}
@@ -7,10 +7,12 @@ declare const _default: readonly ["enable", {
7
7
  readonly "@typescript-eslint/await-thenable": "error";
8
8
  readonly "@typescript-eslint/ban-ts-comment": readonly ["error", {
9
9
  readonly "ts-check": false;
10
- readonly "ts-expect-error": true;
10
+ readonly "ts-expect-error": {
11
+ readonly descriptionFormat: "^: BUG: .+$";
12
+ };
11
13
  readonly "ts-ignore": true;
12
14
  readonly "ts-nocheck": true;
13
- readonly minimumDescriptionLength: 10;
15
+ readonly minimumDescriptionLength: 32;
14
16
  }];
15
17
  readonly "@typescript-eslint/ban-tslint-comment": "error";
16
18
  readonly "@typescript-eslint/class-literal-property-style": readonly ["error", "fields"];
@@ -152,7 +154,6 @@ declare const _default: readonly ["enable", {
152
154
  readonly "@typescript-eslint/no-unsafe-unary-minus": "error";
153
155
  readonly "@typescript-eslint/no-useless-empty-export": "error";
154
156
  readonly "@typescript-eslint/no-wrapper-object-types": "error";
155
- readonly "@typescript-eslint/no-var-requires": "off";
156
157
  readonly "@typescript-eslint/non-nullable-type-assertion-style": "off";
157
158
  readonly "@typescript-eslint/parameter-properties": readonly ["error", {
158
159
  readonly prefer: "parameter-property";
@@ -199,7 +200,6 @@ declare const _default: readonly ["enable", {
199
200
  readonly "@typescript-eslint/prefer-string-starts-ends-with": readonly ["error", {
200
201
  readonly allowSingleElementEquality: "never";
201
202
  }];
202
- readonly "@typescript-eslint/prefer-ts-expect-error": "error";
203
203
  readonly "@typescript-eslint/promise-function-async": readonly ["error", {
204
204
  readonly allowAny: false;
205
205
  readonly allowedPromiseNames: readonly [];
@@ -1 +1 @@
1
- {"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAoiB+B"}
1
+ {"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAQA,wBA8Y+B"}
@@ -1,72 +1,41 @@
1
1
  import { Strings } from "../index.js";
2
- const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, }, } = Strings;
2
+ const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, EXPLICIT }, } = Strings;
3
3
  export default [
4
4
  Enable,
5
5
  {
6
6
  "@typescript-eslint/adjacent-overload-signatures": OFF,
7
- "@typescript-eslint/array-type": [
8
- ERROR,
9
- {
10
- "default": "array",
11
- readonly: "array",
12
- },
13
- ],
7
+ "@typescript-eslint/array-type": [ERROR, { "default": "array", readonly: "array" }],
14
8
  "@typescript-eslint/await-thenable": ERROR,
15
9
  "@typescript-eslint/ban-ts-comment": [
16
10
  ERROR,
17
11
  {
18
12
  "ts-check": false,
19
- "ts-expect-error": true,
13
+ "ts-expect-error": { descriptionFormat: "^: BUG: .+$" },
20
14
  "ts-ignore": true,
21
15
  "ts-nocheck": true,
22
- minimumDescriptionLength: 10,
16
+ minimumDescriptionLength: 32,
23
17
  },
24
18
  ],
25
19
  "@typescript-eslint/ban-tslint-comment": ERROR,
26
- "@typescript-eslint/class-literal-property-style": [
27
- ERROR,
28
- "fields",
29
- ],
30
- "@typescript-eslint/consistent-generic-constructors": [
31
- ERROR,
32
- "constructor",
33
- ],
34
- "@typescript-eslint/consistent-indexed-object-style": [
35
- ERROR,
36
- "record",
37
- ],
38
- "@typescript-eslint/consistent-type-assertions": [
39
- ERROR,
40
- {
41
- assertionStyle: "as",
42
- objectLiteralTypeAssertions: NEVER,
43
- },
44
- ],
20
+ "@typescript-eslint/class-literal-property-style": [ERROR, "fields"],
21
+ "@typescript-eslint/consistent-generic-constructors": [ERROR, "constructor"],
22
+ "@typescript-eslint/consistent-indexed-object-style": [ERROR, "record"],
23
+ "@typescript-eslint/consistent-type-assertions": [ERROR, { assertionStyle: "as", objectLiteralTypeAssertions: NEVER }],
45
24
  "@typescript-eslint/consistent-type-definitions": OFF,
46
- "@typescript-eslint/consistent-type-exports": [
47
- ERROR,
48
- { fixMixedExportsWithInlineTypeSpecifier: false },
49
- ],
50
- "@typescript-eslint/consistent-type-imports": [
51
- ERROR,
52
- {
53
- disallowTypeAnnotations: true,
54
- fixStyle: "separate-type-imports",
55
- prefer: "type-imports",
56
- },
57
- ],
25
+ "@typescript-eslint/consistent-type-exports": [ERROR, { fixMixedExportsWithInlineTypeSpecifier: false }],
26
+ "@typescript-eslint/consistent-type-imports": [ERROR, { disallowTypeAnnotations: true, fixStyle: "separate-type-imports", prefer: "type-imports" }],
58
27
  "@typescript-eslint/explicit-function-return-type": OFF,
59
28
  "@typescript-eslint/explicit-member-accessibility": [
60
29
  ERROR,
61
30
  {
62
- accessibility: "explicit",
31
+ accessibility: EXPLICIT,
63
32
  ignoredMethodNames: [],
64
33
  overrides: {
65
- properties: "explicit",
34
+ properties: EXPLICIT,
66
35
  constructors: "no-public",
67
- accessors: "explicit",
68
- methods: "explicit",
69
- parameterProperties: "explicit",
36
+ accessors: EXPLICIT,
37
+ methods: EXPLICIT,
38
+ parameterProperties: EXPLICIT,
70
39
  },
71
40
  },
72
41
  ],
@@ -199,10 +168,7 @@ export default [
199
168
  },
200
169
  },
201
170
  ],
202
- "@typescript-eslint/method-signature-style": [
203
- ERROR,
204
- "property",
205
- ],
171
+ "@typescript-eslint/method-signature-style": [ERROR, "property"],
206
172
  "@typescript-eslint/naming-convention": OFF,
207
173
  "@typescript-eslint/no-array-delete": ERROR,
208
174
  "@typescript-eslint/no-base-to-string": [
@@ -217,21 +183,9 @@ export default [
217
183
  },
218
184
  ],
219
185
  "@typescript-eslint/no-confusing-non-null-assertion": ERROR,
220
- "@typescript-eslint/no-confusing-void-expression": [
221
- ERROR,
222
- {
223
- ignoreArrowShorthand: true,
224
- ignoreVoidOperator: true,
225
- },
226
- ],
186
+ "@typescript-eslint/no-confusing-void-expression": [ERROR, { ignoreArrowShorthand: true, ignoreVoidOperator: true }],
227
187
  "@typescript-eslint/no-duplicate-enum-values": ERROR,
228
- "@typescript-eslint/no-duplicate-type-constituents": [
229
- ERROR,
230
- {
231
- ignoreIntersections: false,
232
- ignoreUnions: false,
233
- },
234
- ],
188
+ "@typescript-eslint/no-duplicate-type-constituents": [ERROR, { ignoreIntersections: false, ignoreUnions: false }],
235
189
  "@typescript-eslint/no-dynamic-delete": ERROR,
236
190
  "@typescript-eslint/no-empty-object-type": [
237
191
  ERROR,
@@ -240,13 +194,7 @@ export default [
240
194
  allowObjectTypes: NEVER,
241
195
  },
242
196
  ],
243
- "@typescript-eslint/no-explicit-any": [
244
- ERROR,
245
- {
246
- fixToUnknown: true,
247
- ignoreRestArgs: false,
248
- },
249
- ],
197
+ "@typescript-eslint/no-explicit-any": [ERROR, { fixToUnknown: true, ignoreRestArgs: false }],
250
198
  "@typescript-eslint/no-extra-non-null-assertion": ERROR,
251
199
  "@typescript-eslint/no-extraneous-class": [
252
200
  ERROR,
@@ -257,34 +205,12 @@ export default [
257
205
  allowWithDecorator: false,
258
206
  },
259
207
  ],
260
- "@typescript-eslint/no-floating-promises": [
261
- ERROR,
262
- {
263
- checkThenables: true,
264
- ignoreVoid: true,
265
- ignoreIIFE: false,
266
- },
267
- ],
208
+ "@typescript-eslint/no-floating-promises": [ERROR, { checkThenables: true, ignoreVoid: true, ignoreIIFE: false }],
268
209
  "@typescript-eslint/no-for-in-array": ERROR,
269
210
  "@typescript-eslint/no-import-type-side-effects": ERROR,
270
- "@typescript-eslint/no-inferrable-types": [
271
- ERROR,
272
- {
273
- ignoreParameters: false,
274
- ignoreProperties: false,
275
- },
276
- ],
277
- "@typescript-eslint/no-invalid-void-type": [
278
- ERROR,
279
- {
280
- allowInGenericTypeArguments: true,
281
- allowAsThisParameter: false,
282
- },
283
- ],
284
- "@typescript-eslint/no-meaningless-void-operator": [
285
- ERROR,
286
- { checkNever: true },
287
- ],
211
+ "@typescript-eslint/no-inferrable-types": [ERROR, { ignoreParameters: false, ignoreProperties: false }],
212
+ "@typescript-eslint/no-invalid-void-type": [ERROR, { allowInGenericTypeArguments: true, allowAsThisParameter: false }],
213
+ "@typescript-eslint/no-meaningless-void-operator": [ERROR, { checkNever: true }],
288
214
  "@typescript-eslint/no-misused-new": ERROR,
289
215
  "@typescript-eslint/no-misused-promises": [
290
216
  ERROR,
@@ -307,38 +233,14 @@ export default [
307
233
  "@typescript-eslint/no-non-null-assertion": ERROR,
308
234
  "@typescript-eslint/no-redundant-type-constituents": ERROR,
309
235
  "@typescript-eslint/no-restricted-types": OFF,
310
- "@typescript-eslint/no-require-imports": [
311
- ERROR,
312
- { allow: [] },
313
- ],
314
- "@typescript-eslint/no-this-alias": [
315
- ERROR,
316
- {
317
- allowDestructuring: true,
318
- allowedNames: [],
319
- },
320
- ],
321
- "@typescript-eslint/no-unnecessary-boolean-literal-compare": [
322
- ERROR,
323
- {
324
- allowComparingNullableBooleansToTrue: true,
325
- allowComparingNullableBooleansToFalse: true,
326
- },
327
- ],
328
- "@typescript-eslint/no-unnecessary-condition": [
329
- ERROR,
330
- {
331
- allowConstantLoopConditions: false,
332
- allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false,
333
- },
334
- ],
236
+ "@typescript-eslint/no-require-imports": [ERROR, { allow: [] }],
237
+ "@typescript-eslint/no-this-alias": [ERROR, { allowDestructuring: true, allowedNames: [] }],
238
+ "@typescript-eslint/no-unnecessary-boolean-literal-compare": [ERROR, { allowComparingNullableBooleansToTrue: true, allowComparingNullableBooleansToFalse: true }],
239
+ "@typescript-eslint/no-unnecessary-condition": [ERROR, { allowConstantLoopConditions: false, allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing: false }],
335
240
  "@typescript-eslint/no-unnecessary-qualifier": ERROR,
336
241
  "@typescript-eslint/no-unnecessary-template-expression": ERROR,
337
242
  "@typescript-eslint/no-unnecessary-type-arguments": ERROR,
338
- "@typescript-eslint/no-unnecessary-type-assertion": [
339
- ERROR,
340
- { typesToIgnore: [] },
341
- ],
243
+ "@typescript-eslint/no-unnecessary-type-assertion": [ERROR, { typesToIgnore: [] }],
342
244
  "@typescript-eslint/no-unnecessary-type-constraint": ERROR,
343
245
  "@typescript-eslint/no-unnecessary-type-parameters": ERROR,
344
246
  "@typescript-eslint/no-unsafe-argument": ERROR,
@@ -352,22 +254,15 @@ export default [
352
254
  "@typescript-eslint/no-unsafe-unary-minus": ERROR,
353
255
  "@typescript-eslint/no-useless-empty-export": ERROR,
354
256
  "@typescript-eslint/no-wrapper-object-types": ERROR,
355
- "@typescript-eslint/no-var-requires": OFF,
356
257
  "@typescript-eslint/non-nullable-type-assertion-style": OFF,
357
- "@typescript-eslint/parameter-properties": [
358
- ERROR,
359
- { prefer: "parameter-property" },
360
- ],
258
+ "@typescript-eslint/parameter-properties": [ERROR, { prefer: "parameter-property" }],
361
259
  "@typescript-eslint/prefer-as-const": ERROR,
362
260
  "@typescript-eslint/prefer-enum-initializers": ERROR,
363
261
  "@typescript-eslint/prefer-find": ERROR,
364
262
  "@typescript-eslint/prefer-for-of": ERROR,
365
263
  "@typescript-eslint/prefer-function-type": ERROR,
366
264
  "@typescript-eslint/prefer-includes": ERROR,
367
- "@typescript-eslint/prefer-literal-enum-member": [
368
- ERROR,
369
- { allowBitwiseExpressions: false },
370
- ],
265
+ "@typescript-eslint/prefer-literal-enum-member": [ERROR, { allowBitwiseExpressions: false }],
371
266
  "@typescript-eslint/prefer-namespace-keyword": ERROR,
372
267
  "@typescript-eslint/prefer-nullish-coalescing": [
373
268
  ERROR,
@@ -397,19 +292,12 @@ export default [
397
292
  requireNullish: false,
398
293
  },
399
294
  ],
400
- "@typescript-eslint/prefer-readonly": [
401
- ERROR,
402
- { onlyInlineLambdas: false },
403
- ],
295
+ "@typescript-eslint/prefer-readonly": [ERROR, { onlyInlineLambdas: false }],
404
296
  "@typescript-eslint/prefer-readonly-parameter-types": OFF,
405
297
  "@typescript-eslint/prefer-reduce-type-parameter": ERROR,
406
298
  "@typescript-eslint/prefer-regexp-exec": ERROR,
407
299
  "@typescript-eslint/prefer-return-this-type": ERROR,
408
- "@typescript-eslint/prefer-string-starts-ends-with": [
409
- ERROR,
410
- { allowSingleElementEquality: NEVER },
411
- ],
412
- "@typescript-eslint/prefer-ts-expect-error": ERROR,
300
+ "@typescript-eslint/prefer-string-starts-ends-with": [ERROR, { allowSingleElementEquality: NEVER }],
413
301
  "@typescript-eslint/promise-function-async": [
414
302
  ERROR,
415
303
  {
@@ -421,10 +309,7 @@ export default [
421
309
  checkMethodDeclarations: true,
422
310
  },
423
311
  ],
424
- "@typescript-eslint/require-array-sort-compare": [
425
- ERROR,
426
- { ignoreStringArrays: true },
427
- ],
312
+ "@typescript-eslint/require-array-sort-compare": [ERROR, { ignoreStringArrays: true }],
428
313
  "@typescript-eslint/restrict-plus-operands": [
429
314
  ERROR,
430
315
  {
@@ -448,10 +333,7 @@ export default [
448
333
  allowRegExp: false,
449
334
  },
450
335
  ],
451
- "@typescript-eslint/return-await": [
452
- ERROR,
453
- "in-try-catch",
454
- ],
336
+ "@typescript-eslint/return-await": [ERROR, "in-try-catch"],
455
337
  "@typescript-eslint/strict-boolean-expressions": [
456
338
  ERROR,
457
339
  {
@@ -466,30 +348,11 @@ export default [
466
348
  allowNullableString: false,
467
349
  },
468
350
  ],
469
- "@typescript-eslint/switch-exhaustiveness-check": [
470
- ERROR,
471
- {
472
- allowDefaultCaseForExhaustiveSwitch: false,
473
- requireDefaultForNonUnion: true,
474
- },
475
- ],
476
- "@typescript-eslint/triple-slash-reference": [
477
- ERROR,
478
- {
479
- lib: NEVER,
480
- path: NEVER,
481
- types: NEVER,
482
- },
483
- ],
351
+ "@typescript-eslint/switch-exhaustiveness-check": [ERROR, { allowDefaultCaseForExhaustiveSwitch: false, requireDefaultForNonUnion: true }],
352
+ "@typescript-eslint/triple-slash-reference": [ERROR, { lib: NEVER, path: NEVER, types: NEVER }],
484
353
  "@typescript-eslint/typedef": OFF,
485
- "@typescript-eslint/unbound-method": [
486
- ERROR,
487
- { ignoreStatic: false },
488
- ],
489
- "@typescript-eslint/unified-signatures": [
490
- ERROR,
491
- { ignoreDifferentlyNamedParameters: false },
492
- ],
354
+ "@typescript-eslint/unbound-method": [ERROR, { ignoreStatic: false }],
355
+ "@typescript-eslint/unified-signatures": [ERROR, { ignoreDifferentlyNamedParameters: false }],
493
356
  "@typescript-eslint/use-unknown-in-catch-callback-variable": ERROR,
494
357
  },
495
358
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,E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AAmC,EAAE,CAAC,KAAK,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,CAAC;QACrE,uCAAuC,EAAE,CAAC,KAAK,EAAE,EAAE,gCAAgC,EAAE,KAAK,EAAE,CAAC;QAC7F,2DAA2D,EAAE,KAAK;KACnE;CAC2B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBA2G+B"}
1
+ {"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAkF+B"}
@@ -1,5 +1,5 @@
1
1
  import { Strings } from "../index.js";
2
- const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALWAYS, ALL, }, } = Strings;
2
+ const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALWAYS, ALL } } = Strings;
3
3
  export default [
4
4
  EnableX,
5
5
  {
@@ -73,34 +73,9 @@ export default [
73
73
  },
74
74
  ],
75
75
  "@typescript-eslint/no-useless-constructor": ERROR,
76
- "@typescript-eslint/only-throw-error": [
77
- ERROR,
78
- {
79
- allowThrowingAny: false,
80
- allowThrowingUnknown: false,
81
- },
82
- ],
83
- "@typescript-eslint/prefer-destructuring": [
84
- ERROR,
85
- {
86
- VariableDeclarator: {
87
- array: true,
88
- object: true,
89
- },
90
- AssignmentExpression: {
91
- array: false,
92
- object: false,
93
- },
94
- },
95
- {
96
- enforceForRenamedProperties: false,
97
- enforceForDeclarationWithTypeAnnotation: false,
98
- },
99
- ],
100
- "@typescript-eslint/prefer-promise-reject-errors": [
101
- ERROR,
102
- { allowEmptyReject: false },
103
- ],
76
+ "@typescript-eslint/only-throw-error": [ERROR, { allowThrowingAny: false, allowThrowingUnknown: false }],
77
+ "@typescript-eslint/prefer-destructuring": [ERROR, { VariableDeclarator: { array: true, object: true }, AssignmentExpression: { array: false, object: false } }, { enforceForRenamedProperties: false, enforceForDeclarationWithTypeAnnotation: false }],
78
+ "@typescript-eslint/prefer-promise-reject-errors": [ERROR, { allowEmptyReject: false }],
104
79
  "@typescript-eslint/require-await": ERROR,
105
80
  },
106
81
  ];
@@ -1 +1 @@
1
- {"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/ts/EnableX.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,OAAO,EAAE,EACf,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,MAAM,EACN,GAAG,GACJ,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,OAAO;IACP;QAGE,2CAA2C,EAAE,GAAG;QAChD,sCAAsC,EAAE,GAAG;QAC3C,uCAAuC,EAAE,KAAK;QAC9C,iCAAiC,EAAE;YACjC,KAAK;YACL;gBACE,aAAa,EAAE,IAAI;gBAGnB,+BAA+B,EAAE,IAAI;gBACrC,iCAAiC,EAAE,IAAI;gBACvC,iCAAiC,EAAE,IAAI;aACxC;SACF;QACD,sCAAsC,EAAE;YACtC,KAAK;YACL,MAAM;SACP;QACD,+BAA+B,EAAE,GAAG;QACpC,yCAAyC,EAAE,KAAK;QAChD,0CAA0C,EAAE,GAAG;QAC/C,sCAAsC,EAAE;YACtC,KAAK;YACL;gBACE,KAAK,EAAE;oBACL,cAAc;oBACd,sBAAsB;oBACtB,wBAAwB;oBACxB,oBAAoB;iBACrB;aACF;SACF;QACD,oCAAoC,EAAE,KAAK;QAC3C,oCAAoC,EAAE,GAAG;QACzC,iCAAiC,EAAE,KAAK;QACxC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T,YAAY,EAAE,GAAG;gBACjB,kBAAkB,EAAE,KAAK;gBACzB,8BAA8B,EAAE,KAAK;gBACrC,uBAAuB,EAAE,IAAI;aAC9B;SACF;QACD,yCAAyC,EAAE;YACzC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,OAAO,EAAE,IAAI;gBACb,SAAS,EAAE,IAAI;gBACf,iBAAiB,EAAE,KAAK;gBACxB,KAAK,EAAE,IAAI;gBACX,QAAQ,EAAE,KAAK;gBACf,oBAAoB,EAAE,IAAI;aAC3B;SACF;QACD,2CAA2C,EAAE,KAAK;QAClD,qCAAqC,EAAE,CAAC,KAAK,EAAE,EAAE,gBAAgB,EAAE,KAAK,EAAE,oBAAoB,EAAE,KAAK,EAAE,CAAC;QACxG,yCAAyC,EAAE,CAAC,KAAK,EAAE,EAAE,kBAAkB,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,EAAE,oBAAoB,EAAE,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,EAAE,2BAA2B,EAAE,KAAK,EAAE,uCAAuC,EAAE,KAAK,EAAE,CAAC;QACxP,iDAAiD,EAAE,CAAC,KAAK,EAAE,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC;QACvF,kCAAkC,EAAE,KAAK;KAC1C;CAC2B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/yml/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAmE+B"}
1
+ {"version":3,"file":"Enable.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/yml/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAyB+B"}
@@ -1,47 +1,15 @@
1
1
  import { Strings } from "../index.js";
2
- const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE, }, } = Strings;
2
+ const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE } } = Strings;
3
3
  export default [
4
4
  Enable,
5
5
  {
6
- "yml/block-mapping-colon-indicator-newline": [
7
- ERROR,
8
- NEVER,
9
- ],
10
- "yml/block-mapping-question-indicator-newline": [
11
- ERROR,
12
- NEVER,
13
- ],
14
- "yml/block-mapping": [
15
- ERROR,
16
- {
17
- singleline: NEVER,
18
- multiline: ALWAYS,
19
- },
20
- ],
21
- "yml/block-sequence-hyphen-indicator-newline": [
22
- ERROR,
23
- NEVER,
24
- {
25
- nestedHyphen: ALWAYS,
26
- blockMapping: NEVER,
27
- },
28
- ],
29
- "yml/block-sequence": [
30
- ERROR,
31
- {
32
- singleline: ALWAYS,
33
- multiline: ALWAYS,
34
- },
35
- ],
6
+ "yml/block-mapping-colon-indicator-newline": [ERROR, NEVER],
7
+ "yml/block-mapping-question-indicator-newline": [ERROR, NEVER],
8
+ "yml/block-mapping": [ERROR, { singleline: NEVER, multiline: ALWAYS }],
9
+ "yml/block-sequence-hyphen-indicator-newline": [ERROR, NEVER, { nestedHyphen: ALWAYS, blockMapping: NEVER }],
10
+ "yml/block-sequence": [ERROR, { singleline: ALWAYS, multiline: ALWAYS }],
36
11
  "yml/file-extension": OFF,
37
- "yml/indent": [
38
- ERROR,
39
- 2,
40
- {
41
- indentBlockSequences: true,
42
- indicatorValueIndent: 2,
43
- },
44
- ],
12
+ "yml/indent": [ERROR, 2, { indentBlockSequences: true, indicatorValueIndent: 2 }],
45
13
  "yml/key-name-casing": OFF,
46
14
  "yml/no-empty-document": ERROR,
47
15
  "yml/no-empty-key": ERROR,
@@ -49,17 +17,8 @@ export default [
49
17
  "yml/no-empty-sequence-entry": ERROR,
50
18
  "yml/no-tab-indent": ERROR,
51
19
  "yml/no-trailing-zeros": ERROR,
52
- "yml/plain-scalar": [
53
- ERROR,
54
- ALWAYS,
55
- ],
56
- "yml/quotes": [
57
- ERROR,
58
- {
59
- prefer: DOUBLE,
60
- avoidEscape: true,
61
- },
62
- ],
20
+ "yml/plain-scalar": [ERROR, ALWAYS],
21
+ "yml/quotes": [ERROR, { prefer: DOUBLE, avoidEscape: true }],
63
22
  "yml/require-string-key": ERROR,
64
23
  "yml/sort-keys": OFF,
65
24
  "yml/sort-sequence-values": OFF,
@@ -1 +1 @@
1
- {"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/yml/Enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAkB,MAAM,aAAa,CAAC;AAEtD,MAAM,EACJ,EAAE,EAAE,EAAE,MAAM,EAAE,EACd,KAAK,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,EACrB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,MAAM;IACN;QAGE,2CAA2C,EAAE;YAC3C,KAAK;YACL,KAAK;SACN;QACD,8CAA8C,EAAE;YAC9C,KAAK;YACL,KAAK;SACN;QACD,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,EAA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EAAE,CAAC,EAAE,CAAC;QACjF,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,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC;QAC5D,wBAAwB,EAAE,KAAK;QAC/B,eAAe,EAAE,GAAG;QACpB,0BAA0B,EAAE,GAAG;QAC/B,uCAAuC,EAAE,KAAK;KAC/C;CAC2B,CAAC"}
@@ -1,8 +1,8 @@
1
1
  declare const _default: readonly ["enable-extend", {
2
2
  readonly "yml/flow-mapping-curly-newline": readonly ["error", {
3
+ readonly consistent: false;
3
4
  readonly multiline: true;
4
5
  readonly minProperties: 2;
5
- readonly consistent: false;
6
6
  }];
7
7
  readonly "yml/flow-mapping-curly-spacing": readonly ["error", "always", {
8
8
  readonly arraysInObjects: true;