Skip to content

Commit 49a7a00

Browse files
author
Ives van Hoorne
committed
Default disable lint
1 parent cff4d8f commit 49a7a00

File tree

2 files changed

+2
-2
lines changed
  • src/app

2 files changed

+2
-2
lines changed

src/app/pages/Sandbox/Editor/Content/subviews/CodeEditor/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export default class CodeEditor extends React.PureComponent {
126126
}
127127
}
128128

129-
updateCodeMirrorCode(code: string) {
129+
updateCodeMirrorCode(code: string = '') {
130130
const pos = this.codemirror.getCursor();
131131
this.codemirror.setValue(code);
132132
this.codemirror.setCursor(pos);

src/app/store/preferences/reducer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const initialState: Preferences = {
3838
vimMode: getKey(VIM_MODE, false),
3939
livePreviewEnabled: getKey(LIVE_PREVIEW, true),
4040
prettifyOnSaveEnabled: getKey(PRETTIFY_ON_SAVE, false),
41-
lintEnabled: getKey(LINT_ENABLED, true),
41+
lintEnabled: getKey(LINT_ENABLED, false),
4242
};
4343

4444
export default (state = initialState, action) => {

0 commit comments

Comments
 (0)