@jpp-toolkit/eslint-config 0.0.111 → 0.0.112
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jpp-toolkit/eslint-config",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.112",
|
|
4
4
|
"description": "ESLint configurations for JS/TS projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jpp",
|
|
@@ -31,33 +31,32 @@
|
|
|
31
31
|
"src"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@eslint/
|
|
35
|
-
"@eslint/js": "9.39.4",
|
|
34
|
+
"@eslint/js": "10.0.1",
|
|
36
35
|
"@stylistic/eslint-plugin": "5.10.0",
|
|
37
36
|
"@types/eslint-plugin-jsx-a11y": "6.10.1",
|
|
38
37
|
"@vitest/eslint-plugin": "1.6.17",
|
|
39
38
|
"eslint-config-prettier": "10.1.8",
|
|
40
39
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
41
|
-
"eslint-plugin-import-x": "4.16.
|
|
40
|
+
"eslint-plugin-import-x": "4.16.2",
|
|
42
41
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
43
42
|
"eslint-plugin-perfectionist": "5.9.0",
|
|
44
43
|
"eslint-plugin-prettier": "5.5.5",
|
|
45
44
|
"eslint-plugin-react": "7.37.5",
|
|
46
45
|
"eslint-plugin-react-hooks": "7.1.1",
|
|
47
|
-
"eslint-plugin-unicorn": "
|
|
46
|
+
"eslint-plugin-unicorn": "64.0.0",
|
|
48
47
|
"globals": "17.6.0",
|
|
49
48
|
"typescript-eslint": "8.59.3",
|
|
50
|
-
"@jpp-toolkit/utils": "0.0.
|
|
49
|
+
"@jpp-toolkit/utils": "0.0.38"
|
|
51
50
|
},
|
|
52
51
|
"devDependencies": {
|
|
53
|
-
"eslint": "
|
|
52
|
+
"eslint": "10.4.0"
|
|
54
53
|
},
|
|
55
54
|
"peerDependencies": {
|
|
56
|
-
"eslint": "
|
|
55
|
+
"eslint": "10"
|
|
57
56
|
},
|
|
58
57
|
"engines": {
|
|
59
58
|
"node": "24",
|
|
60
|
-
"pnpm": "
|
|
59
|
+
"pnpm": "11"
|
|
61
60
|
},
|
|
62
61
|
"volta": {
|
|
63
62
|
"extends": "../../package.json"
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { includeIgnoreFile } from '@eslint/compat';
|
|
2
1
|
import { findGitIgnore } from '@jpp-toolkit/utils';
|
|
3
|
-
import { defineConfig } from 'eslint/config';
|
|
2
|
+
import { defineConfig, includeIgnoreFile } from 'eslint/config';
|
|
4
3
|
|
|
5
4
|
/**
|
|
6
5
|
* Generates an ESLint configuration that ignores files based on the project's .gitignore.
|
|
@@ -9,7 +9,6 @@ import { defineConfig } from 'eslint/config';
|
|
|
9
9
|
export const importXConfig = defineConfig([
|
|
10
10
|
{
|
|
11
11
|
name: 'import-x-config',
|
|
12
|
-
// @ts-expect-error - import-x flatConfigs is wrongly typed
|
|
13
12
|
extends: [importX.flatConfigs.recommended],
|
|
14
13
|
settings: {
|
|
15
14
|
'import-x/resolver-next': [createNodeResolver()],
|
|
@@ -51,7 +50,7 @@ export const importXConfig = defineConfig([
|
|
|
51
50
|
* Forbid modules without exports, or exports without matching import in another module.
|
|
52
51
|
* @see {@link https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/no-unused-modules.md}
|
|
53
52
|
*/
|
|
54
|
-
'import-x/no-unused-modules': '
|
|
53
|
+
'import-x/no-unused-modules': 'off',
|
|
55
54
|
|
|
56
55
|
/**
|
|
57
56
|
* Forbid AMD require and define calls.
|
|
@@ -335,7 +334,6 @@ export const importXConfig = defineConfig([
|
|
|
335
334
|
{
|
|
336
335
|
name: 'import-x-config-typescript',
|
|
337
336
|
files: ['**/*.{ts,tsx}'],
|
|
338
|
-
// @ts-expect-error - import-x flatConfigs is wrongly typed
|
|
339
337
|
extends: [importX.flatConfigs.typescript],
|
|
340
338
|
settings: {
|
|
341
339
|
'import-x/resolver-next': [createTypeScriptImportResolver(), createNodeResolver()],
|