* chore: exhaustive-deps error * faster precommit using tsc --incremental * don't exit until both check has ran
15 lines
395 B
JavaScript
15 lines
395 B
JavaScript
// Pre-commit ESLint config with stricter rules
|
|
import baseConfig from './eslint.config.mjs';
|
|
|
|
export default [
|
|
...baseConfig,
|
|
{
|
|
rules: {
|
|
// Override rules to be stricter for pre-commit
|
|
'react-hooks/exhaustive-deps': 'error',
|
|
// Add other strict rules here if needed
|
|
// 'no-console': 'error',
|
|
// '@typescript-eslint/no-unused-vars': 'error',
|
|
},
|
|
},
|
|
];
|