@zthun/janitor-eslint-config 21.0.0 → 21.0.2
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/lib/configs/javascript.mjs +1 -0
- package/lib/configs/react.mjs +0 -14
- package/package.json +2 -3
package/lib/configs/react.mjs
CHANGED
|
@@ -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.
|
|
3
|
+
"version": "21.0.2",
|
|
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": "
|
|
65
|
+
"gitHead": "eaf6381137a595c0c648740791cb23431c921ceb"
|
|
67
66
|
}
|