@10stars/config 5.1.4 → 5.2.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.
Files changed (2) hide show
  1. package/.eslintrc.js +2 -2
  2. package/package.json +2 -2
package/.eslintrc.js CHANGED
@@ -65,6 +65,7 @@ module.exports = {
65
65
  `plugin:@typescript-eslint/recommended`,
66
66
  `plugin:@typescript-eslint/recommended-requiring-type-checking`,
67
67
  `plugin:react/recommended`,
68
+ `plugin:@10stars/react-hooks/recommended`,
68
69
  `plugin:regexp/recommended`,
69
70
 
70
71
  // "plugin:import/typescript",
@@ -83,7 +84,7 @@ module.exports = {
83
84
  "import/parsers": { "@typescript-eslint/parser": [`.ts`, `.tsx`] },
84
85
  "import/extensions": [`.ts`, `.tsx`, `.js`, `.jsx`],
85
86
  react: {
86
- version: `latest`,
87
+ version: `18.0.0`,
87
88
  },
88
89
  },
89
90
  rules: {
@@ -135,7 +136,6 @@ module.exports = {
135
136
  /**
136
137
  * Hooks
137
138
  */
138
- "@10stars/react-hooks/rules-of-hooks": type.error,
139
139
  "@10stars/react-hooks/exhaustive-deps": [
140
140
  type.warning,
141
141
  {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  },
6
6
  "name": "@10stars/config",
7
7
  "description": "10stars.dev Shareable Configs",
8
- "version": "5.1.4",
8
+ "version": "5.2.2",
9
9
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
10
10
  "keywords": [
11
11
  "config"
@@ -24,7 +24,7 @@
24
24
  "lint-rule-timings": "cross-env TIMING=1 npm run lint"
25
25
  },
26
26
  "dependencies": {
27
- "@10stars/eslint-plugin-react-hooks": "^4.3.3",
27
+ "@10stars/eslint-plugin-react-hooks": "^4.3.4",
28
28
  "@commitlint/cli": "^16.0.0",
29
29
  "@commitlint/config-conventional": "^16.0.0",
30
30
  "@types/lodash": "^4.0.0",