Skip to content

Commit

Permalink
Merge pull request #370 from tmcw/patch-1
Browse files Browse the repository at this point in the history
Fix typo in jsx-no-literals documentation
  • Loading branch information
yannickcr committed Dec 23, 2015
2 parents 2e02153 + d239562 commit f428419
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/rules/jsx-no-literals.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Prevent usage of unwrapped JSX strings (jsx-no-literals)

In JSX when using a literal string you can wrap it in a JSX container `{'TEXT'}`.
This rules requies that you wrap all literal strings.
This rules requires that you wrap all literal strings.
Prevents any odd artifacts of highlighters if your unwrapped string contains an enclosing character like `'` in contractions and enforces consistency.

## Rule Details
Expand Down

0 comments on commit f428419

Please sign in to comment.