@commencis/eslint-config 1.5.4 → 1.5.6
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 +24 -0
- package/dist/configs/base.js +6 -4
- package/dist/configs/next.js +6 -4
- package/dist/configs/react-native.js +6 -4
- package/dist/configs/react.js +6 -4
- package/dist/configs/vue.js +6 -4
- package/dist/index.js +6 -4
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @commencis/eslint-config
|
|
2
2
|
|
|
3
|
+
## 1.5.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- chore(deps): update dependency eslint-config-prettier to v10 ([#206](https://github.com/Commencis/js-toolkit/pull/206))
|
|
8
|
+
|
|
9
|
+
- chore(deps): update typescript-eslint monorepo to v8.21.0 ([#200](https://github.com/Commencis/js-toolkit/pull/200))
|
|
10
|
+
|
|
11
|
+
- chore(deps): update dependency eslint-plugin-prettier to v5.2.3 ([#207](https://github.com/Commencis/js-toolkit/pull/207))
|
|
12
|
+
|
|
13
|
+
- feat(eslint-config): update eslint-plugin-react types as supported ([#204](https://github.com/Commencis/js-toolkit/pull/204))
|
|
14
|
+
|
|
15
|
+
- chore(deps): update dependency @next/eslint-plugin-next to v15.1.6 ([#202](https://github.com/Commencis/js-toolkit/pull/202))
|
|
16
|
+
|
|
17
|
+
- chore(deps): update eslint monorepo to v9.19.0 ([#203](https://github.com/Commencis/js-toolkit/pull/203))
|
|
18
|
+
|
|
19
|
+
## 1.5.5
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- chore(deps): update dependency @next/eslint-plugin-next to v15.1.3 ([#187](https://github.com/Commencis/js-toolkit/pull/187))
|
|
24
|
+
|
|
25
|
+
- chore(deps): update typescript-eslint monorepo to v8.19.0 ([#191](https://github.com/Commencis/js-toolkit/pull/191))
|
|
26
|
+
|
|
3
27
|
## 1.5.4
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
package/dist/configs/base.js
CHANGED
|
@@ -135,17 +135,19 @@ var reactHooksPluginConfig = {
|
|
|
135
135
|
|
|
136
136
|
// src/plugins/reactPlugin.ts
|
|
137
137
|
import reactPlugin from "eslint-plugin-react";
|
|
138
|
-
var
|
|
138
|
+
var { recommended: recommendedConfig, "jsx-runtime": jsxRuntimeConfig } = reactPlugin.configs.flat;
|
|
139
139
|
var reactPluginConfig = {
|
|
140
140
|
name: "commencis/plugin:react",
|
|
141
141
|
files: JSX_TSX_FILE_PATTERNS,
|
|
142
|
-
languageOptions: {
|
|
142
|
+
languageOptions: {
|
|
143
|
+
...recommendedConfig.languageOptions
|
|
144
|
+
},
|
|
143
145
|
plugins: {
|
|
144
146
|
react: reactPlugin
|
|
145
147
|
},
|
|
146
148
|
rules: {
|
|
147
|
-
...
|
|
148
|
-
...
|
|
149
|
+
...recommendedConfig.rules,
|
|
150
|
+
...jsxRuntimeConfig.rules,
|
|
149
151
|
...reactRules
|
|
150
152
|
},
|
|
151
153
|
settings: {
|
package/dist/configs/next.js
CHANGED
|
@@ -152,17 +152,19 @@ var reactHooksPluginConfig = {
|
|
|
152
152
|
|
|
153
153
|
// src/plugins/reactPlugin.ts
|
|
154
154
|
import reactPlugin from "eslint-plugin-react";
|
|
155
|
-
var
|
|
155
|
+
var { recommended: recommendedConfig, "jsx-runtime": jsxRuntimeConfig } = reactPlugin.configs.flat;
|
|
156
156
|
var reactPluginConfig = {
|
|
157
157
|
name: "commencis/plugin:react",
|
|
158
158
|
files: JSX_TSX_FILE_PATTERNS,
|
|
159
|
-
languageOptions: {
|
|
159
|
+
languageOptions: {
|
|
160
|
+
...recommendedConfig.languageOptions
|
|
161
|
+
},
|
|
160
162
|
plugins: {
|
|
161
163
|
react: reactPlugin
|
|
162
164
|
},
|
|
163
165
|
rules: {
|
|
164
|
-
...
|
|
165
|
-
...
|
|
166
|
+
...recommendedConfig.rules,
|
|
167
|
+
...jsxRuntimeConfig.rules,
|
|
166
168
|
...reactRules
|
|
167
169
|
},
|
|
168
170
|
settings: {
|
|
@@ -152,17 +152,19 @@ var reactHooksPluginConfig = {
|
|
|
152
152
|
|
|
153
153
|
// src/plugins/reactPlugin.ts
|
|
154
154
|
import reactPlugin from "eslint-plugin-react";
|
|
155
|
-
var
|
|
155
|
+
var { recommended: recommendedConfig, "jsx-runtime": jsxRuntimeConfig } = reactPlugin.configs.flat;
|
|
156
156
|
var reactPluginConfig = {
|
|
157
157
|
name: "commencis/plugin:react",
|
|
158
158
|
files: JSX_TSX_FILE_PATTERNS,
|
|
159
|
-
languageOptions: {
|
|
159
|
+
languageOptions: {
|
|
160
|
+
...recommendedConfig.languageOptions
|
|
161
|
+
},
|
|
160
162
|
plugins: {
|
|
161
163
|
react: reactPlugin
|
|
162
164
|
},
|
|
163
165
|
rules: {
|
|
164
|
-
...
|
|
165
|
-
...
|
|
166
|
+
...recommendedConfig.rules,
|
|
167
|
+
...jsxRuntimeConfig.rules,
|
|
166
168
|
...reactRules
|
|
167
169
|
},
|
|
168
170
|
settings: {
|
package/dist/configs/react.js
CHANGED
|
@@ -152,17 +152,19 @@ var reactHooksPluginConfig = {
|
|
|
152
152
|
|
|
153
153
|
// src/plugins/reactPlugin.ts
|
|
154
154
|
import reactPlugin from "eslint-plugin-react";
|
|
155
|
-
var
|
|
155
|
+
var { recommended: recommendedConfig, "jsx-runtime": jsxRuntimeConfig } = reactPlugin.configs.flat;
|
|
156
156
|
var reactPluginConfig = {
|
|
157
157
|
name: "commencis/plugin:react",
|
|
158
158
|
files: JSX_TSX_FILE_PATTERNS,
|
|
159
|
-
languageOptions: {
|
|
159
|
+
languageOptions: {
|
|
160
|
+
...recommendedConfig.languageOptions
|
|
161
|
+
},
|
|
160
162
|
plugins: {
|
|
161
163
|
react: reactPlugin
|
|
162
164
|
},
|
|
163
165
|
rules: {
|
|
164
|
-
...
|
|
165
|
-
...
|
|
166
|
+
...recommendedConfig.rules,
|
|
167
|
+
...jsxRuntimeConfig.rules,
|
|
166
168
|
...reactRules
|
|
167
169
|
},
|
|
168
170
|
settings: {
|
package/dist/configs/vue.js
CHANGED
|
@@ -155,17 +155,19 @@ var reactHooksPluginConfig = {
|
|
|
155
155
|
|
|
156
156
|
// src/plugins/reactPlugin.ts
|
|
157
157
|
import reactPlugin from "eslint-plugin-react";
|
|
158
|
-
var
|
|
158
|
+
var { recommended: recommendedConfig, "jsx-runtime": jsxRuntimeConfig } = reactPlugin.configs.flat;
|
|
159
159
|
var reactPluginConfig = {
|
|
160
160
|
name: "commencis/plugin:react",
|
|
161
161
|
files: JSX_TSX_FILE_PATTERNS,
|
|
162
|
-
languageOptions: {
|
|
162
|
+
languageOptions: {
|
|
163
|
+
...recommendedConfig.languageOptions
|
|
164
|
+
},
|
|
163
165
|
plugins: {
|
|
164
166
|
react: reactPlugin
|
|
165
167
|
},
|
|
166
168
|
rules: {
|
|
167
|
-
...
|
|
168
|
-
...
|
|
169
|
+
...recommendedConfig.rules,
|
|
170
|
+
...jsxRuntimeConfig.rules,
|
|
169
171
|
...reactRules
|
|
170
172
|
},
|
|
171
173
|
settings: {
|
package/dist/index.js
CHANGED
|
@@ -155,17 +155,19 @@ var reactHooksPluginConfig = {
|
|
|
155
155
|
|
|
156
156
|
// src/plugins/reactPlugin.ts
|
|
157
157
|
import reactPlugin from "eslint-plugin-react";
|
|
158
|
-
var
|
|
158
|
+
var { recommended: recommendedConfig, "jsx-runtime": jsxRuntimeConfig } = reactPlugin.configs.flat;
|
|
159
159
|
var reactPluginConfig = {
|
|
160
160
|
name: "commencis/plugin:react",
|
|
161
161
|
files: JSX_TSX_FILE_PATTERNS,
|
|
162
|
-
languageOptions: {
|
|
162
|
+
languageOptions: {
|
|
163
|
+
...recommendedConfig.languageOptions
|
|
164
|
+
},
|
|
163
165
|
plugins: {
|
|
164
166
|
react: reactPlugin
|
|
165
167
|
},
|
|
166
168
|
rules: {
|
|
167
|
-
...
|
|
168
|
-
...
|
|
169
|
+
...recommendedConfig.rules,
|
|
170
|
+
...jsxRuntimeConfig.rules,
|
|
169
171
|
...reactRules
|
|
170
172
|
},
|
|
171
173
|
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.6",
|
|
4
4
|
"description": "Commencis ESLint config",
|
|
5
5
|
"author": "Commencis WEB Team",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -58,24 +58,24 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@eslint/js": "9.
|
|
62
|
-
"@next/eslint-plugin-next": "15.1.
|
|
63
|
-
"@typescript-eslint/utils": "8.
|
|
64
|
-
"eslint-config-prettier": "
|
|
61
|
+
"@eslint/js": "9.19.0",
|
|
62
|
+
"@next/eslint-plugin-next": "15.1.6",
|
|
63
|
+
"@typescript-eslint/utils": "8.21.0",
|
|
64
|
+
"eslint-config-prettier": "10.0.1",
|
|
65
65
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
66
|
-
"eslint-plugin-prettier": "5.2.
|
|
67
|
-
"eslint-plugin-react": "7.37.
|
|
66
|
+
"eslint-plugin-prettier": "5.2.3",
|
|
67
|
+
"eslint-plugin-react": "7.37.4",
|
|
68
68
|
"eslint-plugin-react-hooks": "5.1.0",
|
|
69
69
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
70
70
|
"eslint-plugin-vue": "9.32.0",
|
|
71
71
|
"globals": "15.14.0",
|
|
72
|
-
"typescript-eslint": "8.
|
|
72
|
+
"typescript-eslint": "8.21.0"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
+
"@commencis/ts-config": "0.0.2",
|
|
75
76
|
"@types/eslint__js": "8.42.3",
|
|
76
|
-
"tsup": "8.3.
|
|
77
|
-
"typescript": "5.7.
|
|
78
|
-
"@commencis/ts-config": "0.0.2"
|
|
77
|
+
"tsup": "8.3.6",
|
|
78
|
+
"typescript": "5.7.3"
|
|
79
79
|
},
|
|
80
80
|
"peerDependencies": {
|
|
81
81
|
"eslint": ">= 9.7"
|