test: disable cypress wait check
we disable this check until it is fixed in upstream.
@@ -6,9 +6,14 @@ const rules = Object.keys(reactEslint.rules).reduce((acc, cur) => {
acc[cur] = reactEslint.rules[cur];
return acc;
}, {});
+delete reactEslint.settings;
module.exports = {
...reactEslint,
+ env: {
+ ...reactEslint.env,
+ 'cypress/globals': true,
+ },
extends: [
'plugin:cypress/recommended',
'eslint:recommended',
@@ -20,9 +25,9 @@ module.exports = {
'import',
'sort-keys-fix',
],
- env: {
- ...reactEslint.env,
- 'cypress/globals': true,
+ rules: {
+ ...rules,
+ // disable until https://github.com/cypress-io/eslint-plugin-cypress/issues/43 is resolved.
+ 'cypress/no-unnecessary-waiting': 'off',
},
- rules,
};
