Skip to content

Commit b58cdf8

Browse files
authored
fix(attribute-hyphenation): skip auto-fix when suffixed with .sync
1 parent 0fbe35e commit b58cdf8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/rules/attribute-hyphenation.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,10 @@ module.exports = {
104104
if (/^[A-Z]/.test(name)) {
105105
return null
106106
}
107+
108+
if(text.endsWith('.sync')) {
109+
return null
110+
}
107111

108112
return fixer.replaceText(
109113
node.key,

0 commit comments

Comments
 (0)