@alextheman/eslint-plugin 5.16.0 → 5.17.0

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
@@ -4460,7 +4460,8 @@ const generalJavaScript = [
4460
4460
  "no-console": ["error", { allow: [
4461
4461
  "warn",
4462
4462
  "error",
4463
- "info"
4463
+ "info",
4464
+ "table"
4464
4465
  ] }],
4465
4466
  "no-eval": "error",
4466
4467
  "no-lonely-if": "error",
@@ -4714,12 +4715,14 @@ const generalReact = [eslint_plugin_jsx_a11y_x.default.configs.recommended, {
4714
4715
  "@eslint-react/no-array-index-key": "off",
4715
4716
  "@eslint-react/no-context-provider": "error",
4716
4717
  "@eslint-react/no-use-context": "error",
4718
+ "@eslint-react/set-state-in-effect": "error",
4717
4719
  "@eslint-react/use-state": "error",
4718
4720
  "@stylistic/jsx-curly-brace-presence": ["error", {
4719
4721
  children: "never",
4720
4722
  propElementValues: "always",
4721
4723
  props: "never"
4722
- }]
4724
+ }],
4725
+ "react-hooks/set-state-in-effect": "off"
4723
4726
  },
4724
4727
  settings: { react: { version: "detect" } }
4725
4728
  }];
@@ -5513,7 +5516,7 @@ function parseUseObjectShorthandOptions(data) {
5513
5516
  const alexPlugin = {
5514
5517
  meta: {
5515
5518
  name: "@alextheman/eslint-plugin",
5516
- version: "5.16.0",
5519
+ version: "5.17.0",
5517
5520
  namespace: "alextheman"
5518
5521
  },
5519
5522
  configs: {},
package/dist/index.js CHANGED
@@ -4440,7 +4440,8 @@ const generalJavaScript = [
4440
4440
  "no-console": ["error", { allow: [
4441
4441
  "warn",
4442
4442
  "error",
4443
- "info"
4443
+ "info",
4444
+ "table"
4444
4445
  ] }],
4445
4446
  "no-eval": "error",
4446
4447
  "no-lonely-if": "error",
@@ -4694,12 +4695,14 @@ const generalReact = [jsxA11y.configs.recommended, {
4694
4695
  "@eslint-react/no-array-index-key": "off",
4695
4696
  "@eslint-react/no-context-provider": "error",
4696
4697
  "@eslint-react/no-use-context": "error",
4698
+ "@eslint-react/set-state-in-effect": "error",
4697
4699
  "@eslint-react/use-state": "error",
4698
4700
  "@stylistic/jsx-curly-brace-presence": ["error", {
4699
4701
  children: "never",
4700
4702
  propElementValues: "always",
4701
4703
  props: "never"
4702
- }]
4704
+ }],
4705
+ "react-hooks/set-state-in-effect": "off"
4703
4706
  },
4704
4707
  settings: { react: { version: "detect" } }
4705
4708
  }];
@@ -5493,7 +5496,7 @@ function parseUseObjectShorthandOptions(data) {
5493
5496
  const alexPlugin = {
5494
5497
  meta: {
5495
5498
  name: "@alextheman/eslint-plugin",
5496
- version: "5.16.0",
5499
+ version: "5.17.0",
5497
5500
  namespace: "alextheman"
5498
5501
  },
5499
5502
  configs: {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "5.16.0",
3
+ "version": "5.17.0",
4
4
  "description": "A package to provide custom ESLint rules and configs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -37,23 +37,23 @@
37
37
  "node": ">=22.3.0"
38
38
  },
39
39
  "dependencies": {
40
- "@alextheman/utility": "5.19.0",
40
+ "@alextheman/utility": "5.19.1",
41
41
  "@eslint/compat": "2.1.0",
42
- "@typescript-eslint/types": "8.59.4",
43
- "@typescript-eslint/utils": "8.59.4",
42
+ "@typescript-eslint/types": "8.60.0",
43
+ "@typescript-eslint/utils": "8.60.0",
44
44
  "common-tags": "1.8.2",
45
45
  "prettier": "3.8.3",
46
46
  "zod": "4.4.3"
47
47
  },
48
48
  "devDependencies": {
49
- "@eslint-react/eslint-plugin": "5.8.4",
49
+ "@eslint-react/eslint-plugin": "5.8.6",
50
50
  "@eslint/js": "10.0.1",
51
51
  "@stylistic/eslint-plugin": "5.10.0",
52
52
  "@types/common-tags": "1.8.4",
53
53
  "@types/eslint": "9.6.1",
54
54
  "@types/eslint-plugin-jsx-a11y": "6.10.1",
55
55
  "@types/node": "25.9.1",
56
- "@typescript-eslint/rule-tester": "8.59.4",
56
+ "@typescript-eslint/rule-tester": "8.60.0",
57
57
  "alex-c-line": "2.8.1",
58
58
  "dotenv-cli": "11.0.0",
59
59
  "eslint": "10.4.0",
@@ -65,7 +65,7 @@
65
65
  "eslint-plugin-n": "18.0.1",
66
66
  "eslint-plugin-package-json": "1.1.0",
67
67
  "eslint-plugin-perfectionist": "5.9.0",
68
- "eslint-plugin-prettier": "5.5.5",
68
+ "eslint-plugin-prettier": "5.5.6",
69
69
  "eslint-plugin-react-hooks": "7.1.1",
70
70
  "eslint-plugin-react-refresh": "0.5.2",
71
71
  "eslint-vitest-rule-tester": "3.1.0",
@@ -75,10 +75,10 @@
75
75
  "jsdom": "29.1.1",
76
76
  "markdownlint-cli2": "0.22.1",
77
77
  "tempy": "3.2.0",
78
- "tsdown": "0.22.0",
78
+ "tsdown": "0.22.1",
79
79
  "tsx": "4.22.3",
80
80
  "typescript": "6.0.3",
81
- "typescript-eslint": "8.59.4",
81
+ "typescript-eslint": "8.60.0",
82
82
  "vite": "8.0.14",
83
83
  "vitest": "4.1.7"
84
84
  },