Files
supabase/apps/www/.eslintrc.js
Ivan Vasilov 3738cebbd7 feat: Unify ESLint configs for Next.js apps (#27275)
* Move the eslint preset into a separate package.

* Import the next package into all apps. Remove redundant packages.

* Import the new eslint rules.

* Update the package-lock.
2024-06-17 12:17:01 +02:00

10 lines
238 B
JavaScript

module.exports = {
extends: ['eslint-config-supabase/next'],
rules: {
'react-hooks/rules-of-hooks': 'warn',
'react/no-unescaped-entities': 'warn',
'react/display-name': 'warn',
'react/no-children-prop': 'warn',
},
}