linted 22.0.0-rc.1 → 22.0.0-rc.3

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
@@ -1,10 +1,10 @@
1
1
  import core from "@eslinted/core";
2
- import { settings } from "./settings/index.js";
2
+ import { settings } from "./settings.js";
3
3
  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"}
@@ -4,4 +4,4 @@ export declare const settings: {
4
4
  readonly noInlineConfig: true;
5
5
  readonly reportUnusedDisableDirectives: "error";
6
6
  };
7
- //# sourceMappingURL=index.d.ts.map
7
+ //# sourceMappingURL=settings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC"}
@@ -4,4 +4,4 @@ export const settings = {
4
4
  noInlineConfig: true,
5
5
  reportUnusedDisableDirectives: "error",
6
6
  };
7
- //# sourceMappingURL=index.js.map
7
+ //# sourceMappingURL=settings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"settings.js","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;CAC9B,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.3",
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",
@@ -47,7 +47,7 @@
47
47
  "peerDependencies": {
48
48
  "eslint": "~9.14.0",
49
49
  "mocha": "^10.8.2",
50
- "svelte": "^5.1.15",
50
+ "svelte": "^5.1.16",
51
51
  "typescript": ">=5.6.3"
52
52
  },
53
53
  "peerDependenciesMeta": {
@@ -62,7 +62,7 @@
62
62
  }
63
63
  },
64
64
  "dependencies": {
65
- "@eslinted/core": "13.0.0-rc.1",
65
+ "@eslinted/core": "13.0.0",
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",
@@ -73,7 +73,7 @@
73
73
  "eslint-plugin-svelte": "2.46.0",
74
74
  "eslint-plugin-yml": "1.15.0",
75
75
  "jsonc-eslint-parser": "2.4.0",
76
- "svelte": "^5.1.15",
76
+ "svelte": "^5.1.16",
77
77
  "svelte-eslint-parser": "0.43.0",
78
78
  "yaml-eslint-parser": "1.2.3"
79
79
  },
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
  {
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ;;;;;CAKX,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,QAAQ,GAAG;IACtB,WAAW,EAAE,IAAI;IACjB,UAAU,EAAE,QAAQ;IACpB,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;CAC9B,CAAC"}
File without changes