Skip to content

Commit

Permalink
fix(eslint-plugin): fix crash in rule indent for eslint 5.12.1 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
armano2 authored and JamesHenry committed Jan 20, 2019
1 parent 2df5e0c commit 3f51d51
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/eslint-plugin/lib/rules/indent.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ module.exports = Object.assign({}, baseRule, {
url: util.metaDocsUrl('indent')
},
fixable: 'whitespace',
schema: baseRule.meta.schema
schema: baseRule.meta.schema,
messages: baseRule.meta.messages
},

create(context) {
Expand Down
3 changes: 2 additions & 1 deletion packages/eslint-plugin/lib/rules/no-unused-vars.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ module.exports = Object.assign({}, baseRule, {
url: util.metaDocsUrl('no-unused-vars'),
recommended: 'warn'
},
schema: baseRule.meta.schema
schema: baseRule.meta.schema,
messages: baseRule.meta.messages
},

create(context) {
Expand Down

0 comments on commit 3f51d51

Please sign in to comment.