@eslinted/defaults 17.2.9 → 17.2.10

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.
Files changed (101) hide show
  1. package/dist/index.d.ts +1139 -792
  2. package/dist/rules/css/index.d.ts +2 -1
  3. package/dist/rules/css/index.d.ts.map +1 -1
  4. package/dist/rules/css/index.js.map +1 -1
  5. package/dist/rules/disable.d.ts +2 -1
  6. package/dist/rules/disable.d.ts.map +1 -1
  7. package/dist/rules/disable.js.map +1 -1
  8. package/dist/rules/html/index.d.ts +37 -17
  9. package/dist/rules/html/index.d.ts.map +1 -1
  10. package/dist/rules/html/index.js.map +1 -1
  11. package/dist/rules/index.d.ts +1139 -792
  12. package/dist/rules/js.d.ts +560 -357
  13. package/dist/rules/js.eslint.d.ts +184 -90
  14. package/dist/rules/js.eslint.d.ts.map +1 -1
  15. package/dist/rules/js.eslint.js.map +1 -1
  16. package/dist/rules/js.stylistic.d.ts +219 -108
  17. package/dist/rules/js.stylistic.d.ts.map +1 -1
  18. package/dist/rules/js.stylistic.js.map +1 -1
  19. package/dist/rules/json/index.d.ts +68 -53
  20. package/dist/rules/json/json.d.ts +2 -1
  21. package/dist/rules/json/json.d.ts.map +1 -1
  22. package/dist/rules/json/json.js.map +1 -1
  23. package/dist/rules/json/plugin/extend.d.ts +32 -16
  24. package/dist/rules/json/plugin/extend.d.ts.map +1 -1
  25. package/dist/rules/json/plugin/extend.js.map +1 -1
  26. package/dist/rules/json/plugin/index.d.ts +2 -1
  27. package/dist/rules/json/plugin/index.d.ts.map +1 -1
  28. package/dist/rules/json/plugin/index.js.map +1 -1
  29. package/dist/rules/jsonc/index.d.ts +2 -1
  30. package/dist/rules/jsonc/index.d.ts.map +1 -1
  31. package/dist/rules/jsonc/index.js.map +1 -1
  32. package/dist/rules/jsoncc/index.d.ts +6 -2
  33. package/dist/rules/jsoncc/index.d.ts.map +1 -1
  34. package/dist/rules/jsoncc/index.js.map +1 -1
  35. package/dist/rules/mocha/chai/expect.d.ts +2 -1
  36. package/dist/rules/mocha/chai/expect.d.ts.map +1 -1
  37. package/dist/rules/mocha/chai/expect.js.map +1 -1
  38. package/dist/rules/mocha/chai/index.d.ts +9 -5
  39. package/dist/rules/mocha/chai/index.d.ts.map +1 -1
  40. package/dist/rules/mocha/chai/index.js.map +1 -1
  41. package/dist/rules/mocha/index.d.ts +29 -26
  42. package/dist/rules/mocha/mocha.d.ts +2 -1
  43. package/dist/rules/mocha/mocha.d.ts.map +1 -1
  44. package/dist/rules/mocha/mocha.js.map +1 -1
  45. package/dist/rules/state.d.ts +6 -0
  46. package/dist/rules/state.d.ts.map +1 -0
  47. package/dist/rules/state.js +2 -0
  48. package/dist/rules/state.js.map +1 -0
  49. package/dist/rules/svelte/disable.d.ts +2 -1
  50. package/dist/rules/svelte/disable.d.ts.map +1 -1
  51. package/dist/rules/svelte/disable.js.map +1 -1
  52. package/dist/rules/svelte/extend.d.ts +6 -2
  53. package/dist/rules/svelte/extend.d.ts.map +1 -1
  54. package/dist/rules/svelte/extend.js.map +1 -1
  55. package/dist/rules/svelte/index.d.ts +121 -93
  56. package/dist/rules/svelte/svelte.d.ts +49 -23
  57. package/dist/rules/svelte/svelte.d.ts.map +1 -1
  58. package/dist/rules/svelte/svelte.js.map +1 -1
  59. package/dist/rules/ts/disable.d.ts +2 -1
  60. package/dist/rules/ts/disable.d.ts.map +1 -1
  61. package/dist/rules/ts/disable.js.map +1 -1
  62. package/dist/rules/ts/extend.d.ts +31 -18
  63. package/dist/rules/ts/extend.d.ts.map +1 -1
  64. package/dist/rules/ts/extend.js.map +1 -1
  65. package/dist/rules/ts/index.d.ts +220 -169
  66. package/dist/rules/ts/ts.d.ts +93 -53
  67. package/dist/rules/ts/ts.d.ts.map +1 -1
  68. package/dist/rules/ts/ts.js.map +1 -1
  69. package/dist/rules/yml/extend.d.ts +44 -18
  70. package/dist/rules/yml/extend.d.ts.map +1 -1
  71. package/dist/rules/yml/extend.js.map +1 -1
  72. package/dist/rules/yml/index.d.ts +58 -33
  73. package/dist/rules/yml/yml.d.ts +2 -1
  74. package/dist/rules/yml/yml.d.ts.map +1 -1
  75. package/dist/rules/yml/yml.js.map +1 -1
  76. package/package.json +1 -1
  77. package/src/rules/css/index.ts +2 -0
  78. package/src/rules/disable.ts +2 -0
  79. package/src/rules/html/index.ts +2 -0
  80. package/src/rules/js.eslint.ts +2 -0
  81. package/src/rules/js.stylistic.ts +2 -0
  82. package/src/rules/json/json.ts +2 -0
  83. package/src/rules/json/plugin/extend.ts +2 -0
  84. package/src/rules/json/plugin/index.ts +2 -0
  85. package/src/rules/jsonc/index.ts +2 -0
  86. package/src/rules/jsoncc/index.ts +2 -0
  87. package/src/rules/mocha/chai/expect.ts +2 -0
  88. package/src/rules/mocha/chai/index.ts +2 -0
  89. package/src/rules/mocha/mocha.ts +2 -0
  90. package/src/rules/state.ts +5 -0
  91. package/src/rules/svelte/disable.ts +2 -0
  92. package/src/rules/svelte/extend.ts +2 -0
  93. package/src/rules/svelte/svelte.ts +2 -0
  94. package/src/rules/ts/disable.ts +2 -0
  95. package/src/rules/ts/extend.ts +2 -0
  96. package/src/rules/ts/ts.ts +2 -0
  97. package/src/rules/tsconfig.json +0 -1
  98. package/src/rules/yml/extend.ts +2 -0
  99. package/src/rules/yml/yml.ts +2 -0
  100. package/src/tsconfig.json +0 -1
  101. package/typings/index.d.ts +0 -5
@@ -1,27 +1,53 @@
1
+ import { State } from "../state.js";
1
2
  declare const _default: {
2
3
  rules: {
3
- readonly "yml/flow-mapping-curly-newline": readonly [State.ON, {
4
- readonly consistent: true;
5
- readonly multiline: true;
6
- readonly minProperties: 2;
7
- }];
8
- readonly "yml/flow-mapping-curly-spacing": readonly [State.ON, "never", {
9
- readonly objectsInObjects: true;
10
- }];
4
+ readonly "yml/flow-mapping-curly-newline": readonly [
5
+ State.ON,
6
+ {
7
+ readonly consistent: true;
8
+ readonly multiline: true;
9
+ readonly minProperties: 2;
10
+ }
11
+ ];
12
+ readonly "yml/flow-mapping-curly-spacing": readonly [
13
+ State.ON,
14
+ "never",
15
+ {
16
+ readonly objectsInObjects: true;
17
+ }
18
+ ];
11
19
  readonly "yml/flow-sequence-bracket-newline": State.ON;
12
20
  readonly "yml/flow-sequence-bracket-spacing": State.ON;
13
21
  readonly "yml/key-spacing": State.ON;
14
22
  readonly "yml/no-irregular-whitespace": State.ON;
15
- readonly "yml/no-multiple-empty-lines": readonly [State.ON, {
16
- readonly max: 1;
17
- readonly maxBOF: 0;
18
- readonly maxEOF: 0;
19
- }];
20
- readonly "yml/spaced-comment": readonly [State.ON, "always", {
21
- readonly exceptions: readonly ["#"];
22
- readonly markers: readonly ["-", "#", "##", "###", "####", "#####", "region", "endregion"];
23
- }];
23
+ readonly "yml/no-multiple-empty-lines": readonly [
24
+ State.ON,
25
+ {
26
+ readonly max: 1;
27
+ readonly maxBOF: 0;
28
+ readonly maxEOF: 0;
29
+ }
30
+ ];
31
+ readonly "yml/spaced-comment": readonly [
32
+ State.ON,
33
+ "always",
34
+ {
35
+ readonly exceptions: readonly [
36
+ "#"
37
+ ];
38
+ readonly markers: readonly [
39
+ "-",
40
+ "#",
41
+ "##",
42
+ "###",
43
+ "####",
44
+ "#####",
45
+ "region",
46
+ "endregion"
47
+ ];
48
+ }
49
+ ];
24
50
  };
25
51
  };
26
52
  export default _default;
27
- //# sourceMappingURL=extend.d.ts.map
53
+ //# sourceMappingURL=extend.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"extend.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AACA,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,wBA+CE"}
@@ -1 +1 @@
1
- {"version":3,"file":"extend.js","sourceRoot":"","sources":["../../../src/rules/yml/extend.ts"],"names":[],"mappings":"AACA,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,GAAU;QAC7C,mCAAmC,GAAU;QAC7C,iBAAiB,GAAU;QAC3B,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;QACD,gCAAgC,EAAE;;YAEhC,OAAO;YACP;gBACE,gBAAgB,EAAE,IAAI;aACvB;SACF;QACD,mCAAmC,GAAU;QAC7C,mCAAmC,GAAU;QAC7C,iBAAiB,GAAU;QAC3B,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,41 +1,66 @@
1
1
  declare const _default: ({
2
2
  rules: {
3
- readonly "yml/block-mapping-colon-indicator-newline": State.ON;
4
- readonly "yml/block-mapping-question-indicator-newline": State.ON;
5
- readonly "yml/block-mapping": State.ON;
6
- readonly "yml/block-sequence-hyphen-indicator-newline": State.ON;
7
- readonly "yml/block-sequence": State.ON;
8
- readonly "yml/indent": State.ON;
9
- readonly "yml/no-empty-key": State.ON;
10
- readonly "yml/no-empty-sequence-entry": State.ON;
11
- readonly "yml/no-tab-indent": State.ON;
12
- readonly "yml/no-trailing-zeros": State.ON;
13
- readonly "yml/require-string-key": State.ON;
3
+ readonly "yml/block-mapping-colon-indicator-newline": import("../state.js").State.ON;
4
+ readonly "yml/block-mapping-question-indicator-newline": import("../state.js").State.ON;
5
+ readonly "yml/block-mapping": import("../state.js").State.ON;
6
+ readonly "yml/block-sequence-hyphen-indicator-newline": import("../state.js").State.ON;
7
+ readonly "yml/block-sequence": import("../state.js").State.ON;
8
+ readonly "yml/indent": import("../state.js").State.ON;
9
+ readonly "yml/no-empty-key": import("../state.js").State.ON;
10
+ readonly "yml/no-empty-sequence-entry": import("../state.js").State.ON;
11
+ readonly "yml/no-tab-indent": import("../state.js").State.ON;
12
+ readonly "yml/no-trailing-zeros": import("../state.js").State.ON;
13
+ readonly "yml/require-string-key": import("../state.js").State.ON;
14
14
  };
15
15
  } | {
16
16
  rules: {
17
- readonly "yml/flow-mapping-curly-newline": readonly [State.ON, {
18
- readonly consistent: true;
19
- readonly multiline: true;
20
- readonly minProperties: 2;
21
- }];
22
- readonly "yml/flow-mapping-curly-spacing": readonly [State.ON, "never", {
23
- readonly objectsInObjects: true;
24
- }];
25
- readonly "yml/flow-sequence-bracket-newline": State.ON;
26
- readonly "yml/flow-sequence-bracket-spacing": State.ON;
27
- readonly "yml/key-spacing": State.ON;
28
- readonly "yml/no-irregular-whitespace": State.ON;
29
- readonly "yml/no-multiple-empty-lines": readonly [State.ON, {
30
- readonly max: 1;
31
- readonly maxBOF: 0;
32
- readonly maxEOF: 0;
33
- }];
34
- readonly "yml/spaced-comment": readonly [State.ON, "always", {
35
- readonly exceptions: readonly ["#"];
36
- readonly markers: readonly ["-", "#", "##", "###", "####", "#####", "region", "endregion"];
37
- }];
17
+ readonly "yml/flow-mapping-curly-newline": readonly [
18
+ import("../state.js").State.ON,
19
+ {
20
+ readonly consistent: true;
21
+ readonly multiline: true;
22
+ readonly minProperties: 2;
23
+ }
24
+ ];
25
+ readonly "yml/flow-mapping-curly-spacing": readonly [
26
+ import("../state.js").State.ON,
27
+ "never",
28
+ {
29
+ readonly objectsInObjects: true;
30
+ }
31
+ ];
32
+ readonly "yml/flow-sequence-bracket-newline": import("../state.js").State.ON;
33
+ readonly "yml/flow-sequence-bracket-spacing": import("../state.js").State.ON;
34
+ readonly "yml/key-spacing": import("../state.js").State.ON;
35
+ readonly "yml/no-irregular-whitespace": import("../state.js").State.ON;
36
+ readonly "yml/no-multiple-empty-lines": readonly [
37
+ import("../state.js").State.ON,
38
+ {
39
+ readonly max: 1;
40
+ readonly maxBOF: 0;
41
+ readonly maxEOF: 0;
42
+ }
43
+ ];
44
+ readonly "yml/spaced-comment": readonly [
45
+ import("../state.js").State.ON,
46
+ "always",
47
+ {
48
+ readonly exceptions: readonly [
49
+ "#"
50
+ ];
51
+ readonly markers: readonly [
52
+ "-",
53
+ "#",
54
+ "##",
55
+ "###",
56
+ "####",
57
+ "#####",
58
+ "region",
59
+ "endregion"
60
+ ];
61
+ }
62
+ ];
38
63
  };
39
64
  })[];
40
65
  export default _default;
41
- //# sourceMappingURL=index.d.ts.map
66
+ //# sourceMappingURL=index.d.ts.map
@@ -1,3 +1,4 @@
1
+ import { State } from "../state.js";
1
2
  declare const _default: {
2
3
  rules: {
3
4
  readonly "yml/block-mapping-colon-indicator-newline": State.ON;
@@ -14,4 +15,4 @@ declare const _default: {
14
15
  };
15
16
  };
16
17
  export default _default;
17
- //# sourceMappingURL=yml.d.ts.map
18
+ //# sourceMappingURL=yml.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AACA,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"}
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AACA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAU;QACrD,8CAA8C,GAAU;QACxD,mBAAmB,GAAU;QAC7B,6CAA6C,GAAU;QACvD,oBAAoB,GAAU;QAE9B,YAAY,GAAU;QAGtB,kBAAkB,GAAU;QAE5B,6BAA6B,GAAU;QACvC,mBAAmB,GAAU;QAC7B,uBAAuB,GAAU;QAGjC,wBAAwB,GAAU;KAI1B;CACX,CAAC"}
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/rules/yml/yml.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QACL,2CAA2C,GAAU;QACrD,8CAA8C,GAAU;QACxD,mBAAmB,GAAU;QAC7B,6CAA6C,GAAU;QACvD,oBAAoB,GAAU;QAE9B,YAAY,GAAU;QAGtB,kBAAkB,GAAU;QAE5B,6BAA6B,GAAU;QACvC,mBAAmB,GAAU;QAC7B,uBAAuB,GAAU;QAGjC,wBAAwB,GAAU;KAI1B;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": "17.2.9",
6
+ "version": "17.2.10",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://github.com/eslint/css/tree/main/docs/rules
2
4
  export default [
3
5
  {
@@ -1,3 +1,5 @@
1
+ import { State } from "./state";
2
+
1
3
  export default {
2
4
  // The following rules can be used in some cases. See the README for more
3
5
  // information. These are marked with `0` instead of `"off"` so that a
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://html-eslint.org/docs/rules
2
4
  export default [
3
5
  {
@@ -1,3 +1,5 @@
1
+ import { State } from "./state";
2
+
1
3
  // DOC: https://eslint.org/docs/latest/rules/
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "./state";
2
+
1
3
  // DOC: https://eslint.style/rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://github.com/eslint/json?tab=readme-ov-file#rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../../state";
2
+
1
3
  // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#extension-rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../../state";
2
+
1
3
  // DOC: https://ota-meshi.github.io/eslint-plugin-jsonc/rules/#jsonc-rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  export default [
2
4
  {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  export default [
2
4
  {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../../state";
2
+
1
3
  // DOC: https://github.com/turbo87/eslint-plugin-chai-expect?tab=readme-ov-file#rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../../state";
2
+
1
3
  // DOC: https://github.com/ihordiachenko/eslint-plugin-chai-friendly?tab=readme-ov-file#usage
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://github.com/lo1tuma/eslint-plugin-mocha/tree/main?tab=readme-ov-file#rules
2
4
  export default {
3
5
  rules: {
@@ -0,0 +1,5 @@
1
+ export const enum State {
2
+ OFF,
3
+ WARN,
4
+ ON,
5
+ }
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://github.com/sveltejs/eslint-plugin-svelte/blob/ca37fbbe82d01019946e12eeb1b57c2a5736c018/packages/eslint-plugin-svelte/src/configs/base.ts
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: http://sveltejs.github.io/eslint-plugin-svelte/rules/#extension-rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: http://sveltejs.github.io/eslint-plugin-svelte/rules/
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  export default {
2
4
  rules: {
3
5
  // Handled by TypeScript compiler
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://typescript-eslint.io/rules/?=extension-xdeprecated#rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://typescript-eslint.io/rules/?=xextension-xdeprecated#rules
2
4
  export default {
3
5
  rules: {
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "../tsconfig-src.json",
3
3
  "include": [
4
- "../../typings/**/*",
5
4
  "**/*",
6
5
  ],
7
6
  }
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#extension-rules
2
4
  export default {
3
5
  rules: {
@@ -1,3 +1,5 @@
1
+ import { State } from "../state";
2
+
1
3
  // DOC: https://ota-meshi.github.io/eslint-plugin-yml/rules/#yaml-rules
2
4
  export default {
3
5
  rules: {
package/src/tsconfig.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "extends": "./tsconfig-src.json",
3
3
  "include": [
4
- "../typings/**/*",
5
4
  "*",
6
5
  ],
7
6
  "references": [
@@ -1,5 +0,0 @@
1
- declare const enum State {
2
- OFF,
3
- WARN,
4
- ON,
5
- }