linted 16.12.5 → 16.13.0-rc.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["src/**/*.html"];
1
+ declare const _default: readonly ["{src, tests, static}/**/*.html"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=html.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":";AAAA,wBAA0C"}
1
+ {"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":";AAAA,wBAA2D"}
@@ -1,2 +1,2 @@
1
- export default ["src/**/*.html"];
1
+ export default ["{src, tests, static}/**/*.html"];
2
2
  //# sourceMappingURL=html.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,eAAe,CAAU,CAAC"}
1
+ {"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gCAAgC,CAAU,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["**/*.config.js"];
1
+ declare const _default: readonly ["*.config.{c, m, }js", "{src, tests, static}/**/*.{c, m, }js"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=js.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":";AAAA,wBAA2C"}
1
+ {"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":";AAAA,wBAGW"}
package/dist/files/js.js CHANGED
@@ -1,2 +1,5 @@
1
- export default ["**/*.config.js"];
1
+ export default [
2
+ "*.config.{c, m, }js",
3
+ "{src, tests, static}/**/*.{c, m, }js",
4
+ ];
2
5
  //# sourceMappingURL=js.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gBAAgB,CAAU,CAAC"}
1
+ {"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,qBAAqB;IACrB,sCAAsC;CAC9B,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["**/*.jsonc", "**/tsconfig.json"];
1
+ declare const _default: readonly ["*.jsonc", "tsconfig.json", "{src, tests, static}/**/*.jsonc", "{src, tests, static}/**/tsconfig.json"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=jsonc.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":";AAAA,wBAGW"}
1
+ {"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":";AAAA,wBAKW"}
@@ -1,5 +1,7 @@
1
1
  export default [
2
- "**/*.jsonc",
3
- "**/tsconfig.json",
2
+ "*.jsonc",
3
+ "tsconfig.json",
4
+ "{src, tests, static}/**/*.jsonc",
5
+ "{src, tests, static}/**/tsconfig.json",
4
6
  ];
5
7
  //# sourceMappingURL=jsonc.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;CACV,CAAC"}
1
+ {"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,SAAS;IACT,eAAe;IACf,iCAAiC;IACjC,uCAAuC;CAC/B,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["src/**/*.svelte"];
1
+ declare const _default: readonly ["{src, tests, static}/**/*.svelte"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=svelte.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":";AAAA,wBAA4C"}
1
+ {"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":";AAAA,wBAA6D"}
@@ -1,2 +1,2 @@
1
- export default ["src/**/*.svelte"];
1
+ export default ["{src, tests, static}/**/*.svelte"];
2
2
  //# sourceMappingURL=svelte.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,iBAAiB,CAAU,CAAC"}
1
+ {"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,kCAAkC,CAAU,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["**/*.config.ts", "src/**/*.ts", "types/**/*.d.ts"];
1
+ declare const _default: readonly ["*.config.ts", "{src, tests, static, typings}/**/*.ts"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=ts.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":";AAAA,wBAIW"}
1
+ {"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":";AAAA,wBAGW"}
package/dist/files/ts.js CHANGED
@@ -1,6 +1,5 @@
1
1
  export default [
2
- "**/*.config.ts",
3
- "src/**/*.ts",
4
- "types/**/*.d.ts",
2
+ "*.config.ts",
3
+ "{src, tests, static, typings}/**/*.ts",
5
4
  ];
6
5
  //# sourceMappingURL=ts.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,gBAAgB;IAChB,aAAa;IACb,iBAAiB;CACT,CAAC"}
1
+ {"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,aAAa;IACb,uCAAuC;CAC/B,CAAC"}
@@ -1,3 +1,3 @@
1
- declare const _default: readonly ["**/*.yml", "**/*.yaml", ".github/workflows/*.yml"];
1
+ declare const _default: readonly ["*.y{a, }ml", ".github/**/*.yml", "{.github, src, tests, static}/**/*.y{a}ml"];
2
2
  export default _default;
3
3
  //# sourceMappingURL=yml.d.ts.map
package/dist/files/yml.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export default [
2
- "**/*.yml",
3
- "**/*.yaml",
4
- ".github/workflows/*.yml",
2
+ "*.y{a, }ml",
3
+ ".github/**/*.yml",
4
+ "{.github, src, tests, static}/**/*.y{a}ml",
5
5
  ];
6
6
  //# sourceMappingURL=yml.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/files/yml.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,UAAU;IACV,WAAW;IACX,yBAAyB;CACjB,CAAC"}
1
+ {"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/files/yml.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;IAClB,2CAA2C;CACnC,CAAC"}
package/dist/files.d.ts CHANGED
@@ -1,12 +1,12 @@
1
1
  declare const _default: {
2
- readonly js: readonly ["**/*.config.js"];
3
- readonly ts: readonly ["**/*.config.ts", "src/**/*.ts", "types/**/*.d.ts"];
4
- readonly svelte: readonly ["src/**/*.svelte"];
2
+ readonly js: readonly ["*.config.{c, m, }js", "{src, tests, static}/**/*.{c, m, }js"];
3
+ readonly ts: readonly ["*.config.ts", "{src, tests, static, typings}/**/*.ts"];
4
+ readonly svelte: readonly ["{src, tests, static}/**/*.svelte"];
5
5
  readonly mocha: readonly [];
6
- readonly html: readonly ["src/**/*.html"];
6
+ readonly html: readonly ["{src, tests, static}/**/*.html"];
7
7
  readonly json: readonly ["**/*.json"];
8
- readonly jsonc: readonly ["**/*.jsonc", "**/tsconfig.json"];
9
- readonly yml: readonly ["**/*.yml", "**/*.yaml", ".github/workflows/*.yml"];
8
+ readonly jsonc: readonly ["*.jsonc", "tsconfig.json", "{src, tests, static}/**/*.jsonc", "{src, tests, static}/**/tsconfig.json"];
9
+ readonly yml: readonly ["*.y{a, }ml", ".github/**/*.yml", "{.github, src, tests, static}/**/*.y{a}ml"];
10
10
  readonly md: readonly [];
11
11
  };
12
12
  export default _default;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "20.17.8",
3
3
  "name": "linted",
4
- "version": "16.12.5",
4
+ "version": "16.13.0-rc.0",
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",
@@ -71,11 +71,13 @@
71
71
  "devDependencies": {
72
72
  "@eslint/config-inspector": "^0.5.4",
73
73
  "npm-run-all": "^4.1.5",
74
+ "ts-add-js-extension": "^1.6.4",
74
75
  "typescript": "^5.6.3"
75
76
  },
76
77
  "scripts": {
77
78
  "build": "run-s \"build:{1}:*\" lint:built -- ts",
78
79
  "build:ts:compile": "tsc",
80
+ "build:ts:fix": "ts-add-js-extension --dir=dist",
79
81
  "build:svelte:sync": "svelte-kit sync",
80
82
  "build:svelte:check": "svelte-check --tsconfig ./tsconfig.json",
81
83
  "build:svelte:compile": "vite build",
package/src/files/html.ts CHANGED
@@ -1 +1 @@
1
- export default ["src/**/*.html"] as const;
1
+ export default ["{src, tests, static}/**/*.html"] as const;
package/src/files/js.ts CHANGED
@@ -1 +1,4 @@
1
- export default ["**/*.config.js"] as const;
1
+ export default [
2
+ "*.config.{c, m, }js",
3
+ "{src, tests, static}/**/*.{c, m, }js",
4
+ ] as const;
@@ -1,4 +1,6 @@
1
1
  export default [
2
- "**/*.jsonc",
3
- "**/tsconfig.json",
2
+ "*.jsonc",
3
+ "tsconfig.json",
4
+ "{src, tests, static}/**/*.jsonc",
5
+ "{src, tests, static}/**/tsconfig.json",
4
6
  ] as const;
@@ -1 +1 @@
1
- export default ["src/**/*.svelte"] as const;
1
+ export default ["{src, tests, static}/**/*.svelte"] as const;
package/src/files/ts.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  export default [
2
- "**/*.config.ts",
3
- "src/**/*.ts",
4
- "types/**/*.d.ts",
2
+ "*.config.ts",
3
+ "{src, tests, static, typings}/**/*.ts",
5
4
  ] as const;
package/src/files/yml.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export default [
2
- "**/*.yml",
3
- "**/*.yaml",
4
- ".github/workflows/*.yml",
2
+ "*.y{a, }ml",
3
+ ".github/**/*.yml",
4
+ "{.github, src, tests, static}/**/*.y{a}ml",
5
5
  ] as const;
package/tsconfig.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "display": "@jimbojet/tsc",
3
3
  "$schema": "https://json.schemastore.org/tsconfig",
4
- "_version": "5.5.10",
4
+ "_version": "5.6.0",
5
5
  "include": [
6
6
  "*.config.ts",
7
7
  "src/**/*.ts",
8
- "types/**/*.d.ts",
9
- ] /* @OVERRIDE */,
8
+ "tests/**/*.ts",
9
+ "typings/**/*.d.ts",
10
+ ],
10
11
  "exclude": [],
11
12
  "compilerOptions": {
12
13
  /* http://aka.ms/tsconfig#quick-nav-Top%20Level */
File without changes
File without changes
File without changes