Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed May 10, 2020
1 parent 2a3d29b commit 2a8dad1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/rules/html-comment-content-newline.js
Expand Up @@ -37,7 +37,7 @@ module.exports = {

docs: {
description: 'enforce unified line brake in HTML comments',
category: undefined,
categories: undefined,
url: 'https://eslint.vuejs.org/rules/html-comment-content-newline.html'
},
fixable: 'whitespace',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-comment-content-spacing.js
Expand Up @@ -20,7 +20,7 @@ module.exports = {

docs: {
description: 'enforce unified spacing in HTML comments',
category: undefined,
categories: undefined,
url: 'https://eslint.vuejs.org/rules/html-comment-content-spacing.html'
},
fixable: 'whitespace',
Expand Down
2 changes: 1 addition & 1 deletion lib/rules/html-comment-indent.js
Expand Up @@ -70,7 +70,7 @@ module.exports = {

docs: {
description: 'enforce consistent indentation in HTML comments',
category: undefined,
categories: undefined,
url: 'https://eslint.vuejs.org/rules/html-comment-indent.html'
},
fixable: 'whitespace',
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/html-comment-content-newline.js
Expand Up @@ -9,7 +9,7 @@ const rule = require('../../../lib/rules/html-comment-content-newline')
const RuleTester = require('eslint').RuleTester

const tester = new RuleTester({
parser: 'vue-eslint-parser',
parser: require.resolve('vue-eslint-parser'),
parserOptions: {
ecmaVersion: 2015
}
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/html-comment-content-spacing.js
Expand Up @@ -9,7 +9,7 @@ const rule = require('../../../lib/rules/html-comment-content-spacing')
const RuleTester = require('eslint').RuleTester

const tester = new RuleTester({
parser: 'vue-eslint-parser',
parser: require.resolve('vue-eslint-parser'),
parserOptions: {
ecmaVersion: 2015
}
Expand Down
2 changes: 1 addition & 1 deletion tests/lib/rules/html-comment-indent.js
Expand Up @@ -9,7 +9,7 @@ const rule = require('../../../lib/rules/html-comment-indent')
const RuleTester = require('eslint').RuleTester

const tester = new RuleTester({
parser: 'vue-eslint-parser',
parser: require.resolve('vue-eslint-parser'),
parserOptions: {
ecmaVersion: 2015
}
Expand Down
1 change: 1 addition & 0 deletions tests/lib/utils/html-comments.js
Expand Up @@ -36,6 +36,7 @@ function tokenize (code, option) {
result.push(commentTokens)
})
)
linter.defineParser('vue-eslint-parser', require('vue-eslint-parser'))
linter.verify(
code,
{
Expand Down

0 comments on commit 2a8dad1

Please sign in to comment.