mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
useShallowObject: add lint rule for deps
This commit is contained in:
@@ -14,4 +14,10 @@ const compat = new FlatCompat({
|
||||
|
||||
export default defineConfig([{
|
||||
extends: compat.extends("next/core-web-vitals"),
|
||||
rules: {
|
||||
//
|
||||
"react-hooks/exhaustive-deps": ["warn", {
|
||||
additionalHooks: "(useMemoShallowStable)",
|
||||
}],
|
||||
},
|
||||
}]);
|
||||
Reference in New Issue
Block a user