Skip to content

Commit 76900cf

Browse files
committed
clearing instead of cleaning
1 parent 4ba1cba commit 76900cf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/rules/no-inner-html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ module.exports = {
2323
context.report({
2424
node,
2525
message:
26-
'Using innerHTML poses a potential security risk and should not be used other than cleaning content.'
26+
'Using innerHTML poses a potential security risk and should not be used other than clearing content.'
2727
})
2828
}
2929
}

tests/no-inner-html.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ruleTester.run('no-innter-html', rule, {
1515
errors: [
1616
{
1717
message:
18-
'Using innerHTML poses a potential security risk and should not be used other than cleaning content.',
18+
'Using innerHTML poses a potential security risk and should not be used other than clearing content.',
1919
type: 'AssignmentExpression'
2020
}
2121
]
@@ -25,7 +25,7 @@ ruleTester.run('no-innter-html', rule, {
2525
errors: [
2626
{
2727
message:
28-
'Using innerHTML poses a potential security risk and should not be used other than cleaning content.',
28+
'Using innerHTML poses a potential security risk and should not be used other than clearing content.',
2929
type: 'AssignmentExpression'
3030
}
3131
]

0 commit comments

Comments
 (0)