@commencis/eslint-config 1.5.1 → 1.5.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/CHANGELOG.md +31 -0
- package/dist/configs/base.js +4 -3
- package/dist/configs/next.js +4 -3
- package/dist/configs/react-native.js +4 -3
- package/dist/configs/react.js +4 -3
- package/dist/configs/vue.js +4 -3
- package/dist/index.js +4 -3
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @commencis/eslint-config
|
|
2
2
|
|
|
3
|
+
## 1.5.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore(deps): update typescript-eslint monorepo to v8.18.2 ([#175](https://github.com/Commencis/js-toolkit/pull/175))
|
|
8
|
+
|
|
9
|
+
- fix(deps): update dependency globals to v15.14.0 ([#179](https://github.com/Commencis/js-toolkit/pull/179))
|
|
10
|
+
|
|
11
|
+
- chore(deps): update dependency @next/eslint-plugin-next to v15.1.2 ([#181](https://github.com/Commencis/js-toolkit/pull/181))
|
|
12
|
+
|
|
13
|
+
- fix(deps): update dependency @next/eslint-plugin-next to v15.1.1 ([#176](https://github.com/Commencis/js-toolkit/pull/176))
|
|
14
|
+
|
|
15
|
+
- update dependency: eslint to v9.17.0 ([#172](https://github.com/Commencis/js-toolkit/pull/172))
|
|
16
|
+
|
|
17
|
+
## 1.5.2
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- update dependency: eslint@9.16.0 ([#164](https://github.com/Commencis/js-toolkit/pull/164))
|
|
22
|
+
|
|
23
|
+
- update dependency: @next/eslint-plugin-next@15.1.0 ([#161](https://github.com/Commencis/js-toolkit/pull/161))
|
|
24
|
+
|
|
25
|
+
- update dependency: eslint-plugin-vue@9.32.0 ([#159](https://github.com/Commencis/js-toolkit/pull/159))
|
|
26
|
+
|
|
27
|
+
- update dependency: typescript-eslint@8.18.0 ([#165](https://github.com/Commencis/js-toolkit/pull/165))
|
|
28
|
+
|
|
29
|
+
- update dependency: globals@15.13.0 ([#160](https://github.com/Commencis/js-toolkit/pull/160))
|
|
30
|
+
|
|
31
|
+
- update dependency: eslint-plugin-react-hooks@5.1.0 ([#162](https://github.com/Commencis/js-toolkit/pull/162))
|
|
32
|
+
fix: type declarations for eslint-plugin-react
|
|
33
|
+
|
|
3
34
|
## 1.5.1
|
|
4
35
|
|
|
5
36
|
### Patch Changes
|
package/dist/configs/base.js
CHANGED
|
@@ -135,16 +135,17 @@ var reactHooksPluginConfig = {
|
|
|
135
135
|
|
|
136
136
|
// src/plugins/reactPlugin.ts
|
|
137
137
|
import reactPlugin from "eslint-plugin-react";
|
|
138
|
+
var reactPluginFlatConfig = reactPlugin.configs.flat;
|
|
138
139
|
var reactPluginConfig = {
|
|
139
140
|
name: "commencis/plugin:react",
|
|
140
141
|
files: JSX_TSX_FILE_PATTERNS,
|
|
141
|
-
languageOptions: { ...
|
|
142
|
+
languageOptions: { ...reactPluginFlatConfig.recommended.languageOptions },
|
|
142
143
|
plugins: {
|
|
143
144
|
react: reactPlugin
|
|
144
145
|
},
|
|
145
146
|
rules: {
|
|
146
|
-
...
|
|
147
|
-
...
|
|
147
|
+
...reactPluginFlatConfig.recommended.rules,
|
|
148
|
+
...reactPluginFlatConfig["jsx-runtime"].rules,
|
|
148
149
|
...reactRules
|
|
149
150
|
},
|
|
150
151
|
settings: {
|
package/dist/configs/next.js
CHANGED
|
@@ -152,16 +152,17 @@ var reactHooksPluginConfig = {
|
|
|
152
152
|
|
|
153
153
|
// src/plugins/reactPlugin.ts
|
|
154
154
|
import reactPlugin from "eslint-plugin-react";
|
|
155
|
+
var reactPluginFlatConfig = reactPlugin.configs.flat;
|
|
155
156
|
var reactPluginConfig = {
|
|
156
157
|
name: "commencis/plugin:react",
|
|
157
158
|
files: JSX_TSX_FILE_PATTERNS,
|
|
158
|
-
languageOptions: { ...
|
|
159
|
+
languageOptions: { ...reactPluginFlatConfig.recommended.languageOptions },
|
|
159
160
|
plugins: {
|
|
160
161
|
react: reactPlugin
|
|
161
162
|
},
|
|
162
163
|
rules: {
|
|
163
|
-
...
|
|
164
|
-
...
|
|
164
|
+
...reactPluginFlatConfig.recommended.rules,
|
|
165
|
+
...reactPluginFlatConfig["jsx-runtime"].rules,
|
|
165
166
|
...reactRules
|
|
166
167
|
},
|
|
167
168
|
settings: {
|
|
@@ -152,16 +152,17 @@ var reactHooksPluginConfig = {
|
|
|
152
152
|
|
|
153
153
|
// src/plugins/reactPlugin.ts
|
|
154
154
|
import reactPlugin from "eslint-plugin-react";
|
|
155
|
+
var reactPluginFlatConfig = reactPlugin.configs.flat;
|
|
155
156
|
var reactPluginConfig = {
|
|
156
157
|
name: "commencis/plugin:react",
|
|
157
158
|
files: JSX_TSX_FILE_PATTERNS,
|
|
158
|
-
languageOptions: { ...
|
|
159
|
+
languageOptions: { ...reactPluginFlatConfig.recommended.languageOptions },
|
|
159
160
|
plugins: {
|
|
160
161
|
react: reactPlugin
|
|
161
162
|
},
|
|
162
163
|
rules: {
|
|
163
|
-
...
|
|
164
|
-
...
|
|
164
|
+
...reactPluginFlatConfig.recommended.rules,
|
|
165
|
+
...reactPluginFlatConfig["jsx-runtime"].rules,
|
|
165
166
|
...reactRules
|
|
166
167
|
},
|
|
167
168
|
settings: {
|
package/dist/configs/react.js
CHANGED
|
@@ -152,16 +152,17 @@ var reactHooksPluginConfig = {
|
|
|
152
152
|
|
|
153
153
|
// src/plugins/reactPlugin.ts
|
|
154
154
|
import reactPlugin from "eslint-plugin-react";
|
|
155
|
+
var reactPluginFlatConfig = reactPlugin.configs.flat;
|
|
155
156
|
var reactPluginConfig = {
|
|
156
157
|
name: "commencis/plugin:react",
|
|
157
158
|
files: JSX_TSX_FILE_PATTERNS,
|
|
158
|
-
languageOptions: { ...
|
|
159
|
+
languageOptions: { ...reactPluginFlatConfig.recommended.languageOptions },
|
|
159
160
|
plugins: {
|
|
160
161
|
react: reactPlugin
|
|
161
162
|
},
|
|
162
163
|
rules: {
|
|
163
|
-
...
|
|
164
|
-
...
|
|
164
|
+
...reactPluginFlatConfig.recommended.rules,
|
|
165
|
+
...reactPluginFlatConfig["jsx-runtime"].rules,
|
|
165
166
|
...reactRules
|
|
166
167
|
},
|
|
167
168
|
settings: {
|
package/dist/configs/vue.js
CHANGED
|
@@ -155,16 +155,17 @@ var reactHooksPluginConfig = {
|
|
|
155
155
|
|
|
156
156
|
// src/plugins/reactPlugin.ts
|
|
157
157
|
import reactPlugin from "eslint-plugin-react";
|
|
158
|
+
var reactPluginFlatConfig = reactPlugin.configs.flat;
|
|
158
159
|
var reactPluginConfig = {
|
|
159
160
|
name: "commencis/plugin:react",
|
|
160
161
|
files: JSX_TSX_FILE_PATTERNS,
|
|
161
|
-
languageOptions: { ...
|
|
162
|
+
languageOptions: { ...reactPluginFlatConfig.recommended.languageOptions },
|
|
162
163
|
plugins: {
|
|
163
164
|
react: reactPlugin
|
|
164
165
|
},
|
|
165
166
|
rules: {
|
|
166
|
-
...
|
|
167
|
-
...
|
|
167
|
+
...reactPluginFlatConfig.recommended.rules,
|
|
168
|
+
...reactPluginFlatConfig["jsx-runtime"].rules,
|
|
168
169
|
...reactRules
|
|
169
170
|
},
|
|
170
171
|
settings: {
|
package/dist/index.js
CHANGED
|
@@ -155,16 +155,17 @@ var reactHooksPluginConfig = {
|
|
|
155
155
|
|
|
156
156
|
// src/plugins/reactPlugin.ts
|
|
157
157
|
import reactPlugin from "eslint-plugin-react";
|
|
158
|
+
var reactPluginFlatConfig = reactPlugin.configs.flat;
|
|
158
159
|
var reactPluginConfig = {
|
|
159
160
|
name: "commencis/plugin:react",
|
|
160
161
|
files: JSX_TSX_FILE_PATTERNS,
|
|
161
|
-
languageOptions: { ...
|
|
162
|
+
languageOptions: { ...reactPluginFlatConfig.recommended.languageOptions },
|
|
162
163
|
plugins: {
|
|
163
164
|
react: reactPlugin
|
|
164
165
|
},
|
|
165
166
|
rules: {
|
|
166
|
-
...
|
|
167
|
-
...
|
|
167
|
+
...reactPluginFlatConfig.recommended.rules,
|
|
168
|
+
...reactPluginFlatConfig["jsx-runtime"].rules,
|
|
168
169
|
...reactRules
|
|
169
170
|
},
|
|
170
171
|
settings: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commencis/eslint-config",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Commencis ESLint config",
|
|
5
5
|
"author": "Commencis WEB Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -58,23 +58,23 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint/js": "9.
|
|
62
|
-
"@next/eslint-plugin-next": "15.
|
|
63
|
-
"@typescript-eslint/utils": "8.
|
|
61
|
+
"@eslint/js": "9.17.0",
|
|
62
|
+
"@next/eslint-plugin-next": "15.1.2",
|
|
63
|
+
"@typescript-eslint/utils": "8.18.2",
|
|
64
64
|
"eslint-config-prettier": "9.1.0",
|
|
65
65
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
66
66
|
"eslint-plugin-prettier": "5.2.1",
|
|
67
67
|
"eslint-plugin-react": "7.37.2",
|
|
68
|
-
"eslint-plugin-react-hooks": "5.
|
|
68
|
+
"eslint-plugin-react-hooks": "5.1.0",
|
|
69
69
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
70
|
-
"eslint-plugin-vue": "9.
|
|
71
|
-
"globals": "15.
|
|
72
|
-
"typescript-eslint": "8.
|
|
70
|
+
"eslint-plugin-vue": "9.32.0",
|
|
71
|
+
"globals": "15.14.0",
|
|
72
|
+
"typescript-eslint": "8.18.2"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
75
|
"@types/eslint__js": "8.42.3",
|
|
76
76
|
"tsup": "8.3.5",
|
|
77
|
-
"typescript": "5.
|
|
77
|
+
"typescript": "5.7.2",
|
|
78
78
|
"@commencis/ts-config": "0.0.2"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|