diff --git a/.eslintrc.json b/.eslintrc.json index 08dcfe7..0f669c7 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,7 +10,8 @@ "specialLink": ["to"] }], "react/prop-types": [0], - "jsx-a11y/click-events-have-key-events": [0] + "jsx-a11y/click-events-have-key-events": [0], + "quote-props": ["error", "consistent"] }, "plugins": ["jest"] } diff --git a/src/actions/index.js b/src/actions/index.js index 8eab732..08b2349 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -50,7 +50,7 @@ export const postSnippet = (snippet, onSuccess) => dispatch => ( fetch('http://api.xsnippet.org/snippets', { method: 'POST', headers: { - Accept: 'application/json', + 'Accept': 'application/json', 'Content-Type': 'application/json', }, body: JSON.stringify(snippet),