Fix linting issues.

This commit is contained in:
Dorian 2017-09-22 23:16:22 -04:00
parent 96ba089d89
commit 3e8190537e
11 changed files with 123 additions and 123 deletions

View File

@ -63,8 +63,8 @@
"react/jsx-filename-extension": 0, "react/jsx-filename-extension": 0,
"react/jsx-equals-spacing": 1, "react/jsx-equals-spacing": 1,
"react/jsx-handler-names": 1, "react/jsx-handler-names": 1,
"react/jsx-indent-props": 1, "react/jsx-indent-props": [1, 2],
"react/jsx-indent": 1, "react/jsx-indent": [1, 2],
"react/jsx-key": 1, "react/jsx-key": 1,
"react/jsx-max-props-per-line": 0, "react/jsx-max-props-per-line": 0,
"react/jsx-no-bind": 1, "react/jsx-no-bind": 1,

View File

@ -16,7 +16,7 @@ import PropTypes from "prop-types";
see issue https://github.com/JedWatson/react-codemirror/issues/34 see issue https://github.com/JedWatson/react-codemirror/issues/34
Also add in the themes in the CSS to get proper theming support. Also add in the themes in the CSS to get proper theming support.
*/ */
import CodeMirror from "react-codemirror"; import CodeMirror from "react-codemirror2";
// TODO: Figure out how to work around this import. // TODO: Figure out how to work around this import.
// Workaround for rendering CodeMirror server-side // Workaround for rendering CodeMirror server-side