mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
21 lines
428 B
JavaScript
21 lines
428 B
JavaScript
import nextCoreWebVitals from 'eslint-config-next/core-web-vitals';
|
|
import nextTypescript from 'eslint-config-next/typescript';
|
|
|
|
const eslintConfig = [
|
|
...nextCoreWebVitals,
|
|
...nextTypescript,
|
|
{
|
|
rules: {
|
|
'react-hooks/set-state-in-effect': 'off',
|
|
'react-hooks/incompatible-library': 'off',
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: '19.2',
|
|
},
|
|
},
|
|
},
|
|
];
|
|
|
|
export default eslintConfig;
|