@wiggindev/hooks 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/.eslintrc.cjs +18 -0
- package/package.json +4 -2
- package/src/index.ts +1 -0
package/.eslintrc.cjs
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
module.exports = {
|
2
|
+
parserOptions: {
|
3
|
+
ecmaFeatures: {
|
4
|
+
jsx: true,
|
5
|
+
},
|
6
|
+
},
|
7
|
+
settings: {
|
8
|
+
react: {
|
9
|
+
version: 'detect',
|
10
|
+
},
|
11
|
+
},
|
12
|
+
plugins: ['react'],
|
13
|
+
extends: ['plugin:react/recommended'],
|
14
|
+
rules: {
|
15
|
+
'react/jsx-uses-react': 'error',
|
16
|
+
'react/jsx-uses-vars': 'error',
|
17
|
+
},
|
18
|
+
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@wiggindev/hooks",
|
3
3
|
"description": "Various hooks that I use in my projects",
|
4
|
-
"version": "0.2.
|
4
|
+
"version": "0.2.2",
|
5
5
|
"author": {
|
6
6
|
"name": "Andrew Wiggin",
|
7
7
|
"email": "andrew@wiggin.dev",
|
@@ -30,7 +30,9 @@
|
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
32
|
"@types/react": "^18.0.9",
|
33
|
-
"
|
33
|
+
"eslint-plugin-react": "^7.29.4",
|
34
|
+
"microbundle": "^0.15.0",
|
35
|
+
"react": "^18.1.0"
|
34
36
|
},
|
35
37
|
"packageManager": "yarn@3.2.1",
|
36
38
|
"publishConfig": {
|
package/src/index.ts
CHANGED