forked from palantir/tslint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a relax option "avoid-escape" for quotemark
This rule allow to use "other" quote mark for escaping. It is similar to the "escape" option of JSCS or the "avoid-escape" option of ESLint. > Allow the "other" quote mark to be used, but only to avoid having to escape. > > from "JSCS - validateQuoteMarks rule" > http://jscs.info/rule/validateQuoteMarks.html > The third parameter enables an exception to the rule to avoid escaping > quotes. > > from "Rule quotes - ESLint - Pluggable JavaScript linter" > http://eslint.org/docs/rules/quotes Related palantir#543
- Loading branch information
Showing
5 changed files
with
49 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
var single = 'single'; | ||
var doublee = "married"; | ||
var singleWithinDouble = "'singleWithinDouble'"; | ||
var doubleWithinSingle = '"doubleWithinSingle"'; |
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