diff --git a/web/.eslintrc b/web/.eslintrc index c3fce332..ecb5af06 100644 --- a/web/.eslintrc +++ b/web/.eslintrc @@ -51,6 +51,7 @@ "no-multiple-empty-lines": ["error", { "max": 1, "maxBOF": 0, "maxEOF": 0 }], "space-unary-ops": ["error", { "words": true, "nonwords": false }], "space-infix-ops": "error", + "key-spacing": ["error", { "beforeColon": false, "afterColon": true }], "react/prop-types": "off", diff --git a/web/src/App.js b/web/src/App.js index 6f980693..e5e7d3ee 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -566,7 +566,7 @@ class App extends Component { renderContent() { if (!Setting.isMobile()) { return ( -