@medplum/eslint-config 4.4.2 → 4.5.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.cjs +6 -0
  2. package/package.json +5 -5
package/index.cjs CHANGED
@@ -143,6 +143,12 @@ module.exports = {
143
143
 
144
144
  // React Hooks
145
145
  'react-hooks/exhaustive-deps': 'error',
146
+ 'react-hooks/set-state-in-effect': 'warn',
147
+ 'react-hooks/refs': 'warn',
148
+ 'react-hooks/immutability': 'warn',
149
+ 'react-hooks/static-components': 'warn',
150
+ 'react-hooks/preserve-manual-memoization': 'warn',
151
+ 'react-hooks/purity': 'warn',
146
152
 
147
153
  // React Refresh
148
154
  'react-refresh/only-export-components': 'warn',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medplum/eslint-config",
3
- "version": "4.4.2",
3
+ "version": "4.5.0",
4
4
  "description": "Shared ESLint configuration for Medplum projects",
5
5
  "keywords": [
6
6
  "eslint",
@@ -19,14 +19,14 @@
19
19
  "author": "Medplum <hello@medplum.com>",
20
20
  "main": "index.cjs",
21
21
  "devDependencies": {
22
- "@typescript-eslint/eslint-plugin": "8.45.0",
23
- "@typescript-eslint/parser": "8.45.0",
22
+ "@typescript-eslint/eslint-plugin": "8.46.0",
23
+ "@typescript-eslint/parser": "8.46.0",
24
24
  "eslint": "8.57.1",
25
- "eslint-plugin-jsdoc": "60.7.1",
25
+ "eslint-plugin-jsdoc": "60.8.3",
26
26
  "eslint-plugin-header": "3.1.1",
27
27
  "eslint-plugin-import": "2.32.0",
28
28
  "eslint-plugin-no-only-tests": "3.3.0",
29
- "eslint-plugin-react-hooks": "5.2.0",
29
+ "eslint-plugin-react-hooks": "7.0.0",
30
30
  "eslint-plugin-react-refresh": "0.4.23"
31
31
  },
32
32
  "peerDependencies": {