mirror of
https://github.com/owncast/owncast.git
synced 2024-11-27 17:59:21 +03:00
12 lines
319 B
JavaScript
12 lines
319 B
JavaScript
|
// ESLint rules specific to writing NextJS Pages.
|
||
|
|
||
|
module.exports = {
|
||
|
rules: {
|
||
|
// We don't care which syntax is used for NextPage definitions.
|
||
|
'react/function-component-definition': 'off',
|
||
|
|
||
|
// The default export is used by NextJS when rendering pages.
|
||
|
'import/prefer-default-export': 'error',
|
||
|
},
|
||
|
};
|