@tb-dev/eslint-config 6.1.5 → 6.1.7

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 CHANGED
@@ -925,7 +925,7 @@ async function typescript(options) {
925
925
  }
926
926
 
927
927
  async function reactHooks(options) {
928
- if (!isEnabled(options.features, "react")) return {};
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, "react")) return {};
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, "react")) return {};
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, "react")) return {};
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.5",
3
+ "version": "6.1.7",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -33,18 +33,18 @@
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.16.5",
36
+ "svelte": "^5.17.3",
37
37
  "svelte-eslint-parser": "^1.0.0-next.6",
38
38
  "vue-eslint-parser": "^9.4.3"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/node": "^22.10.5",
42
- "eslint": "^9.17.0",
42
+ "eslint": "^9.18.0",
43
43
  "prettier": "^3.4.2",
44
44
  "tslib": "^2.8.1",
45
- "typescript": "^5.7.2",
45
+ "typescript": "^5.7.3",
46
46
  "vite": "^6.0.7",
47
- "vite-plugin-dts": "^4.4.0"
47
+ "vite-plugin-dts": "^4.5.0"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "eslint": "^9.17.0",