Skip to content

Commit 2f9b2b0

Browse files
authored
Fix: Remove erroneous schema from require-meta-schema rule (#178)
1 parent 30bb8e2 commit 2f9b2b0

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

lib/rules/require-meta-schema.js

+1-11
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,7 @@ module.exports = {
1616
recommended: false, // TODO: enable it in a major release.
1717
},
1818
fixable: 'code',
19-
schema: [
20-
{
21-
type: 'object',
22-
properties: {
23-
exceptRange: {
24-
type: 'boolean',
25-
},
26-
},
27-
additionalProperties: false,
28-
},
29-
],
19+
schema: [],
3020
messages: {
3121
foundOptionsUsage: '`meta.schema` has no schema defined but rule has options.',
3222
missing: '`meta.schema` is required (use [] if rule has no schema).',

0 commit comments

Comments
 (0)