@hearthsim/eslint-config-typescript-react 1.0.0 → 2.0.0

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/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -11,6 +11,8 @@ module.exports = {
11
11
  },
12
12
  },
13
13
  rules: {
14
+ // violating the rules of hooks leads to really bad errors
15
+ "react-hooks/exhaustive-deps": "error",
14
16
  // we don't use this
15
17
  "react/display-name": "off",
16
18
  // not great, but otherwise we get false positives with <Trans> (localization)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearthsim/eslint-config-typescript-react",
3
- "version": "1.0.0",
3
+ "version": "2.0.0",
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>",