@zthun/janitor-eslint-config 21.0.0 → 21.0.1

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.
@@ -1,6 +1,5 @@
1
1
  import _react from "@eslint-react/eslint-plugin";
2
2
  import { defineConfig } from "eslint/config";
3
- import _hooks from "eslint-plugin-react-hooks";
4
3
 
5
4
  import { ExtEs, files } from "../files/files.mjs";
6
5
 
@@ -17,17 +16,4 @@ export const react = defineConfig([
17
16
  ..._react.configs.recommended,
18
17
  files: files(...ExtEs),
19
18
  },
20
- {
21
- ..._hooks.configs.flat.recommended,
22
- files: files(...ExtEs),
23
- },
24
- {
25
- files: files(...ExtEs),
26
- rules: {
27
- // There are times when refs are appropriate, especially if you are using
28
- // html dialog based elements, which you will most likely need to use
29
- // refs to move or focus.
30
- "react-hooks/refs": "off",
31
- },
32
- },
33
19
  ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zthun/janitor-eslint-config",
3
- "version": "21.0.0",
3
+ "version": "21.0.1",
4
4
  "description": "A shared configuration for eslint for @zthun scoped projects.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -34,7 +34,6 @@
34
34
  "eslint-config-prettier": "^10.1.8",
35
35
  "eslint-plugin-import-x": "^4.17.1",
36
36
  "eslint-plugin-prettier": "^5.5.6",
37
- "eslint-plugin-react-hooks": "^7.1.1",
38
37
  "eslint-plugin-simple-import-sort": "^14.0.0",
39
38
  "eslint-plugin-unused-imports": "^4.4.1",
40
39
  "eslint-plugin-yml": "^3.8.1",
@@ -63,5 +62,5 @@
63
62
  "access": "public"
64
63
  },
65
64
  "author": "Anthony Bonta",
66
- "gitHead": "3ab98fdbe1fdc5172cb8bb09ce4427dd510a8e2f"
65
+ "gitHead": "ea92c01d2881da0581989e9984079e3b72d933e1"
67
66
  }