Explorar o código

apply default config

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
81f66fc397

+ 1 - 1
packages/app/src/components/PageEditor/CodeMirrorEditor.jsx

@@ -232,7 +232,7 @@ export default class CodeMirrorEditor extends AbstractEditor {
 
   initTextlintSettings() {
     this.textlintValidator = createValidator(this.textlintConfig);
-    this.codemirrorLintConfig = this.props.isTextlintEnabled ? { getAnnotations: this.textlintValidator, async: true } : undefined;
+    this.codemirrorLintConfig = { getAnnotations: this.textlintValidator, async: true };
   }
 
   getCodeMirror() {