Skip to content

Commit

Permalink
new-rule/template: Use destructuring for ERROR_MESSAGE import
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Aug 14, 2020
1 parent 4425b94 commit 9f088a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/new-rule/templates/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

const generateRuleTests = require('../../helpers/rule-test-harness');

const ERROR_MESSAGE = require('../../../lib/rules/placeholder-for-dasherized-rule').ERROR_MESSAGE;
const { ERROR_MESSAGE } = require('../../../lib/rules/placeholder-for-dasherized-rule');

generateRuleTests({
name: 'placeholder-for-dasherized-rule',
Expand Down

0 comments on commit 9f088a9

Please sign in to comment.