@jimmy.codes/eslint-config 6.24.0 → 6.24.1
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.
|
@@ -5,8 +5,8 @@ import globals from "globals";
|
|
|
5
5
|
//#region src/configs/astro.ts
|
|
6
6
|
async function astroConfig() {
|
|
7
7
|
const files = [GLOB_ASTRO];
|
|
8
|
-
const
|
|
9
|
-
|
|
8
|
+
const [tsPlugin, astroPlugin, astroParser, jsxA11yPlugin] = await Promise.all([
|
|
9
|
+
import("typescript-eslint"),
|
|
10
10
|
import("eslint-plugin-astro"),
|
|
11
11
|
import("astro-eslint-parser"),
|
|
12
12
|
interopDefault(import("eslint-plugin-jsx-a11y"))
|
|
@@ -23,7 +23,7 @@ async function astroConfig() {
|
|
|
23
23
|
parser: astroParser,
|
|
24
24
|
parserOptions: {
|
|
25
25
|
extraFileExtensions: [".astro"],
|
|
26
|
-
parser:
|
|
26
|
+
parser: tsPlugin.parser
|
|
27
27
|
},
|
|
28
28
|
sourceType: "module"
|
|
29
29
|
},
|
|
@@ -55,7 +55,7 @@ async function astroConfig() {
|
|
|
55
55
|
projectService: false
|
|
56
56
|
} },
|
|
57
57
|
name: "jimmy.codes/astro/disable-type-checked",
|
|
58
|
-
rules:
|
|
58
|
+
rules: tsPlugin.configs.disableTypeChecked.rules
|
|
59
59
|
},
|
|
60
60
|
{
|
|
61
61
|
name: "jimmy.codes/astro/imports",
|
package/dist/index.d.mts
CHANGED
|
@@ -14053,6 +14053,7 @@ type PerfectionistSortVariableDeclarations = [] | [{
|
|
|
14053
14053
|
// ----- playwright/expect-expect -----
|
|
14054
14054
|
type PlaywrightExpectExpect = [] | [{
|
|
14055
14055
|
assertFunctionNames?: [] | [string];
|
|
14056
|
+
assertFunctionPatterns?: [] | [string];
|
|
14056
14057
|
}];
|
|
14057
14058
|
// ----- playwright/max-expects -----
|
|
14058
14059
|
type PlaywrightMaxExpects = [] | [{
|
package/dist/index.mjs
CHANGED
|
@@ -507,7 +507,7 @@ const defineConfig = async ({ astro = false, autoDetect = true, gitignore = fals
|
|
|
507
507
|
isTypescriptEnabled && unwrap(import("./typescript-1X7EkO5M.mjs"), typescript),
|
|
508
508
|
isReactEnabled && unwrap(import("./react-DY8zODCu.mjs")),
|
|
509
509
|
isTanstackQueryEnabled && unwrap(import("./tanstack-query-DG6a41GH.mjs")),
|
|
510
|
-
isAstroEnabled && unwrap(import("./astro-
|
|
510
|
+
isAstroEnabled && unwrap(import("./astro-BBEJB2KF.mjs")),
|
|
511
511
|
isJestEnabled && unwrap(import("./jest-DgTHyrfz.mjs")),
|
|
512
512
|
isVitestEnabled && unwrap(import("./vitest-YdRMuvTR.mjs"), vitest),
|
|
513
513
|
isTestingLibraryEnabled && unwrap(import("./testing-library-oE675dT3.mjs")),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jimmy.codes/eslint-config",
|
|
3
|
-
"version": "6.24.
|
|
3
|
+
"version": "6.24.1",
|
|
4
4
|
"description": "A simple, modern ESLint config that covers most use cases.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@eslint-community/eslint-plugin-eslint-comments": "^4.5.0",
|
|
43
43
|
"@eslint/js": "^9.39.1",
|
|
44
|
-
"@next/eslint-plugin-next": "^16.0.
|
|
44
|
+
"@next/eslint-plugin-next": "^16.0.6",
|
|
45
45
|
"@stylistic/eslint-plugin": "^5.6.1",
|
|
46
46
|
"@tanstack/eslint-plugin-query": "^5.91.2",
|
|
47
47
|
"@types/eslint": "9.6.1",
|
|
48
48
|
"@typescript-eslint/parser": "^8.48.0",
|
|
49
49
|
"@typescript-eslint/utils": "^8.48.0",
|
|
50
|
-
"@vitest/eslint-plugin": "^1.5.
|
|
50
|
+
"@vitest/eslint-plugin": "^1.5.1",
|
|
51
51
|
"astro-eslint-parser": "^1.2.2",
|
|
52
52
|
"eslint-config-flat-gitignore": "^2.1.0",
|
|
53
53
|
"eslint-config-prettier": "^10.1.8",
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
63
63
|
"eslint-plugin-n": "^17.23.1",
|
|
64
64
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
65
|
-
"eslint-plugin-playwright": "^2.
|
|
65
|
+
"eslint-plugin-playwright": "^2.4.0",
|
|
66
66
|
"eslint-plugin-react-compiler": "19.1.0-rc.2",
|
|
67
67
|
"eslint-plugin-react-dom": "^2.3.9",
|
|
68
68
|
"eslint-plugin-react-hooks": "^7.0.1",
|