Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Mu committed Sep 30, 2015
1 parent a7bca9c commit 96ef7fa
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,6 +1,6 @@
# Prevent usage of unwrapped JSX strings (jsx-no-literals)

In JSX when using a literal string you can wrap it in a JXS container `{'TEXT'}`.
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.
Prevents any odd artifacts of highlighters if you unwrapped string contains a enclsoing character like `'` in contractions and enforces consistency.

Expand Down

0 comments on commit 96ef7fa

Please sign in to comment.