Skip to content
This repository has been archived by the owner on Feb 6, 2019. It is now read-only.

Commit

Permalink
Update eslint settings for jsx-quotes
Browse files Browse the repository at this point in the history
1) jsx-quotes is now part of ESLint itself:
jsx-eslint/eslint-plugin-react#217
2) setting jsx-quotes to "prefer-single", i.e. single quote unless
the string contains a single quote.
  • Loading branch information
ezmiller committed Mar 13, 2016
1 parent ee255c9 commit 1f30f18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beavy/jsbeavy/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
},
"rules": {
"react/jsx-boolean-value": 2,
"react/jsx-quotes": 2,
"jsx-quotes": [2, "prefer-single"],
"react/jsx-no-undef": 2,
"react/jsx-sort-props": 0,
"react/jsx-sort-prop-types": 0,
Expand Down

0 comments on commit 1f30f18

Please sign in to comment.