diff --git a/client/eslint.config.ts b/client/eslint.config.ts index e96856941a..d9d29b4f96 100644 --- a/client/eslint.config.ts +++ b/client/eslint.config.ts @@ -11,6 +11,8 @@ export default defineConfig([ { files: ['**/*.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'], plugins: { js }, + languageOptions: { globals: globals.jest, }, + ...js.configs.recommended, }, // tseslint.configs.recommended, pluginReact.configs.flat.recommended, @@ -40,6 +42,11 @@ export default defineConfig([ 'react-hooks/refs': 0, 'react/display-name': 0, 'react/prop-types': 0, + "no-unused-vars": ["error", { + "argsIgnorePattern": "^_", + "varsIgnorePattern": "^_", + "caughtErrorsIgnorePattern": "^_" + }], }, }, ]); diff --git a/client/src/components/Allocations/AllocationsCells.jsx b/client/src/components/Allocations/AllocationsCells.jsx index 45ef83d535..20cb176230 100644 --- a/client/src/components/Allocations/AllocationsCells.jsx +++ b/client/src/components/Allocations/AllocationsCells.jsx @@ -63,7 +63,7 @@ export const Remaining = ({ cell }) => { }; return (