linted 16.0.4 → 16.0.5-rc.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. package/dist/index.d.ts.map +1 -1
  2. package/dist/index.js +1 -7
  3. package/dist/index.js.map +1 -1
  4. package/dist/statics/rules/presets/Html.js +2 -2
  5. package/dist/statics/rules/presets/Html.js.map +1 -1
  6. package/dist/statics/rules/presets/Js.js +2 -2
  7. package/dist/statics/rules/presets/Js.js.map +1 -1
  8. package/dist/statics/rules/presets/Json.js +2 -2
  9. package/dist/statics/rules/presets/Json.js.map +1 -1
  10. package/dist/statics/rules/presets/Jsonc.js +1 -1
  11. package/dist/statics/rules/presets/Jsonc.js.map +1 -1
  12. package/dist/statics/rules/presets/Md.js +1 -1
  13. package/dist/statics/rules/presets/Md.js.map +1 -1
  14. package/dist/statics/rules/presets/Mocha.js +2 -2
  15. package/dist/statics/rules/presets/Mocha.js.map +1 -1
  16. package/dist/statics/rules/presets/Svelte.js +5 -5
  17. package/dist/statics/rules/presets/Svelte.js.map +1 -1
  18. package/dist/statics/rules/presets/Ts.js +4 -4
  19. package/dist/statics/rules/presets/Ts.js.map +1 -1
  20. package/dist/statics/rules/presets/Yml.js +2 -2
  21. package/dist/statics/rules/presets/Yml.js.map +1 -1
  22. package/dist/statics/rules/presets/html/Enable.d.ts +5 -0
  23. package/dist/statics/rules/presets/html/Enable.d.ts.map +1 -0
  24. package/dist/statics/rules/presets/html/Enable.js +7 -0
  25. package/dist/statics/rules/presets/html/Enable.js.map +1 -0
  26. package/dist/statics/rules/presets/html/Recommended.d.ts +3 -0
  27. package/dist/statics/rules/presets/html/Recommended.d.ts.map +1 -0
  28. package/dist/statics/rules/presets/html/Recommended.js +8 -0
  29. package/dist/statics/rules/presets/html/Recommended.js.map +1 -0
  30. package/dist/statics/rules/presets/index.d.ts +8 -0
  31. package/dist/statics/rules/presets/index.d.ts.map +1 -0
  32. package/dist/statics/rules/presets/index.js +2 -0
  33. package/dist/statics/rules/presets/index.js.map +1 -0
  34. package/dist/statics/rules/presets/js/Enable.d.ts +348 -0
  35. package/dist/statics/rules/presets/js/Enable.d.ts.map +1 -0
  36. package/dist/statics/rules/presets/js/Enable.js +463 -0
  37. package/dist/statics/rules/presets/js/Enable.js.map +1 -0
  38. package/dist/statics/rules/presets/js/EnableStylistic.d.ts +414 -0
  39. package/dist/statics/rules/presets/js/EnableStylistic.d.ts.map +1 -0
  40. package/dist/statics/rules/presets/js/EnableStylistic.js +664 -0
  41. package/dist/statics/rules/presets/js/EnableStylistic.js.map +1 -0
  42. package/dist/statics/rules/presets/json/Enable.d.ts +27 -0
  43. package/dist/statics/rules/presets/json/Enable.d.ts.map +1 -0
  44. package/dist/statics/rules/presets/json/Enable.js +31 -0
  45. package/dist/statics/rules/presets/json/Enable.js.map +1 -0
  46. package/dist/statics/rules/presets/json/EnableX.d.ts +50 -0
  47. package/dist/statics/rules/presets/json/EnableX.d.ts.map +1 -0
  48. package/dist/statics/rules/presets/json/EnableX.js +92 -0
  49. package/dist/statics/rules/presets/json/EnableX.js.map +1 -0
  50. package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts +6 -0
  51. package/dist/statics/rules/presets/jsonc/OverrideJson.d.ts.map +1 -0
  52. package/dist/statics/rules/presets/jsonc/OverrideJson.js +13 -0
  53. package/dist/statics/rules/presets/jsonc/OverrideJson.js.map +1 -0
  54. package/dist/statics/rules/presets/md/Enable.d.ts +38 -0
  55. package/dist/statics/rules/presets/md/Enable.d.ts.map +1 -0
  56. package/dist/statics/rules/presets/md/Enable.js +58 -0
  57. package/dist/statics/rules/presets/md/Enable.js.map +1 -0
  58. package/dist/statics/rules/presets/mocha/Enable.d.ts +3 -0
  59. package/dist/statics/rules/presets/mocha/Enable.d.ts.map +1 -0
  60. package/dist/statics/rules/presets/mocha/Enable.js +7 -0
  61. package/dist/statics/rules/presets/mocha/Enable.js.map +1 -0
  62. package/dist/statics/rules/presets/mocha/Recommended.d.ts +3 -0
  63. package/dist/statics/rules/presets/mocha/Recommended.d.ts.map +1 -0
  64. package/dist/statics/rules/presets/mocha/Recommended.js +8 -0
  65. package/dist/statics/rules/presets/mocha/Recommended.js.map +1 -0
  66. package/dist/statics/rules/presets/svelte/DisableJS.d.ts +6 -0
  67. package/dist/statics/rules/presets/svelte/DisableJS.d.ts.map +1 -0
  68. package/dist/statics/rules/presets/svelte/DisableJS.js +10 -0
  69. package/dist/statics/rules/presets/svelte/DisableJS.js.map +1 -0
  70. package/dist/statics/rules/presets/svelte/DisableTS.d.ts +6 -0
  71. package/dist/statics/rules/presets/svelte/DisableTS.d.ts.map +1 -0
  72. package/dist/statics/rules/presets/svelte/DisableTS.js +10 -0
  73. package/dist/statics/rules/presets/svelte/DisableTS.js.map +1 -0
  74. package/dist/statics/rules/presets/svelte/DisableX.d.ts +5 -0
  75. package/dist/statics/rules/presets/svelte/DisableX.d.ts.map +1 -0
  76. package/dist/statics/rules/presets/svelte/DisableX.js +9 -0
  77. package/dist/statics/rules/presets/svelte/DisableX.js.map +1 -0
  78. package/dist/statics/rules/presets/svelte/Enable.d.ts +126 -0
  79. package/dist/statics/rules/presets/svelte/Enable.d.ts.map +1 -0
  80. package/dist/statics/rules/presets/svelte/Enable.js +179 -0
  81. package/dist/statics/rules/presets/svelte/Enable.js.map +1 -0
  82. package/dist/statics/rules/presets/svelte/EnableX.d.ts +8 -0
  83. package/dist/statics/rules/presets/svelte/EnableX.d.ts.map +1 -0
  84. package/dist/statics/rules/presets/svelte/EnableX.js +14 -0
  85. package/dist/statics/rules/presets/svelte/EnableX.js.map +1 -0
  86. package/dist/statics/rules/presets/ts/DisableCompiler.d.ts +18 -0
  87. package/dist/statics/rules/presets/ts/DisableCompiler.d.ts.map +1 -0
  88. package/dist/statics/rules/presets/ts/DisableCompiler.js +22 -0
  89. package/dist/statics/rules/presets/ts/DisableCompiler.js.map +1 -0
  90. package/dist/statics/rules/presets/ts/DisableX.d.ts +28 -0
  91. package/dist/statics/rules/presets/ts/DisableX.d.ts.map +1 -0
  92. package/dist/statics/rules/presets/ts/DisableX.js +32 -0
  93. package/dist/statics/rules/presets/ts/DisableX.js.map +1 -0
  94. package/dist/statics/rules/presets/ts/Enable.d.ts +262 -0
  95. package/dist/statics/rules/presets/ts/Enable.d.ts.map +1 -0
  96. package/dist/statics/rules/presets/ts/Enable.js +496 -0
  97. package/dist/statics/rules/presets/ts/Enable.js.map +1 -0
  98. package/dist/statics/rules/presets/ts/EnableX.d.ts +72 -0
  99. package/dist/statics/rules/presets/ts/EnableX.d.ts.map +1 -0
  100. package/dist/statics/rules/presets/ts/EnableX.js +107 -0
  101. package/dist/statics/rules/presets/ts/EnableX.js.map +1 -0
  102. package/dist/statics/rules/presets/yml/Enable.d.ts +39 -0
  103. package/dist/statics/rules/presets/yml/Enable.d.ts.map +1 -0
  104. package/dist/statics/rules/presets/yml/Enable.js +69 -0
  105. package/dist/statics/rules/presets/yml/Enable.js.map +1 -0
  106. package/dist/statics/rules/presets/yml/EnableX.d.ts +37 -0
  107. package/dist/statics/rules/presets/yml/EnableX.d.ts.map +1 -0
  108. package/dist/statics/rules/presets/yml/EnableX.js +67 -0
  109. package/dist/statics/rules/presets/yml/EnableX.js.map +1 -0
  110. package/package.json +2 -2
  111. package/src/index.ts +2 -8
  112. package/src/statics/rules/presets/Html.ts +3 -3
  113. package/src/statics/rules/presets/Js.ts +3 -3
  114. package/src/statics/rules/presets/Json.ts +3 -3
  115. package/src/statics/rules/presets/Jsonc.ts +2 -2
  116. package/src/statics/rules/presets/Md.ts +2 -2
  117. package/src/statics/rules/presets/Mocha.ts +3 -3
  118. package/src/statics/rules/presets/Svelte.ts +6 -6
  119. package/src/statics/rules/presets/Ts.ts +5 -5
  120. package/src/statics/rules/presets/Yml.ts +3 -3
  121. package/src/statics/rules/presets/{entries/index.ts → index.ts} +1 -1
  122. /package/src/statics/rules/presets/{entries/html → html}/Enable.ts +0 -0
  123. /package/src/statics/rules/presets/{entries/html → html}/Recommended.ts +0 -0
  124. /package/src/statics/rules/presets/{entries/js → js}/Enable.ts +0 -0
  125. /package/src/statics/rules/presets/{entries/js → js}/EnableStylistic.ts +0 -0
  126. /package/src/statics/rules/presets/{entries/json → json}/Enable.ts +0 -0
  127. /package/src/statics/rules/presets/{entries/json → json}/EnableX.ts +0 -0
  128. /package/src/statics/rules/presets/{entries/jsonc → jsonc}/OverrideJson.ts +0 -0
  129. /package/src/statics/rules/presets/{entries/md → md}/Enable.ts +0 -0
  130. /package/src/statics/rules/presets/{entries/mocha → mocha}/Enable.ts +0 -0
  131. /package/src/statics/rules/presets/{entries/mocha → mocha}/Recommended.ts +0 -0
  132. /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableJS.ts +0 -0
  133. /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableTS.ts +0 -0
  134. /package/src/statics/rules/presets/{entries/svelte → svelte}/DisableX.ts +0 -0
  135. /package/src/statics/rules/presets/{entries/svelte → svelte}/Enable.ts +0 -0
  136. /package/src/statics/rules/presets/{entries/svelte → svelte}/EnableX.ts +0 -0
  137. /package/src/statics/rules/presets/{entries/ts → ts}/DisableCompiler.ts +0 -0
  138. /package/src/statics/rules/presets/{entries/ts → ts}/DisableX.ts +0 -0
  139. /package/src/statics/rules/presets/{entries/ts → ts}/Enable.ts +0 -0
  140. /package/src/statics/rules/presets/{entries/ts → ts}/EnableX.ts +0 -0
  141. /package/src/statics/rules/presets/{entries/yml → yml}/Enable.ts +0 -0
  142. /package/src/statics/rules/presets/{entries/yml → yml}/EnableX.ts +0 -0
@@ -0,0 +1,107 @@
1
+ import { Strings } from "../index.js";
2
+ const { Id: { EnableX }, Level: { ERROR, OFF }, State: { ALWAYS, ALL, }, } = Strings;
3
+ export default [
4
+ EnableX,
5
+ {
6
+ "@typescript-eslint/class-methods-use-this": OFF,
7
+ "@typescript-eslint/consistent-return": OFF,
8
+ "@typescript-eslint/default-param-last": ERROR,
9
+ "@typescript-eslint/dot-notation": [
10
+ ERROR,
11
+ {
12
+ allowKeywords: true,
13
+ allowPrivateClassPropertyAccess: true,
14
+ allowProtectedClassPropertyAccess: true,
15
+ allowIndexSignaturePropertyAccess: true,
16
+ },
17
+ ],
18
+ "@typescript-eslint/init-declarations": [
19
+ ERROR,
20
+ ALWAYS,
21
+ ],
22
+ "@typescript-eslint/max-params": OFF,
23
+ "@typescript-eslint/no-array-constructor": ERROR,
24
+ "@typescript-eslint/no-dupe-class-members": OFF,
25
+ "@typescript-eslint/no-empty-function": [
26
+ ERROR,
27
+ {
28
+ allow: [
29
+ "constructors",
30
+ "private-constructors",
31
+ "protected-constructors",
32
+ "decoratedFunctions",
33
+ ],
34
+ },
35
+ ],
36
+ "@typescript-eslint/no-implied-eval": ERROR,
37
+ "@typescript-eslint/no-invalid-this": OFF,
38
+ "@typescript-eslint/no-loop-func": ERROR,
39
+ "@typescript-eslint/no-magic-numbers": OFF,
40
+ "@typescript-eslint/no-redeclare": OFF,
41
+ "@typescript-eslint/no-restricted-imports": OFF,
42
+ "@typescript-eslint/no-shadow": OFF,
43
+ "@typescript-eslint/no-unused-expressions": [
44
+ ERROR,
45
+ {
46
+ allowShortCircuit: true,
47
+ allowTernary: true,
48
+ allowTaggedTemplates: true,
49
+ enforceForJSX: false,
50
+ },
51
+ ],
52
+ "@typescript-eslint/no-unused-vars": [
53
+ ERROR,
54
+ {
55
+ vars: ALL,
56
+ args: ALL,
57
+ caughtErrors: ALL,
58
+ ignoreRestSiblings: false,
59
+ ignoreClassWithStaticInitBlock: false,
60
+ reportUsedIgnorePattern: true,
61
+ },
62
+ ],
63
+ "@typescript-eslint/no-use-before-define": [
64
+ ERROR,
65
+ {
66
+ functions: true,
67
+ classes: true,
68
+ variables: true,
69
+ allowNamedExports: false,
70
+ enums: true,
71
+ typedefs: false,
72
+ ignoreTypeReferences: true,
73
+ },
74
+ ],
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
+ ],
104
+ "@typescript-eslint/require-await": ERROR,
105
+ },
106
+ ];
107
+ //# sourceMappingURL=EnableX.js.map
@@ -0,0 +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,KA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AAE,KAAK;KAC1C;CAC2B,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/statics/rules/presets/yml/Enable.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAmE+B"}
@@ -0,0 +1,69 @@
1
+ import { Strings } from "../index.js";
2
+ const { Id: { Enable }, Level: { ERROR, OFF }, State: { NEVER, ALWAYS, DOUBLE, }, } = Strings;
3
+ export default [
4
+ Enable,
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
+ ],
36
+ "yml/file-extension": OFF,
37
+ "yml/indent": [
38
+ ERROR,
39
+ 2,
40
+ {
41
+ indentBlockSequences: true,
42
+ indicatorValueIndent: 2,
43
+ },
44
+ ],
45
+ "yml/key-name-casing": OFF,
46
+ "yml/no-empty-document": ERROR,
47
+ "yml/no-empty-key": ERROR,
48
+ "yml/no-empty-mapping-value": ERROR,
49
+ "yml/no-empty-sequence-entry": ERROR,
50
+ "yml/no-tab-indent": ERROR,
51
+ "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
+ ],
63
+ "yml/require-string-key": ERROR,
64
+ "yml/sort-keys": OFF,
65
+ "yml/sort-sequence-values": OFF,
66
+ "yml/vue-custom-block/no-parsing-error": ERROR,
67
+ },
68
+ ];
69
+ //# sourceMappingURL=Enable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Enable.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/yml/Enable.ts"],"names":[],"m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C;CAC2B,CAAC"}
@@ -0,0 +1,37 @@
1
+ declare const _default: readonly ["enable-extend", {
2
+ readonly "yml/flow-mapping-curly-newline": readonly ["error", {
3
+ readonly multiline: true;
4
+ readonly minProperties: 2;
5
+ readonly consistent: false;
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
+ }];
36
+ export default _default;
37
+ //# sourceMappingURL=EnableX.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnableX.d.ts","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/yml/EnableX.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,wBAiE+B"}
@@ -0,0 +1,67 @@
1
+ import { Strings } from "../index.js";
2
+ const { Id: { EnableX }, Level: { ERROR }, State: { NEVER, ALWAYS, STRICT, }, } = Strings;
3
+ export default [
4
+ EnableX,
5
+ {
6
+ "yml/flow-mapping-curly-newline": [
7
+ ERROR,
8
+ {
9
+ multiline: true,
10
+ minProperties: 2,
11
+ consistent: false,
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
+ ],
61
+ "yml/spaced-comment": [
62
+ ERROR,
63
+ ALWAYS,
64
+ ],
65
+ },
66
+ ];
67
+ //# sourceMappingURL=EnableX.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnableX.js","sourceRoot":"","sources":["../../../../../src/statics/rules/presets/yml/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,EAChB,KAAK,EAAE,EACL,KAAK,EACL,MAAM,EACN,MAAM,GACP,GACF,GAAG,OAAO,CAAC;AAEZ,eAAe;IACb,OAAO;IACP;QAGE,gCAAgC,EAAE;YAChC,KAAK;YACL;gBACE,SAAS,EAAE,IAAI;gBACf,aAAa,EAAE,CAAC;gBAChB,UAAU,EAAE,KAAK;aAClB;SACF;QACD,gCAAgC,EAAE;YAChC,KAAK;YACL,MAAM;YACN;gBACE,eAAe,EAAE,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;YACpB,KAAK;YACL,MAAM;SACP;KACF;CAC2B,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "20.14.0",
3
3
  "name": "linted",
4
- "version": "16.0.4",
4
+ "version": "16.0.5-rc.1",
5
5
  "description": "Zero-config ESLint flat config factory for (strict, agglutinative) entire-stack formatting and linting: TypeScript, JavaScript, Svelte, HTML, (Tailwind) CSS, Mocha, JSON(C), and sadly YAML.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -64,13 +64,13 @@
64
64
  "eslint-plugin-svelte": "~2.43.0",
65
65
  "eslint-plugin-yml": "~1.14.0",
66
66
  "jsonc-eslint-parser": "~2.4.0",
67
+ "linted": "^16.0.5-rc.0",
67
68
  "svelte": "^4.2.18",
68
69
  "svelte-eslint-parser": "~0.41.0",
69
70
  "yaml-eslint-parser": "~1.2.3"
70
71
  },
71
72
  "devDependencies": {
72
73
  "eslint": "~9.8.0",
73
- "linted": "~16.0.4-rc.1",
74
74
  "npm-run-all": "^4.1.5",
75
75
  "typescript": "^5.5.4"
76
76
  },
package/src/index.ts CHANGED
@@ -10,14 +10,8 @@ export default function (
10
10
  return core(
11
11
  plugins,
12
12
  parsers,
13
- {
14
- base,
15
- includes,
16
- },
17
- {
18
- preset,
19
- overrides,
20
- },
13
+ { base, includes },
14
+ { preset, overrides },
21
15
  );
22
16
  }
23
17
  catch (e) {
@@ -1,6 +1,6 @@
1
- import type RuleEntry from "./entries/index.js";
2
- import Recommended from "./entries/html/Recommended.js";
3
- import Enable from "./entries/html/Enable.js";
1
+ import type RuleEntry from "./index.js";
2
+ import Recommended from "./html/Recommended.js";
3
+ import Enable from "./html/Enable.js";
4
4
 
5
5
  export default [
6
6
  Recommended,
@@ -1,6 +1,6 @@
1
- import type RuleEntry from "./entries/index.js";
2
- import EnableStylistic from "./entries/js/EnableStylistic.js";
3
- import Enable from "./entries/js/Enable.js";
1
+ import type RuleEntry from "./index.js";
2
+ import EnableStylistic from "./js/EnableStylistic.js";
3
+ import Enable from "./js/Enable.js";
4
4
 
5
5
  export default [
6
6
  EnableStylistic,
@@ -1,6 +1,6 @@
1
- import type RuleEntry from "./entries/index.js";
2
- import EnableX from "./entries/json/EnableX.js";
3
- import Enable from "./entries/json/Enable.js";
1
+ import type RuleEntry from "./index.js";
2
+ import EnableX from "./json/EnableX.js";
3
+ import Enable from "./json/Enable.js";
4
4
 
5
5
  export default [
6
6
  EnableX,
@@ -1,6 +1,6 @@
1
- import type RuleEntry from "./entries/index.js";
1
+ import type RuleEntry from "./index.js";
2
2
  import Json from "./Json.js";
3
- import OverrideJson from "./entries/jsonc/OverrideJson.js";
3
+ import OverrideJson from "./jsonc/OverrideJson.js";
4
4
 
5
5
  export default [
6
6
  ...Json,
@@ -1,4 +1,4 @@
1
- import type RuleEntry from "./entries/index.js";
2
- import Enable from "./entries/md/Enable.js";
1
+ import type RuleEntry from "./index.js";
2
+ import Enable from "./md/Enable.js";
3
3
 
4
4
  export default [Enable] as const satisfies readonly RuleEntry[];
@@ -1,6 +1,6 @@
1
- import type RuleEntry from "./entries/index.js";
2
- import Recommended from "./entries/mocha/Recommended.js";
3
- import Enable from "./entries/html/Enable.js";
1
+ import type RuleEntry from "./index.js";
2
+ import Recommended from "./mocha/Recommended.js";
3
+ import Enable from "./html/Enable.js";
4
4
 
5
5
  export default [
6
6
  Recommended,
@@ -1,10 +1,10 @@
1
- import type RuleEntry from "./entries/index.js";
1
+ import type RuleEntry from "./index.js";
2
2
  import TsRuleset from "./Ts.js";
3
- import DisableJS from "./entries/svelte/DisableJS.js";
4
- import DisableTS from "./entries/svelte/DisableTS.js";
5
- import DisableX from "./entries/svelte/DisableX.js";
6
- import EnableX from "./entries/svelte/EnableX.js";
7
- import Enable from "./entries/svelte/Enable.js";
3
+ import DisableJS from "./svelte/DisableJS.js";
4
+ import DisableTS from "./svelte/DisableTS.js";
5
+ import DisableX from "./svelte/DisableX.js";
6
+ import EnableX from "./svelte/EnableX.js";
7
+ import Enable from "./svelte/Enable.js";
8
8
 
9
9
  export default [
10
10
  ...TsRuleset,
@@ -1,9 +1,9 @@
1
- import type RuleEntry from "./entries/index.js";
1
+ import type RuleEntry from "./index.js";
2
2
  import Js from "./Js.js";
3
- import DisableCompiler from "./entries/ts/DisableCompiler.js";
4
- import DisableX from "./entries/ts/DisableX.js";
5
- import EnableX from "./entries/ts/EnableX.js";
6
- import Enable from "./entries/ts/Enable.js";
3
+ import DisableCompiler from "./ts/DisableCompiler.js";
4
+ import DisableX from "./ts/DisableX.js";
5
+ import EnableX from "./ts/EnableX.js";
6
+ import Enable from "./ts/Enable.js";
7
7
 
8
8
  export default [
9
9
  ...Js,
@@ -1,6 +1,6 @@
1
- import type RuleEntry from "./entries/index.js";
2
- import EnableX from "./entries/yml/EnableX.js";
3
- import Enable from "./entries/yml/Enable.js";
1
+ import type RuleEntry from "./index.js";
2
+ import EnableX from "./yml/EnableX.js";
3
+ import Enable from "./yml/Enable.js";
4
4
 
5
5
  export default [
6
6
  EnableX,
@@ -10,4 +10,4 @@ export type {
10
10
  RuleEntry as default,
11
11
  RuleEntry,
12
12
  };
13
- export * as Strings from "../../strings/index.js";
13
+ export * as Strings from "../strings/index.js";