linted 21.1.2-rc.0 → 21.1.2-rc.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (124) hide show
  1. package/dist/files/index.js +8 -8
  2. package/dist/files/index.js.map +1 -1
  3. package/dist/files/scopes/html.d.ts.map +1 -0
  4. package/dist/files/scopes/html.js.map +1 -0
  5. package/dist/files/{js.d.ts.map → scopes/js.d.ts.map} +1 -1
  6. package/dist/files/scopes/js.js.map +1 -0
  7. package/dist/files/scopes/json.d.ts.map +1 -0
  8. package/dist/files/scopes/json.js.map +1 -0
  9. package/dist/files/scopes/jsonc.d.ts.map +1 -0
  10. package/dist/files/scopes/jsonc.js.map +1 -0
  11. package/dist/files/scopes/mocha.d.ts.map +1 -0
  12. package/dist/files/scopes/mocha.js.map +1 -0
  13. package/dist/files/scopes/svelte.d.ts.map +1 -0
  14. package/dist/files/scopes/svelte.js.map +1 -0
  15. package/dist/files/scopes/ts.d.ts.map +1 -0
  16. package/dist/files/scopes/ts.js.map +1 -0
  17. package/dist/files/scopes/yml.d.ts.map +1 -0
  18. package/dist/files/scopes/yml.js.map +1 -0
  19. package/dist/ignores/global.d.ts +3 -0
  20. package/dist/ignores/global.d.ts.map +1 -0
  21. package/dist/ignores/global.js +2 -0
  22. package/dist/ignores/global.js.map +1 -0
  23. package/dist/ignores/index.d.ts +12 -0
  24. package/dist/ignores/index.d.ts.map +1 -0
  25. package/dist/ignores/index.js +19 -0
  26. package/dist/ignores/index.js.map +1 -0
  27. package/dist/ignores/scopes/html.d.ts +3 -0
  28. package/dist/ignores/scopes/html.d.ts.map +1 -0
  29. package/dist/ignores/scopes/html.js +2 -0
  30. package/dist/ignores/scopes/html.js.map +1 -0
  31. package/dist/ignores/scopes/js.d.ts +3 -0
  32. package/dist/ignores/scopes/js.d.ts.map +1 -0
  33. package/dist/ignores/scopes/js.js +2 -0
  34. package/dist/ignores/scopes/js.js.map +1 -0
  35. package/dist/ignores/scopes/json.d.ts +3 -0
  36. package/dist/ignores/scopes/json.d.ts.map +1 -0
  37. package/dist/ignores/scopes/json.js +2 -0
  38. package/dist/ignores/scopes/json.js.map +1 -0
  39. package/dist/ignores/scopes/jsonc.d.ts +3 -0
  40. package/dist/ignores/scopes/jsonc.d.ts.map +1 -0
  41. package/dist/ignores/scopes/jsonc.js +2 -0
  42. package/dist/ignores/scopes/jsonc.js.map +1 -0
  43. package/dist/ignores/scopes/mocha.d.ts +3 -0
  44. package/dist/ignores/scopes/mocha.d.ts.map +1 -0
  45. package/dist/ignores/scopes/mocha.js +2 -0
  46. package/dist/ignores/scopes/mocha.js.map +1 -0
  47. package/dist/ignores/scopes/svelte.d.ts +3 -0
  48. package/dist/ignores/scopes/svelte.d.ts.map +1 -0
  49. package/dist/ignores/scopes/svelte.js +2 -0
  50. package/dist/ignores/scopes/svelte.js.map +1 -0
  51. package/dist/ignores/scopes/ts.d.ts +3 -0
  52. package/dist/ignores/scopes/ts.d.ts.map +1 -0
  53. package/dist/ignores/scopes/ts.js +2 -0
  54. package/dist/ignores/scopes/ts.js.map +1 -0
  55. package/dist/ignores/scopes/yml.d.ts +3 -0
  56. package/dist/ignores/scopes/yml.d.ts.map +1 -0
  57. package/dist/ignores/scopes/yml.js +2 -0
  58. package/dist/ignores/scopes/yml.js.map +1 -0
  59. package/dist/index.d.ts +1 -1
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +14 -0
  62. package/dist/index.js.map +1 -1
  63. package/dist/settings/index.d.ts +8 -0
  64. package/dist/settings/index.d.ts.map +1 -0
  65. package/dist/settings/index.js +7 -0
  66. package/dist/settings/index.js.map +1 -0
  67. package/package.json +2 -2
  68. package/src/files/index.ts +8 -8
  69. package/src/ignores/global.ts +1 -0
  70. package/src/ignores/index.ts +19 -0
  71. package/src/ignores/scopes/html.ts +1 -0
  72. package/src/ignores/scopes/js.ts +1 -0
  73. package/src/ignores/scopes/json.ts +1 -0
  74. package/src/ignores/scopes/jsonc.ts +1 -0
  75. package/src/ignores/scopes/mocha.ts +1 -0
  76. package/src/ignores/scopes/svelte.ts +1 -0
  77. package/src/ignores/scopes/ts.ts +1 -0
  78. package/src/ignores/scopes/yml.ts +1 -0
  79. package/src/index.ts +15 -0
  80. package/src/settings/index.ts +6 -0
  81. package/dist/files/html.d.ts.map +0 -1
  82. package/dist/files/html.js.map +0 -1
  83. package/dist/files/js.js.map +0 -1
  84. package/dist/files/json.d.ts.map +0 -1
  85. package/dist/files/json.js.map +0 -1
  86. package/dist/files/jsonc.d.ts.map +0 -1
  87. package/dist/files/jsonc.js.map +0 -1
  88. package/dist/files/mocha.d.ts.map +0 -1
  89. package/dist/files/mocha.js.map +0 -1
  90. package/dist/files/mochaJs.d.ts +0 -3
  91. package/dist/files/mochaJs.d.ts.map +0 -1
  92. package/dist/files/mochaJs.js +0 -5
  93. package/dist/files/mochaJs.js.map +0 -1
  94. package/dist/files/svelte.d.ts.map +0 -1
  95. package/dist/files/svelte.js.map +0 -1
  96. package/dist/files/ts.d.ts.map +0 -1
  97. package/dist/files/ts.js.map +0 -1
  98. package/dist/files/yml.d.ts.map +0 -1
  99. package/dist/files/yml.js.map +0 -1
  100. package/src/files/mochaJs.ts +0 -4
  101. /package/dist/files/{html.d.ts → scopes/html.d.ts} +0 -0
  102. /package/dist/files/{html.js → scopes/html.js} +0 -0
  103. /package/dist/files/{js.d.ts → scopes/js.d.ts} +0 -0
  104. /package/dist/files/{js.js → scopes/js.js} +0 -0
  105. /package/dist/files/{json.d.ts → scopes/json.d.ts} +0 -0
  106. /package/dist/files/{json.js → scopes/json.js} +0 -0
  107. /package/dist/files/{jsonc.d.ts → scopes/jsonc.d.ts} +0 -0
  108. /package/dist/files/{jsonc.js → scopes/jsonc.js} +0 -0
  109. /package/dist/files/{mocha.d.ts → scopes/mocha.d.ts} +0 -0
  110. /package/dist/files/{mocha.js → scopes/mocha.js} +0 -0
  111. /package/dist/files/{svelte.d.ts → scopes/svelte.d.ts} +0 -0
  112. /package/dist/files/{svelte.js → scopes/svelte.js} +0 -0
  113. /package/dist/files/{ts.d.ts → scopes/ts.d.ts} +0 -0
  114. /package/dist/files/{ts.js → scopes/ts.js} +0 -0
  115. /package/dist/files/{yml.d.ts → scopes/yml.d.ts} +0 -0
  116. /package/dist/files/{yml.js → scopes/yml.js} +0 -0
  117. /package/src/files/{html.ts → scopes/html.ts} +0 -0
  118. /package/src/files/{js.ts → scopes/js.ts} +0 -0
  119. /package/src/files/{json.ts → scopes/json.ts} +0 -0
  120. /package/src/files/{jsonc.ts → scopes/jsonc.ts} +0 -0
  121. /package/src/files/{mocha.ts → scopes/mocha.ts} +0 -0
  122. /package/src/files/{svelte.ts → scopes/svelte.ts} +0 -0
  123. /package/src/files/{ts.ts → scopes/ts.ts} +0 -0
  124. /package/src/files/{yml.ts → scopes/yml.ts} +0 -0
@@ -1,11 +1,11 @@
1
- import js from "./js.js";
2
- import ts from "./ts.js";
3
- import svelte from "./svelte.js";
4
- import mocha from "./mocha.js";
5
- import html from "./html.js";
6
- import json from "./json.js";
7
- import jsonc from "./jsonc.js";
8
- import yml from "./yml.js";
1
+ import js from "./scopes/js.js";
2
+ import ts from "./scopes/ts.js";
3
+ import svelte from "./scopes/svelte.js";
4
+ import mocha from "./scopes/mocha.js";
5
+ import html from "./scopes/html.js";
6
+ import json from "./scopes/json.js";
7
+ import jsonc from "./scopes/jsonc.js";
8
+ import yml from "./scopes/yml.js";
9
9
  export default {
10
10
  js,
11
11
  ts,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAE/B,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/html.ts"],"names":[],"mappings":";AAAA,wBAAgD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/files/scopes/html.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,8BAA8B,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":";AAAA,wBAGE"}
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/js.ts"],"names":[],"mappings":";AAAA,wBAGE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js.js","sourceRoot":"","sources":["../../../src/files/scopes/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,0CAA0C;CAC3C,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/json.ts"],"names":[],"mappings":";AAAA,wBAA6B"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/files/scopes/json.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,WAAW,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/jsonc.ts"],"names":[],"mappings":";AAAA,wBAIE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/files/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;IAClB,oBAAoB;CACrB,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/mocha.ts"],"names":[],"mappings":";AAAA,wBAGE"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/files/scopes/mocha.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/svelte.ts"],"names":[],"mappings":";AAAA,wBAAkD"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/files/scopes/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gCAAgC,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/ts.ts"],"names":[],"mappings":";AAAA,wBAAiC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/files/scopes/ts.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,eAAe,CAAC,CAAC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/yml.ts"],"names":[],"mappings":";AAAA,wBAAgC"}
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/files/scopes/yml.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,cAAc,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=global.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=global.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ js: never[];
3
+ ts: never[];
4
+ svelte: never[];
5
+ mocha: never[];
6
+ html: never[];
7
+ json: string[];
8
+ jsonc: never[];
9
+ yml: never[];
10
+ };
11
+ export default _default;
12
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":";;;;;;;;;;AASA,wBASE"}
@@ -0,0 +1,19 @@
1
+ import js from "./scopes/js.js";
2
+ import ts from "./scopes/ts.js";
3
+ import svelte from "./scopes/svelte.js";
4
+ import mocha from "./scopes/mocha.js";
5
+ import html from "./scopes/html.js";
6
+ import json from "./scopes/json.js";
7
+ import jsonc from "./scopes/jsonc.js";
8
+ import yml from "./scopes/yml.js";
9
+ export default {
10
+ js,
11
+ ts,
12
+ svelte,
13
+ mocha,
14
+ html,
15
+ json,
16
+ jsonc,
17
+ yml,
18
+ };
19
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAE/B,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=html.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/html.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=html.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/ignores/scopes/html.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=js.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/js.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=js.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js.js","sourceRoot":"","sources":["../../../src/ignores/scopes/js.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: string[];
2
+ export default _default;
3
+ //# sourceMappingURL=json.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/json.ts"],"names":[],"mappings":";AAAA,wBAAyC"}
@@ -0,0 +1,2 @@
1
+ export default ["**/*package-lock.json"];
2
+ //# sourceMappingURL=json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/ignores/scopes/json.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,uBAAuB,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=jsonc.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/jsonc.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=jsonc.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/ignores/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=mocha.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/mocha.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=mocha.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/ignores/scopes/mocha.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=svelte.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/svelte.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=svelte.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/ignores/scopes/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=ts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/ts.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=ts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/ignores/scopes/ts.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
@@ -0,0 +1,3 @@
1
+ declare const _default: never[];
2
+ export default _default;
3
+ //# sourceMappingURL=yml.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/yml.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
@@ -0,0 +1,2 @@
1
+ export default [];
2
+ //# sourceMappingURL=yml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/ignores/scopes/yml.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { Input } from "@eslinted/core";
2
- export default function (includes?: Input["files"]["includes"], overrides?: Input["rules"]["overrides"]): [import("@eslinted/core/dist/interface/output/global/ignores").GlobalConfigIgnores, import("@eslinted/core/dist/interface/output/global/system").GlobalConfigSystem, ...import("@eslinted/core").Config[]];
2
+ export default function (includes?: Input["files"]["includes"], overrides?: Input["rules"]["overrides"]): [import("@eslinted/core").GlobalConfigIgnores, import("@eslinted/core").GlobalConfigSystem, ...import("@eslinted/core").ScopedConfig[]];
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAM5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,8MAmB5C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAS5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,2IA+B5C"}
package/dist/index.js CHANGED
@@ -1,16 +1,30 @@
1
1
  import core from "@eslinted/core";
2
2
  import imports from "./imports/index.js";
3
+ import settings from "./settings/index.js";
3
4
  import files from "./files/index.js";
5
+ import ignores from "./ignores/index.js";
6
+ import globalIgnores from "./ignores/global.js";
4
7
  import rules from "./rules/index.js";
5
8
  export default function (includes = {}, overrides = {}) {
6
9
  try {
7
10
  return core({
8
11
  plugins: imports.plugins,
9
12
  parsers: imports.parsers,
13
+ settings,
14
+ globals: {
15
+ ignores: {
16
+ ignores: globalIgnores,
17
+ },
18
+ extend: {},
19
+ },
10
20
  files: {
11
21
  files,
12
22
  includes,
13
23
  },
24
+ ignores: {
25
+ ignores,
26
+ extend: {},
27
+ },
14
28
  rules: {
15
29
  rules,
16
30
  overrides,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,QAAQ;YACR,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,OAAO,EAAE,aAAa;iBACvB;gBACD,MAAM,EAAE,EAAE;aAEX;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,OAAO,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
@@ -0,0 +1,8 @@
1
+ declare const _default: {
2
+ readonly noInlineConfig: true;
3
+ readonly reportUnusedDisableDirectives: "error";
4
+ readonly sourceType: "module";
5
+ readonly ecmaVersion: 2023;
6
+ };
7
+ export default _default;
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKW"}
@@ -0,0 +1,7 @@
1
+ export default {
2
+ noInlineConfig: true,
3
+ reportUnusedDisableDirectives: "error",
4
+ sourceType: "module",
5
+ ecmaVersion: 2023,
6
+ };
7
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;IACtC,UAAU,EAAE,QAAQ;IACpB,WAAW,EAAE,IAAI;CACT,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "linted",
4
- "version": "21.1.2-rc.0",
4
+ "version": "21.1.2-rc.2",
5
5
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@eslinted/core": "11.2.0",
65
+ "@eslinted/core": "12.0.0-rc.3",
66
66
  "@html-eslint/eslint-plugin": "0.27.0",
67
67
  "@html-eslint/parser": "0.27.0",
68
68
  "@stylistic/eslint-plugin": "2.10.1",
@@ -1,11 +1,11 @@
1
- import js from "./js";
2
- import ts from "./ts";
3
- import svelte from "./svelte";
4
- import mocha from "./mocha";
5
- import html from "./html";
6
- import json from "./json";
7
- import jsonc from "./jsonc";
8
- import yml from "./yml";
1
+ import js from "./scopes/js";
2
+ import ts from "./scopes/ts";
3
+ import svelte from "./scopes/svelte";
4
+ import mocha from "./scopes/mocha";
5
+ import html from "./scopes/html";
6
+ import json from "./scopes/json";
7
+ import jsonc from "./scopes/jsonc";
8
+ import yml from "./scopes/yml";
9
9
 
10
10
  export default {
11
11
  js,
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1,19 @@
1
+ import js from "./scopes/js";
2
+ import ts from "./scopes/ts";
3
+ import svelte from "./scopes/svelte";
4
+ import mocha from "./scopes/mocha";
5
+ import html from "./scopes/html";
6
+ import json from "./scopes/json";
7
+ import jsonc from "./scopes/jsonc";
8
+ import yml from "./scopes/yml";
9
+
10
+ export default {
11
+ js,
12
+ ts,
13
+ svelte,
14
+ mocha,
15
+ html,
16
+ json,
17
+ jsonc,
18
+ yml,
19
+ };
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1 @@
1
+ export default ["**/*package-lock.json"];
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1 @@
1
+ export default [];
@@ -0,0 +1 @@
1
+ export default [];
package/src/index.ts CHANGED
@@ -1,7 +1,10 @@
1
1
  import type { Input } from "@eslinted/core";
2
2
  import core from "@eslinted/core";
3
3
  import imports from "./imports";
4
+ import settings from "./settings";
4
5
  import files from "./files";
6
+ import ignores from "./ignores";
7
+ import globalIgnores from "./ignores/global";
5
8
  import rules from "./rules";
6
9
 
7
10
  export default function (
@@ -13,10 +16,22 @@ export default function (
13
16
  {
14
17
  plugins: imports.plugins,
15
18
  parsers: imports.parsers,
19
+ settings,
20
+ globals: {
21
+ ignores: {
22
+ ignores: globalIgnores,
23
+ },
24
+ extend: {},
25
+
26
+ },
16
27
  files: {
17
28
  files,
18
29
  includes,
19
30
  },
31
+ ignores: {
32
+ ignores,
33
+ extend: {},
34
+ },
20
35
  rules: {
21
36
  rules,
22
37
  overrides,
@@ -0,0 +1,6 @@
1
+ export default {
2
+ noInlineConfig: true,
3
+ reportUnusedDisableDirectives: "error",
4
+ sourceType: "module",
5
+ ecmaVersion: 2023,
6
+ } as const;
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":";AAAA,wBAAgD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,8BAA8B,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,0CAA0C;CAC3C,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/files/json.ts"],"names":[],"mappings":";AAAA,wBAA6B"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/files/json.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,WAAW,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":";AAAA,wBAIE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;IAClB,oBAAoB;CACrB,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../src/files/mocha.ts"],"names":[],"mappings":";AAAA,wBAGE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../src/files/mocha.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const _default: string[];
2
- export default _default;
3
- //# sourceMappingURL=mochaJs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mochaJs.d.ts","sourceRoot":"","sources":["../../src/files/mochaJs.ts"],"names":[],"mappings":";AAAA,wBAGE"}
@@ -1,5 +0,0 @@
1
- export default [
2
- "**/*.{spec,test}.{c,m,}js",
3
- "**/test{s,}/**/*.{c,m,}js",
4
- ];
5
- //# sourceMappingURL=mochaJs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"mochaJs.js","sourceRoot":"","sources":["../../src/files/mochaJs.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":";AAAA,wBAAkD"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gCAAgC,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":";AAAA,wBAAiC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,eAAe,CAAC,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/files/yml.ts"],"names":[],"mappings":";AAAA,wBAAgC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/files/yml.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,cAAc,CAAC,CAAC"}
@@ -1,4 +0,0 @@
1
- export default [
2
- "**/*.{spec,test}.{c,m,}js",
3
- "**/test{s,}/**/*.{c,m,}js",
4
- ];
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes