@krivega/eslint-config 1.0.9 → 1.0.11
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/CHANGELOG.md +4 -0
- package/package.json +11 -11
- package/react.js +5 -1
- package/react.ts +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [1.0.11](https://github.com/Krivega/eslint-config/compare/v1.0.10...v1.0.11) (2025-11-24)
|
|
6
|
+
|
|
7
|
+
### [1.0.10](https://github.com/Krivega/eslint-config/compare/v1.0.9...v1.0.10) (2025-11-07)
|
|
8
|
+
|
|
5
9
|
### [1.0.9](https://github.com/Krivega/eslint-config/compare/v1.0.8...v1.0.9) (2025-10-20)
|
|
6
10
|
|
|
7
11
|
### [1.0.8](https://github.com/Krivega/eslint-config/compare/v1.0.7...v1.0.8) (2025-10-16)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krivega/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"bugs": {
|
|
5
5
|
"url": "https://github.com/Krivega/eslint-config/issues"
|
|
6
6
|
},
|
|
@@ -37,24 +37,24 @@
|
|
|
37
37
|
"run:postinstall": "yarn --cwd ./example install && yarn --cwd ./exampleReact install"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@babel/preset-typescript": "^7.
|
|
41
|
-
"@stylistic/eslint-plugin": "^5.
|
|
40
|
+
"@babel/preset-typescript": "^7.28.5",
|
|
41
|
+
"@stylistic/eslint-plugin": "^5.6.1",
|
|
42
42
|
"@types/eslint-plugin-jsx-a11y": "^6.10.1",
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "^8.
|
|
44
|
-
"@typescript-eslint/parser": "^8.
|
|
45
|
-
"eslint": "^9.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "^8.47.0",
|
|
44
|
+
"@typescript-eslint/parser": "^8.47.0",
|
|
45
|
+
"eslint": "^9.39.1",
|
|
46
46
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
47
47
|
"eslint-plugin-cypress": "^5.2.0",
|
|
48
48
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
49
49
|
"eslint-plugin-import": "^2.32.0",
|
|
50
|
-
"eslint-plugin-jest": "^29.
|
|
50
|
+
"eslint-plugin-jest": "^29.2.1",
|
|
51
51
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
52
52
|
"eslint-plugin-prettier": "^5.5.4",
|
|
53
53
|
"eslint-plugin-react": "7.37.5",
|
|
54
|
-
"eslint-plugin-react-hooks": "^7.0.
|
|
54
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
55
55
|
"eslint-plugin-react-refresh": "^0.4.24",
|
|
56
|
-
"eslint-plugin-unicorn": "^
|
|
57
|
-
"globals": "^16.
|
|
56
|
+
"eslint-plugin-unicorn": "^62.0.0",
|
|
57
|
+
"globals": "^16.5.0",
|
|
58
58
|
"typescript": "^5.9.3"
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"standard-version": "^9.5.0"
|
|
65
65
|
},
|
|
66
66
|
"peerDependencies": {
|
|
67
|
-
"eslint": "^9.
|
|
67
|
+
"eslint": "^9.39.1",
|
|
68
68
|
"typescript": "^5.9.3"
|
|
69
69
|
},
|
|
70
70
|
"packageManager": "yarn@1.22.22"
|
package/react.js
CHANGED
|
@@ -10,7 +10,11 @@ const reactConfig = [
|
|
|
10
10
|
version: 'detect',
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
|
-
plugins: {
|
|
13
|
+
plugins: {
|
|
14
|
+
'react-hooks': reactHooks,
|
|
15
|
+
'jsx-a11y': jsxA11y,
|
|
16
|
+
react: react,
|
|
17
|
+
},
|
|
14
18
|
rules: {
|
|
15
19
|
'@stylistic/jsx-closing-bracket-location': ['error'],
|
|
16
20
|
'@stylistic/jsx-closing-tag-location': ['error'],
|
package/react.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Linter } from 'eslint';
|
|
1
|
+
import type { ESLint, Linter } from 'eslint';
|
|
2
2
|
import jsxA11y from 'eslint-plugin-jsx-a11y';
|
|
3
3
|
import react from 'eslint-plugin-react';
|
|
4
4
|
import reactHooks from 'eslint-plugin-react-hooks';
|
|
@@ -12,7 +12,11 @@ const reactConfig: Linter.Config[] = [
|
|
|
12
12
|
version: 'detect',
|
|
13
13
|
},
|
|
14
14
|
},
|
|
15
|
-
plugins: {
|
|
15
|
+
plugins: {
|
|
16
|
+
'react-hooks': reactHooks as unknown as ESLint.Plugin,
|
|
17
|
+
'jsx-a11y': jsxA11y as unknown as ESLint.Plugin,
|
|
18
|
+
react: react as unknown as ESLint.Plugin,
|
|
19
|
+
},
|
|
16
20
|
rules: {
|
|
17
21
|
'@stylistic/jsx-closing-bracket-location': ['error'],
|
|
18
22
|
'@stylistic/jsx-closing-tag-location': ['error'],
|