linted 30.19.2 → 31.0.0

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.
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  import Core from "@eslinted/core";
2
- export default function (extensions?: Parameters<typeof Core>[0]["configuration"]["extensions"], optional?: Parameters<typeof Core>[0]["imports"]["optional"], ...attachments: Parameters<typeof Core>[0]["configuration"]["attachments"]): unknown[];
2
+ export default function (extensions?: Parameters<typeof Core>[0]["configuration"]["extensions"], ...attachments: Parameters<typeof Core>[0]["configuration"]["attachments"]): unknown[];
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,IAAI,MAAM,gBAAgB,CAAC;AAOlC,MAAM,CAAC,OAAO,WACZ,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,YAAY,CAAM,EAC1E,QAAQ,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,UAAU,CAAM,EAChE,GAAG,WAAW,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,aAwB3E"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAOlC,MAAM,CAAC,OAAO,WACZ,UAAU,GAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,YAAY,CAAM,EAC1E,GAAG,WAAW,EAAE,UAAU,CAAC,OAAO,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,aAqB3E"}
package/dist/index.js CHANGED
@@ -1,13 +1,10 @@
1
1
  import Core from "@eslinted/core";
2
2
  import { settings, defaults, } from "@eslinted/defaults";
3
- import * as required from "./imports/index.js";
4
- export default function (extensions = {}, optional = {}, ...attachments) {
3
+ import * as imports from "./imports/index.js";
4
+ export default function (extensions = {}, ...attachments) {
5
5
  try {
6
6
  return Core({
7
- imports: {
8
- required,
9
- optional,
10
- },
7
+ imports,
11
8
  configuration: {
12
9
  settings,
13
10
  defaults,
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,QAAQ,MAAM,WAAW,CAAC;AAEtC,MAAM,CAAC,OAAO,WACZ,aAAwE,EAAE,EAC1E,WAA8D,EAAE,EAChE,GAAG,WAAuE;IAE1E,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE;gBACP,QAAQ;gBACR,QAAQ;aACT;YACD,aAAa,EAAE;gBACb,QAAQ;gBACR,QAAQ;gBACR,UAAU;gBACV,WAAW;aACZ;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,UAAU,EACV,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,EACL,QAAQ,EACR,QAAQ,GACT,MAAM,oBAAoB,CAAC;AAC5B,OAAO,KAAK,OAAO,MAAM,WAAW,CAAC;AAErC,MAAM,CAAC,OAAO,WACZ,aAAwE,EAAE,EAC1E,GAAG,WAAuE;IAE1E,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO;YACP,aAAa,EAAE;gBACb,QAAQ;gBACR,QAAQ;gBACR,UAAU;gBACV,WAAW;aACZ;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QACT,MAAM,IAAI,KAAK,CACb,UAAU,EACV,EAAE,KAAK,EAAE,CAAC,EAAE,CACb,CAAC;IACJ,CAAC;AACH,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": "linted",
6
- "version": "30.19.2",
6
+ "version": "31.0.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted",
8
8
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
9
9
  "keywords": [
@@ -53,8 +53,8 @@
53
53
  "dependencies": {
54
54
  "@eslint/css": "0.11.0",
55
55
  "@eslint/json": "0.13.2",
56
- "@eslinted/core": "23.1.4",
57
- "@eslinted/defaults": "12.17.2",
56
+ "@eslinted/core": "24.0.0",
57
+ "@eslinted/defaults": "12.17.3",
58
58
  "@html-eslint/eslint-plugin": "0.46.2",
59
59
  "@stylistic/eslint-plugin": "5.3.1",
60
60
  "eslint-plugin-chai-expect": "3.1.0",
package/src/index.ts CHANGED
@@ -3,20 +3,16 @@ import {
3
3
  settings,
4
4
  defaults,
5
5
  } from "@eslinted/defaults";
6
- import * as required from "./imports";
6
+ import * as imports from "./imports";
7
7
 
8
8
  export default function (
9
9
  extensions: Parameters<typeof Core>[0]["configuration"]["extensions"] = {},
10
- optional: Parameters<typeof Core>[0]["imports"]["optional"] = {},
11
10
  ...attachments: Parameters<typeof Core>[0]["configuration"]["attachments"]
12
11
  ) {
13
12
  try {
14
13
  return Core(
15
14
  {
16
- imports: {
17
- required,
18
- optional,
19
- },
15
+ imports,
20
16
  configuration: {
21
17
  settings,
22
18
  defaults,