2022-02-11 13:56:28 +00:00
|
|
|
{
|
|
|
|
"extends": [
|
2023-07-04 11:01:25 +00:00
|
|
|
"plugin:@nx/react-typescript",
|
2022-02-11 13:56:28 +00:00
|
|
|
"../../.eslintrc.json",
|
|
|
|
"next",
|
|
|
|
"next/core-web-vitals"
|
|
|
|
],
|
2022-12-08 21:13:30 +00:00
|
|
|
"ignorePatterns": ["!**/*", "__generated__"],
|
2022-02-11 13:56:28 +00:00
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
|
|
"rules": {
|
2022-11-08 07:23:38 +00:00
|
|
|
"@next/next/no-html-link-for-pages": ["error", "apps/trading/pages"],
|
|
|
|
"no-restricted-imports": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"name": "next/link",
|
|
|
|
"message": "Please Link from react-router-dom instead"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "next/router",
|
|
|
|
"message": "Please use routing hooks from react-router-dom instead"
|
|
|
|
}
|
|
|
|
]
|
2022-02-11 13:56:28 +00:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.ts", "*.tsx"],
|
|
|
|
"rules": {}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.js", "*.jsx"],
|
|
|
|
"rules": {}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"env": {
|
|
|
|
"jest": true
|
|
|
|
}
|
|
|
|
}
|