mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-15 09:22:43 +03:00
152cc6151c
GitOrigin-RevId: e564d86de44bf81e708ca2c40bb505dec01076ce
30 lines
823 B
JSON
30 lines
823 B
JSON
{
|
|
"extends": [
|
|
"plugin:cypress/recommended",
|
|
"../../.eslintrc.json",
|
|
"plugin:chai-friendly/recommended"
|
|
],
|
|
"ignorePatterns": ["!**/*"],
|
|
"overrides": [
|
|
{
|
|
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
"rules": {
|
|
// TODO: restore it to "error". At the beginning of the Nx migration, we must keep it as is because
|
|
// of the huge number of cy.wait() around the legacy tests
|
|
"cypress/no-unnecessary-waiting": "warn",
|
|
"@typescript-eslint/no-var-requires": "warn",
|
|
"@typescript-eslint/no-empty-function": "warn",
|
|
|
|
"no-underscore-dangle": "off",
|
|
"@typescript-eslint/no-unused-expressions": "off",
|
|
"no-plusplus": [
|
|
"error",
|
|
{
|
|
"allowForLoopAfterthoughts": true
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|