@hearthsim/eslint-config-typescript-react 2.0.0 → 2.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.
- package/README.md +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ Plugins are resolved relative to the final project and must thus installed expli
|
|
|
17
17
|
|
|
18
18
|
```bash
|
|
19
19
|
$ yarn add -D \
|
|
20
|
-
@typescript-eslint/eslint-plugin
|
|
20
|
+
@typescript-eslint/eslint-plugin@^5.4.0 \
|
|
21
21
|
eslint-plugin-import@2.25.3 \
|
|
22
22
|
eslint-plugin-jest@25.2.4 \
|
|
23
23
|
eslint-plugin-react@7.27.1 \
|
package/index.js
CHANGED
|
@@ -11,7 +11,7 @@ module.exports = {
|
|
|
11
11
|
},
|
|
12
12
|
},
|
|
13
13
|
rules: {
|
|
14
|
-
// violating
|
|
14
|
+
// violating hook dependencies is dangerous and can lead to hidden errors that are very hard to debug
|
|
15
15
|
"react-hooks/exhaustive-deps": "error",
|
|
16
16
|
// we don't use this
|
|
17
17
|
"react/display-name": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hearthsim/eslint-config-typescript-react",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "HearthSim's presets for ESLint, with Typescript and React support.",
|
|
5
5
|
"repository": "git@github.com:HearthSim/eslint-config-typescript-react.git",
|
|
6
6
|
"author": "Benedict Etzel <benedict@hearthsim.net>",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"format": "prettier --write *.js"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@typescript-eslint/eslint-plugin": "5.4.0",
|
|
13
|
+
"@typescript-eslint/eslint-plugin": "^5.4.0",
|
|
14
14
|
"eslint": "^6.8.0 || ^7.2.0 || ^8.0.0",
|
|
15
15
|
"eslint-plugin-import": "^2.25.3",
|
|
16
16
|
"eslint-plugin-jest": "^25.2.4",
|