RandomSec/main/tests/cypress/.eslintrc.json
Kush Trivedi 859828a0f0
feat: add ESLint configuration for cypress-test-suite (#3564)
* feat: Initialise ES-Lint for cypress
2021-02-07 18:53:13 +01:00

29 lines
623 B
JSON

{
"env": {
"browser": true,
"node": true,
"es2021": true,
"cypress/globals": true
},
"plugins": ["cypress"],
"extends": [
"google",
"eslint:recommended",
"plugin:cypress/recommended",
"prettier"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"max-len": ["error", { "code": 150 }],
"valid-jsdoc": "off",
"cypress/no-assigning-return-values": "error",
"cypress/no-unnecessary-waiting": "error",
"cypress/assertion-before-screenshot": "warn",
"cypress/no-force": "warn",
"cypress/no-async-tests": "error"
}
}