mirror of
https://github.com/supabase/supabase.git
synced 2026-10-14 21:59:16 +03:00
Add lint warning on using default exports in the apps (except in app and pages folders).
17 lines
404 B
JavaScript
17 lines
404 B
JavaScript
module.exports = {
|
|
extends: ['prettier', 'next/core-web-vitals', 'eslint-config-turbo'],
|
|
rules: {
|
|
'@next/next/no-html-link-for-pages': 'off',
|
|
'react/jsx-key': 'off',
|
|
'no-restricted-exports': ['warn', { restrictDefaultExports: { direct: true } }],
|
|
},
|
|
overrides: [
|
|
{
|
|
files: ['pages/**', 'app/**'],
|
|
rules: {
|
|
'no-restricted-exports': 'off',
|
|
},
|
|
},
|
|
],
|
|
}
|