Spaces:
Runtime error
Runtime error
| import next from 'eslint-config-next' | |
| const config = [ | |
| ...next, | |
| { | |
| ignores: [ | |
| '.data/**', | |
| 'ops/**', | |
| ], | |
| }, | |
| // The React 19/ESLint ecosystem is still settling. These rules are valuable, | |
| // but they currently trigger a lot of false positives in this codebase. | |
| // Keep them off until we do a dedicated refactor pass. | |
| { | |
| rules: { | |
| 'react-hooks/set-state-in-effect': 'off', | |
| 'react-hooks/purity': 'off', | |
| 'react-hooks/immutability': 'off', | |
| }, | |
| }, | |
| ] | |
| export default config | |