graphql-engine/frontend/apps/console-ce-e2e/.eslintrc.json
Nicolas Beaussart 152cc6151c frontend: modify the code to have it work in nx
GitOrigin-RevId: e564d86de44bf81e708ca2c40bb505dec01076ce
2023-01-25 11:24:54 +00:00

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
}
]
}
}
]
}