@hearthsim/eslint-config-typescript-react 2.0.0 → 2.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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.js +1 -1
  3. package/package.json +3 -3
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@5.4.0 \
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 the rules of hooks leads to really bad errors
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.0",
3
+ "version": "2.0.2",
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",
@@ -20,7 +20,7 @@
20
20
  "typescript": ">=2.8.0"
21
21
  },
22
22
  "dependencies": {
23
- "@hearthsim/eslint-config-typescript": "^2.0.0",
23
+ "@hearthsim/eslint-config-typescript": "^2.0.3",
24
24
  "@typescript-eslint/parser": "5.4.0",
25
25
  "eslint-config-prettier": "^8.3.0"
26
26
  },