Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

Commit

Permalink
Update README with new options for quotemark rule.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Killian committed Jan 15, 2016
1 parent c076ddd commit d4ed81b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ A sample configuration file with all options is available [here](https://github.
* `quotemark` enforces consistent single or double quoted string literals. Rule options (at least one of `"double"` or `"single"` is required):
* `"single"` enforces single quotes.
* `"double"` enforces double quotes.
* `"jsx-single"` enforces single quotes for JSX attributes.
* `"jsx-double"` enforces double quotes for JSX attributes.
* `"avoid-escape"` allows you to use the "other" quotemark in cases where escaping would normally be required. For example, `[true, "double", "avoid-escape"]` would not report a failure on the string literal `'Hello "World"'`.
* `radix` enforces the radix parameter of `parseInt`.
* `semicolon` enforces semicolons at the end of every statement.
Expand Down

0 comments on commit d4ed81b

Please sign in to comment.