@tb-dev/eslint-config 6.1.5 → 6.1.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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -925,7 +925,7 @@ async function typescript(options) {
|
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
async function reactHooks(options) {
|
|
928
|
-
if (!isEnabled(options.features, "
|
|
928
|
+
if (!isEnabled(options.features, "reactHooks")) return {};
|
|
929
929
|
const plugin = await interopDefault(import('eslint-plugin-react-hooks'));
|
|
930
930
|
return {
|
|
931
931
|
plugins: { "react-hooks": plugin },
|
|
@@ -1038,7 +1038,7 @@ async function perfectionist(options) {
|
|
|
1038
1038
|
}
|
|
1039
1039
|
|
|
1040
1040
|
async function reactCompiler(options) {
|
|
1041
|
-
if (!isEnabled(options.features, "
|
|
1041
|
+
if (!isEnabled(options.features, "reactCompiler")) return {};
|
|
1042
1042
|
const plugin = await interopDefault(import('eslint-plugin-react-compiler'));
|
|
1043
1043
|
return {
|
|
1044
1044
|
plugins: { "react-compiler": plugin },
|
package/dist/index.js
CHANGED
|
@@ -921,7 +921,7 @@ async function typescript(options) {
|
|
|
921
921
|
}
|
|
922
922
|
|
|
923
923
|
async function reactHooks(options) {
|
|
924
|
-
if (!isEnabled(options.features, "
|
|
924
|
+
if (!isEnabled(options.features, "reactHooks")) return {};
|
|
925
925
|
const plugin = await interopDefault(import('eslint-plugin-react-hooks'));
|
|
926
926
|
return {
|
|
927
927
|
plugins: { "react-hooks": plugin },
|
|
@@ -1034,7 +1034,7 @@ async function perfectionist(options) {
|
|
|
1034
1034
|
}
|
|
1035
1035
|
|
|
1036
1036
|
async function reactCompiler(options) {
|
|
1037
|
-
if (!isEnabled(options.features, "
|
|
1037
|
+
if (!isEnabled(options.features, "reactCompiler")) return {};
|
|
1038
1038
|
const plugin = await interopDefault(import('eslint-plugin-react-compiler'));
|
|
1039
1039
|
return {
|
|
1040
1040
|
plugins: { "react-compiler": plugin },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tb-dev/eslint-config",
|
|
3
|
-
"version": "6.1.
|
|
3
|
+
"version": "6.1.6",
|
|
4
4
|
"description": "ESLint config",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"eslint-plugin-unicorn": "^56.0.1",
|
|
34
34
|
"eslint-plugin-vue": "^9.32.0",
|
|
35
35
|
"globals": "^15.14.0",
|
|
36
|
-
"svelte": "^5.
|
|
36
|
+
"svelte": "^5.17.1",
|
|
37
37
|
"svelte-eslint-parser": "^1.0.0-next.6",
|
|
38
38
|
"vue-eslint-parser": "^9.4.3"
|
|
39
39
|
},
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"eslint": "^9.17.0",
|
|
43
43
|
"prettier": "^3.4.2",
|
|
44
44
|
"tslib": "^2.8.1",
|
|
45
|
-
"typescript": "^5.7.
|
|
45
|
+
"typescript": "^5.7.3",
|
|
46
46
|
"vite": "^6.0.7",
|
|
47
47
|
"vite-plugin-dts": "^4.4.0"
|
|
48
48
|
},
|