From c661fd3c328af0d308fb0413e14b42294b2be3ac Mon Sep 17 00:00:00 2001 From: Bryan Mishkin <698306+bmish@users.noreply.github.com> Date: Wed, 22 Sep 2021 23:01:53 -0400 Subject: [PATCH] Fix: Remove erroneous schema from require-meta-schema rule --- lib/rules/require-meta-schema.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/lib/rules/require-meta-schema.js b/lib/rules/require-meta-schema.js index f5174a1a..8be7d6c2 100644 --- a/lib/rules/require-meta-schema.js +++ b/lib/rules/require-meta-schema.js @@ -16,17 +16,7 @@ module.exports = { recommended: false, // TODO: enable it in a major release. }, fixable: 'code', - schema: [ - { - type: 'object', - properties: { - exceptRange: { - type: 'boolean', - }, - }, - additionalProperties: false, - }, - ], + schema: [], messages: { foundOptionsUsage: '`meta.schema` has no schema defined but rule has options.', missing: '`meta.schema` is required (use [] if rule has no schema).',