linted 17.0.0-rc.4 → 17.0.0-rc.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAM3C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAa,EACxC,SAAS,GAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAc,mCAW3C"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC;AAM3C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAa,EACxC,SAAS,GAAE,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,SAAc,mCAa3C"}
package/dist/index.js CHANGED
@@ -4,7 +4,12 @@ import files from "./files/index.js";
4
4
  import rules from "./rules/index.js";
5
5
  export default function (includes = {}, overrides = {}) {
6
6
  try {
7
- return core(imports.plugins, imports.parsers, { files, includes }, { rules, overrides });
7
+ return core({
8
+ plugins: imports.plugins,
9
+ parsers: imports.parsers,
10
+ files: { files, includes },
11
+ rules: { rules, overrides },
12
+ });
8
13
  }
9
14
  catch (e) {
10
15
  throw new Error(`linted(): `, { cause: e });
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,WAAsC,EAAE,EACxC,YAAwC,EAAE;IAE1C,IAAI,CAAC;QACH,OAAO,IAAI,CACT,OAAO,CAAC,OAAO,EACf,OAAO,CAAC,OAAO,EACf,EAAE,KAAK,EAAE,QAAQ,EAAE,EACnB,EAAE,KAAK,EAAE,SAAS,EAAE,CACrB,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,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAsC,EAAE,EACxC,YAAwC,EAAE;IAE1C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE,EAAE,KAAK,EAAE,QAAQ,EAAE;YAC1B,KAAK,EAAE,EAAE,KAAK,EAAE,SAAS,EAAE;SAC5B,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": "20.18.0",
3
3
  "name": "linted",
4
- "version": "17.0.0-rc.4",
4
+ "version": "17.0.0-rc.5",
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",
@@ -57,7 +57,7 @@
57
57
  }
58
58
  },
59
59
  "dependencies": {
60
- "@eslinted/core": "5.0.0-rc.4",
60
+ "@eslinted/core": "5.0.0-rc.5",
61
61
  "@html-eslint/eslint-plugin": "0.27.0",
62
62
  "@html-eslint/parser": "0.27.0",
63
63
  "@stylistic/eslint-plugin": "2.9.0",
package/src/index.ts CHANGED
@@ -10,10 +10,12 @@ export default function (
10
10
  ) {
11
11
  try {
12
12
  return core(
13
- imports.plugins,
14
- imports.parsers,
15
- { files, includes },
16
- { rules, overrides },
13
+ {
14
+ plugins: imports.plugins,
15
+ parsers: imports.parsers,
16
+ files: { files, includes },
17
+ rules: { rules, overrides },
18
+ },
17
19
  );
18
20
  }
19
21
  catch (e) { throw new Error(`linted(): `, { cause: e }); }