fix javascript syntax recognizing parts of words as keywords (#2462)
This commit is contained in:
parent
5e035efbcb
commit
3d4012850a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ rules:
|
|||
- statement: "\\b(get|if|import|from|in|of|instanceof|let|new|reject|resolve|return)\\b"
|
||||
- statement: "\\b(set|static|super|switch|this|throw|try|typeof|var|void|while|with|yield)\\b"
|
||||
# reserved but unassigned
|
||||
- error: "\\b(enum|implements|interface|package|private|protected|public)"
|
||||
- error: "\\b(enum|implements|interface|package|private|protected|public)\\b"
|
||||
- constant: "\\b(globalThis|Infinity|null|undefined|NaN)\\b"
|
||||
- constant: "\\b(null|undefined|NaN)\\b"
|
||||
- constant: "\\b(true|false)\\b"
|
||||
|
|
Loading…
Reference in a new issue