This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[quotemark] Exclude some cases from backtick rule (#4693)
* [quotemark] Exclude some cases from backtick rule This commit makes quotemark backtick ignore use strict declarations, enum members, lookup types, and strings containing octal escape sequences. * [quotemark] Fix comment on use strict check call I had copy pasted and forgotten to change it. This changes that comment. * Revert unrelated change, fix octal escape sequence check This commit makes it so that if a string has a literal backslash instead of an actual octal escape sequence, it is not flagged.
- Loading branch information
Showing
3 changed files
with
169 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters