diff --git a/.eslintrc.json b/.eslintrc.json index 9a7bed71..5c433f50 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,7 +15,6 @@ "plugin:mocha/recommended" ], "rules": { - "eslint-plugin/require-meta-schema": "off", "n/no-extraneous-require": [ "error", { diff --git a/lib/rules/no-async-before.js b/lib/rules/no-async-before.js index b8f45052..d83144f1 100644 --- a/lib/rules/no-async-before.js +++ b/lib/rules/no-async-before.js @@ -8,6 +8,7 @@ module.exports = { category: 'Possible Errors', recommended: true, }, + schema: [], messages: { unexpected: 'Avoid using async functions with Cypress before / beforeEach functions', }, diff --git a/lib/rules/no-async-tests.js b/lib/rules/no-async-tests.js index 9b505260..bb155479 100644 --- a/lib/rules/no-async-tests.js +++ b/lib/rules/no-async-tests.js @@ -8,6 +8,7 @@ module.exports = { category: 'Possible Errors', recommended: true, }, + schema: [], messages: { unexpected: 'Avoid using async functions with Cypress tests', },