Skip to content

Commit 0a1a86d

Browse files
committed
Fix: require-meta-fixable reported error
1 parent 61f8246 commit 0a1a86d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/lib/rules/require-meta-fixable.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
const rule = require('../../../lib/rules/require-meta-fixable');
1313
const RuleTester = require('eslint').RuleTester;
1414

15-
const MISSING_ERROR = [{ message: 'Fixable rules must export a `meta.fixable` property.', type: 'FunctionExpression' }];
16-
const INVALID_ERROR = [{ message: '`meta.fixable` must be either `code`, `whitespace` or `null`.', type: 'Property' }];
15+
const MISSING_ERROR = { message: 'Fixable rules must export a `meta.fixable` property.', type: 'FunctionExpression' };
16+
const INVALID_ERROR = { message: '`meta.fixable` must be either `code`, `whitespace` or `null`.', type: 'Property' };
1717

1818
// ------------------------------------------------------------------------------
1919
// Tests

0 commit comments

Comments
 (0)