Skip to content

Commit 6b69437

Browse files
gabrielboliveiramichalsnik
authored andcommitted
Fix should typo (#33)
1 parent 1dc567b commit 6b69437

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: lib/rules/html-no-self-closing.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function create (context) {
2929
context.report({
3030
node,
3131
loc: node.loc,
32-
message: 'Self-closing shuld not be used.',
32+
message: 'Self-closing should not be used.',
3333
fix: (fixer) => fixer.removeRange([pos, pos + 1])
3434
})
3535
}

Diff for: tests/lib/rules/html-no-self-closing.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,19 @@ tester.run('html-no-self-closing', rule, {
4545
filename: 'test.vue',
4646
code: '<template><div><br/></div></template>',
4747
output: '<template><div><br></div></template>',
48-
errors: ['Self-closing shuld not be used.']
48+
errors: ['Self-closing should not be used.']
4949
},
5050
{
5151
filename: 'test.vue',
5252
code: '<template><div><input/></div></template>',
5353
output: '<template><div><input></div></template>',
54-
errors: ['Self-closing shuld not be used.']
54+
errors: ['Self-closing should not be used.']
5555
},
5656
{
5757
filename: 'test.vue',
5858
code: '<template><div><div/></div></template>',
5959
output: '<template><div><div></div></template>',
60-
errors: ['Self-closing shuld not be used.']
60+
errors: ['Self-closing should not be used.']
6161
}
6262
]
6363
})

0 commit comments

Comments
 (0)