@jimmy.codes/eslint-config 7.1.0 → 7.3.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/{astro-BI8oXYAa.mjs → astro-qFFNUM9D.mjs} +2 -2
- package/dist/globs.mjs +78 -1
- package/dist/index.d.mts +287 -235
- package/dist/index.mjs +20 -12
- package/dist/{jest-CmNjZKiP.mjs → jest-BYBtWryE.mjs} +2 -2
- package/dist/{nextjs-fAJgoLmK.mjs → nextjs-Q8LOBFAI.mjs} +3 -3
- package/dist/{playwright-BIcLWIGu.mjs → playwright-C7C5OcaE.mjs} +2 -2
- package/dist/{react-CLxvpMC1.mjs → react-BkGA0owG.mjs} +4 -4
- package/dist/{storybook-DgiiyOo_.mjs → storybook-vSHixqw5.mjs} +2 -2
- package/dist/{tanstack-query-B7uegJUc.mjs → tanstack-query-CJMINud2.mjs} +2 -2
- package/dist/{testing-library-DkaPPtoj.mjs → testing-library-DAOq7Q2E.mjs} +2 -2
- package/dist/{typescript-C3EaMK44.mjs → typescript-Cae66DX9.mjs} +2 -2
- package/dist/{vitest-CVJ533UC.mjs → vitest-CHcEa7vN.mjs} +2 -2
- package/package.json +19 -19
- package/dist/globs-Clb0IBKv.mjs +0 -80
- /package/dist/{has-dependency-qBWsE3wC.mjs → has-dependency-B4KAkcAy.mjs} +0 -0
- /package/dist/{interop-default-Bax7ywKG.mjs → interop-default-DtvCAAmD.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as extractOptions, t as interopDefault } from "./interop-default-
|
|
1
|
+
import { GLOB_ASTRO } from "./globs.mjs";
|
|
2
|
+
import { n as extractOptions, t as interopDefault } from "./interop-default-DtvCAAmD.mjs";
|
|
3
3
|
import globals from "globals";
|
|
4
4
|
|
|
5
5
|
//#region src/configs/astro.ts
|
package/dist/globs.mjs
CHANGED
|
@@ -1,3 +1,80 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/globs.ts
|
|
2
|
+
const GLOB_SRC_EXT = "?([cm])[jt]s?(x)";
|
|
3
|
+
const GLOB_TS_EXT = "?([cm])ts";
|
|
4
|
+
const GLOB_TSX_EXT = "?([cm])tsx";
|
|
5
|
+
const GLOB_JS = "**/*.?([cm])js";
|
|
6
|
+
const GLOB_JSX = "**/*.?([cm])jsx";
|
|
7
|
+
const GLOB_CJS = "**/*.cjs";
|
|
8
|
+
const GLOB_TS = `**/*.${GLOB_TS_EXT}`;
|
|
9
|
+
const GLOB_TSX = `**/*.${GLOB_TSX_EXT}`;
|
|
10
|
+
const GLOB_ASTRO = "**/*.astro";
|
|
11
|
+
const GLOB_TESTS = [
|
|
12
|
+
`**/__tests__/**/*.${GLOB_SRC_EXT}`,
|
|
13
|
+
`**/*.spec.${GLOB_SRC_EXT}`,
|
|
14
|
+
`**/*.test.${GLOB_SRC_EXT}`,
|
|
15
|
+
`**/*.bench.${GLOB_SRC_EXT}`,
|
|
16
|
+
`**/*.benchmark.${GLOB_SRC_EXT}`
|
|
17
|
+
];
|
|
18
|
+
const GLOB_TYPE_TESTS = [
|
|
19
|
+
`**/*.test-d.${GLOB_TS_EXT}`,
|
|
20
|
+
`**/*.test-d.${GLOB_TSX_EXT}`,
|
|
21
|
+
`**/*.spec-d.${GLOB_TS_EXT}`,
|
|
22
|
+
`**/*.spec-d.${GLOB_TSX_EXT}`
|
|
23
|
+
];
|
|
24
|
+
const GLOB_PLAYWRIGHT = [`**/e2e/**/*.spec.${GLOB_SRC_EXT}`, `**/e2e/**/*.test.${GLOB_SRC_EXT}`];
|
|
25
|
+
const GLOB_E2E = [
|
|
26
|
+
...GLOB_PLAYWRIGHT,
|
|
27
|
+
`**/cypress/**/*.spec.${GLOB_SRC_EXT}`,
|
|
28
|
+
`**/cypress/**/*.test.${GLOB_SRC_EXT}`
|
|
29
|
+
];
|
|
30
|
+
const GLOB_NEXTJS = [
|
|
31
|
+
GLOB_JS,
|
|
32
|
+
GLOB_JSX,
|
|
33
|
+
GLOB_TS,
|
|
34
|
+
GLOB_TSX
|
|
35
|
+
];
|
|
36
|
+
const GLOB_IGNORES = [
|
|
37
|
+
"**/node_modules",
|
|
38
|
+
"**/dist",
|
|
39
|
+
"**/package-lock.json",
|
|
40
|
+
"**/yarn.lock",
|
|
41
|
+
"**/pnpm-lock.yaml",
|
|
42
|
+
"**/bun.lockb",
|
|
43
|
+
"**/output",
|
|
44
|
+
"**/coverage",
|
|
45
|
+
"**/temp",
|
|
46
|
+
"**/.temp",
|
|
47
|
+
"**/tmp",
|
|
48
|
+
"**/.tmp",
|
|
49
|
+
"**/.history",
|
|
50
|
+
"**/.vitepress/cache",
|
|
51
|
+
"**/.nuxt",
|
|
52
|
+
"**/.next",
|
|
53
|
+
"**/.vercel",
|
|
54
|
+
"**/.changeset",
|
|
55
|
+
"**/.idea",
|
|
56
|
+
"**/.cache",
|
|
57
|
+
"**/.output",
|
|
58
|
+
"**/.vite-inspect",
|
|
59
|
+
"**/.yarn",
|
|
60
|
+
"**/storybook-static",
|
|
61
|
+
"**/.eslint-config-inspector",
|
|
62
|
+
"**/playwright-report",
|
|
63
|
+
"**/.astro",
|
|
64
|
+
"**/.vinxi",
|
|
65
|
+
"**/app.config.timestamp_*.js",
|
|
66
|
+
"**/.tanstack",
|
|
67
|
+
"**/.nitro",
|
|
68
|
+
"**/CHANGELOG*.md",
|
|
69
|
+
"**/*.min.*",
|
|
70
|
+
"**/LICENSE*",
|
|
71
|
+
"**/__snapshots__",
|
|
72
|
+
"**/auto-import?(s).d.ts",
|
|
73
|
+
"**/components.d.ts",
|
|
74
|
+
"**/vite.config.ts.*.mjs",
|
|
75
|
+
"**/*.gen.*",
|
|
76
|
+
"!.storybook"
|
|
77
|
+
];
|
|
2
78
|
|
|
79
|
+
//#endregion
|
|
3
80
|
export { GLOB_ASTRO, GLOB_CJS, GLOB_E2E, GLOB_IGNORES, GLOB_JS, GLOB_JSX, GLOB_NEXTJS, GLOB_PLAYWRIGHT, GLOB_TESTS, GLOB_TS, GLOB_TSX, GLOB_TYPE_TESTS };
|