Skip to content

Commit e0d5d15

Browse files
committed
Disable an eslint warning that was insane
By default, eslint warns if you use an apostrophe in JSX text (without wrapping it in a string literal). The `eslint-plugin-react` thread about it is some typography geeks arguing about the unicode standard, and reaching the conclusion that apostrophes are actually U+2019. This is clearly insane, so disable that warning. jsx-eslint/eslint-plugin-react#894
1 parent 457b892 commit e0d5d15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.eslintrc

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@
4141
"no-console": 1,
4242
"react/prop-types": 0,
4343
"meteor/audit-argument-checks": 0,
44-
"no-case-declarations": 0
44+
"no-case-declarations": 0,
45+
"react/no-unescaped-entities": 0
4546
},
4647
"env": {
4748
"browser": true,

0 commit comments

Comments
 (0)