Fix linting issues.
This commit is contained in:
parent
96ba089d89
commit
3e8190537e
|
@ -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,
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue