eslint.config.mjs

eslint.config.mjs
import nextConfig from 'eslint-config-next'
import gallop from '@gallop.software/canon/eslint'
export default [
...nextConfig,
{
rules: {
'@next/next/no-img-element': 'off',
'react/no-unescaped-entities': 'off',
// Disable overly strict React 19 rules that flag common valid patterns
'react-hooks/set-state-in-effect': 'off', // setMounted(true) in useEffect is valid
'react-hooks/refs': 'off', // Common ref patterns are valid
'react-hooks/immutability': 'off', // Function hoisting is fine in components
},
},
{
// Gallop governance rules - only for blocks and components
files: ['src/app/**/_blocks/**/*.tsx', 'src/components/**/*.tsx'],
plugins: {
gallop,

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC