@mlaursen/eslint-config 9.0.2 → 9.0.3
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 +18 -18
- package/package.json +11 -10
package/dist/index.d.ts
CHANGED
|
@@ -3,36 +3,36 @@ import { gitignore } from "./gitignore.js";
|
|
|
3
3
|
export * from "./constants.js";
|
|
4
4
|
export { defineConfig, gitignore };
|
|
5
5
|
export declare const configs: {
|
|
6
|
-
readonly base: import("eslint").Linter.Config<import("eslint").
|
|
7
|
-
readonly jest: import("eslint").Linter.Config<import("eslint").
|
|
8
|
-
readonly jestDom: import("eslint").Linter.Config<import("eslint").
|
|
9
|
-
readonly react: import("eslint").Linter.Config<import("eslint").
|
|
10
|
-
readonly typescript: import("eslint").Linter.Config<import("eslint").
|
|
6
|
+
readonly base: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
7
|
+
readonly jest: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
8
|
+
readonly jestDom: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
9
|
+
readonly react: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
10
|
+
readonly typescript: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
11
11
|
readonly typescriptTypeChecking: (tsconfigRootDir: string) => import("eslint").Linter.Config[];
|
|
12
|
-
readonly testingLibraryDom: import("eslint").Linter.Config<import("eslint").
|
|
13
|
-
readonly testingLibraryReact: import("eslint").Linter.Config<import("eslint").
|
|
12
|
+
readonly testingLibraryDom: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
13
|
+
readonly testingLibraryReact: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
14
14
|
readonly frontend: (testFramework: import("./testing.js").TestFramework) => import("eslint").Linter.Config[];
|
|
15
15
|
readonly frontendTypeChecking: (tsconfigRootDir: string, testFramework: import("./testing.js").TestFramework) => import("eslint").Linter.Config[];
|
|
16
|
-
readonly jsxA11y: import("eslint").Linter.Config<import("eslint").
|
|
16
|
+
readonly jsxA11y: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
17
17
|
readonly testing: (framework: import("./testing.js").TestFramework) => import("eslint").Linter.Config[];
|
|
18
|
-
readonly vitest: import("eslint").Linter.Config<import("eslint").
|
|
18
|
+
readonly vitest: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
19
19
|
};
|
|
20
20
|
declare const _default: {
|
|
21
21
|
defineConfig: typeof defineConfig;
|
|
22
22
|
configs: {
|
|
23
|
-
readonly base: import("eslint").Linter.Config<import("eslint").
|
|
24
|
-
readonly jest: import("eslint").Linter.Config<import("eslint").
|
|
25
|
-
readonly jestDom: import("eslint").Linter.Config<import("eslint").
|
|
26
|
-
readonly react: import("eslint").Linter.Config<import("eslint").
|
|
27
|
-
readonly typescript: import("eslint").Linter.Config<import("eslint").
|
|
23
|
+
readonly base: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
24
|
+
readonly jest: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
25
|
+
readonly jestDom: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
26
|
+
readonly react: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
27
|
+
readonly typescript: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
28
28
|
readonly typescriptTypeChecking: (tsconfigRootDir: string) => import("eslint").Linter.Config[];
|
|
29
|
-
readonly testingLibraryDom: import("eslint").Linter.Config<import("eslint").
|
|
30
|
-
readonly testingLibraryReact: import("eslint").Linter.Config<import("eslint").
|
|
29
|
+
readonly testingLibraryDom: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
30
|
+
readonly testingLibraryReact: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
31
31
|
readonly frontend: (testFramework: import("./testing.js").TestFramework) => import("eslint").Linter.Config[];
|
|
32
32
|
readonly frontendTypeChecking: (tsconfigRootDir: string, testFramework: import("./testing.js").TestFramework) => import("eslint").Linter.Config[];
|
|
33
|
-
readonly jsxA11y: import("eslint").Linter.Config<import("eslint").
|
|
33
|
+
readonly jsxA11y: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
34
34
|
readonly testing: (framework: import("./testing.js").TestFramework) => import("eslint").Linter.Config[];
|
|
35
|
-
readonly vitest: import("eslint").Linter.Config<import("eslint").
|
|
35
|
+
readonly vitest: import("eslint").Linter.Config<import("@eslint/core", { with: { "resolution-mode": "require" } }).RulesConfig>[];
|
|
36
36
|
};
|
|
37
37
|
gitignore: typeof gitignore;
|
|
38
38
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mlaursen/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "9.0.
|
|
4
|
+
"version": "9.0.3",
|
|
5
5
|
"description": "An eslint config used by mlaursen for most projects.",
|
|
6
6
|
"repository": "https://github.com/mlaursen/eslint-config.git",
|
|
7
7
|
"author": "Mikkel Laursen <mlaursen03@gmail.com>",
|
|
@@ -22,18 +22,19 @@
|
|
|
22
22
|
],
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@eslint/compat": "^1.4.0",
|
|
25
|
-
"@eslint/
|
|
26
|
-
"@
|
|
27
|
-
"@
|
|
28
|
-
"@
|
|
29
|
-
"eslint": "^
|
|
25
|
+
"@eslint/core": "^0.16.0",
|
|
26
|
+
"@eslint/js": "^9.38.0",
|
|
27
|
+
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
28
|
+
"@typescript-eslint/utils": "^8.46.1",
|
|
29
|
+
"@vitest/eslint-plugin": "^1.3.23",
|
|
30
|
+
"eslint": "^9.38.0",
|
|
30
31
|
"eslint-plugin-jest": "^29.0.1",
|
|
31
32
|
"eslint-plugin-jest-dom": "^5.5.0",
|
|
32
33
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
33
34
|
"eslint-plugin-react": "^7.37.5",
|
|
34
35
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
35
|
-
"eslint-plugin-testing-library": "^7.
|
|
36
|
-
"typescript-eslint": "^8.
|
|
36
|
+
"eslint-plugin-testing-library": "^7.13.3",
|
|
37
|
+
"typescript-eslint": "^8.46.1"
|
|
37
38
|
},
|
|
38
39
|
"devDependencies": {
|
|
39
40
|
"@changesets/cli": "^2.29.7",
|
|
@@ -66,8 +67,8 @@
|
|
|
66
67
|
]
|
|
67
68
|
},
|
|
68
69
|
"volta": {
|
|
69
|
-
"node": "22.
|
|
70
|
-
"pnpm": "10.
|
|
70
|
+
"node": "22.20.0",
|
|
71
|
+
"pnpm": "10.18.3"
|
|
71
72
|
},
|
|
72
73
|
"scripts": {
|
|
73
74
|
"lint": "eslint .",
|