Skip to content

Commit

Permalink
chore: eslint/prettier config jsx quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
omarhoumz committed Dec 23, 2019
1 parent 71f8a7f commit 8dd0bc3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"rules": {
"semi": ["error", "never"],
"object-property-newline": 2,
"jsx-quotes": ["error", "prefer-single"],
"object-curly-newline": [
"error",
{
Expand Down
5 changes: 3 additions & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@
"tabWidth": 2,
"trailingComma": "all",
"semi": false,
"singleQuote": true
}
"singleQuote": true,
"jsxSingleQuote": true
}

0 comments on commit 8dd0bc3

Please sign in to comment.