ente/web/apps/accounts/.eslintrc.js
Manav Rathi f7a500b811
[web] Fix exhaustive-deps lints
Refs: https://legacy.reactjs.org/docs/hooks-reference.html#usestate

> React guarantees that setState function identity is stable and won't change on
  rerenders. This is why it's safe to omit from the useEffect or useCallback
  dependency list.
2024-06-12 11:16:24 +05:30

5 lines
126 B
JavaScript

module.exports = {
extends: ["@/build-config/eslintrc-next"],
ignorePatterns: ["next.config.js", "next-env.d.ts"],
};