vega-frontend-monorepo/libs/utils/.eslintrc.json

50 lines
1.0 KiB
JSON

{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*", "__generated__"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"no-restricted-imports": [
"error",
{
"paths": [
"error",
"@apollo/client",
"@vegaprotocol/data-provider",
"ag-grid-react",
"ag-grid-community",
"graphql",
"graphql-tag",
"graphql-ws",
"ethers",
"@ethersproject"
],
"patterns": ["@sentry/*"]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"rules": {}
},
{
"files": ["*.json"],
"parser": "jsonc-eslint-parser",
"rules": {
"@nx/dependency-checks": [
"error",
{
"ignoredFiles": ["{projectRoot}/rollup.config.{js,ts,mjs,mts}"]
}
]
}
}
]
}