eslint-config-bananass
Version:
ESLint Config for Bananass Framework.🍌
18 lines (17 loc) • 633 B
TypeScript
declare const _default: {
/**
* Verifies the list of dependencies for Hooks like `useEffect` and similar.
*
* @description This rule uses 'error' instead of 'warn'.
* @link https://github.com/facebook/react/blob/v19.0.0/packages/eslint-plugin-react-hooks/src/index.js#L18
*/
'react-hooks/exhaustive-deps': "error";
/**
* Enforces the Rules of Hooks.
*
* @link https://github.com/facebook/react/blob/v19.0.0/packages/eslint-plugin-react-hooks/src/index.js#L17
*/
'react-hooks/rules-of-hooks': "error";
'react-hooks/react-compiler': "error";
};
export default _default;