linted 22.0.0-rc.1 → 22.0.0-rc.2

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import type { Input } from "@eslinted/core";
2
- export default function (extensions: Input["extensions"]): import("@eslinted/core").Output;
2
+ export default function (extensions?: Input["extensions"]): import("@eslinted/core").Output;
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;AAQ5C,MAAM,CAAC,OAAO,WAAW,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,mCAgBvD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAQ5C,MAAM,CAAC,OAAO,WAAW,UAAU,GAAE,KAAK,CAAC,YAAY,CAAM,mCAgB5D"}
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ import imports from "./imports/index.js";
4
4
  import files from "./files/index.js";
5
5
  import ignores from "./ignores/index.js";
6
6
  import rules from "./rules/index.js";
7
- export default function (extensions) {
7
+ export default function (extensions = {}) {
8
8
  try {
9
9
  return core({
10
10
  imports,
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,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WAAW,UAA+B;IACtD,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO;YACP,QAAQ,EAAE;gBACR,QAAQ;gBACR,KAAK;gBACL,OAAO;gBACP,KAAK;aACN;YACD,UAAU;SACX,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,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WAAW,aAAkC,EAAE;IAC3D,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO;YACP,QAAQ,EAAE;gBACR,QAAQ;gBACR,KAAK;gBACL,OAAO;gBACP,KAAK;aACN;YACD,UAAU;SACX,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"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "linted",
4
- "version": "22.0.0-rc.1",
4
+ "version": "22.0.0-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",
package/src/index.ts CHANGED
@@ -6,7 +6,7 @@ import files from "./files";
6
6
  import ignores from "./ignores";
7
7
  import rules from "./rules";
8
8
 
9
- export default function (extensions: Input["extensions"]) {
9
+ export default function (extensions: Input["extensions"] = {}) {
10
10
  try {
11
11
  return core(
12
12
  {