vega-frontend-monorepo/libs/react-helpers/.eslintrc.json
2023-05-09 09:04:33 +01:00

32 lines
681 B
JSON

{
"extends": ["plugin:@nrwl/nx/react", "../../.eslintrc.json"],
"ignorePatterns": ["!**/*", "__generated__", "__generated___"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"no-restricted-imports": [
"error",
"@apollo/client",
"@vegaprotocol/data-provider",
"ag-grid-react",
"ag-grid-community",
"graphql",
"graphql-tag",
"graphql-ws",
"ethers",
"@ethersproject"
]
}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
}
]
}