Przeglądaj źródła

added changes from other branch

Steven Fukase 4 lat temu
rodzic
commit
dc5a1a3124

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

@@ -160,36 +160,7 @@ export default class CodeMirrorEditor extends AbstractEditor {
 
     // TODO: Get configs from db
     this.isTextlintEnabled = true;
-
-    this.textlintConfig = [
-      { name: 'no-unmatched-pair' },
-      { name: 'common-misspellings' },
-      { name: 'date-weekday-mismatch' },
-      { name: 'en-capitalization' },
-      { name: 'ja-hiragana-keishikimeishi' },
-      { name: 'ja-no-abusage' },
-      { name: 'ja-no-inappropriate-words' },
-      { name: 'ja-no-mixed-period' },
-      { name: 'ja-no-redundant-expression' },
-      { name: 'ja-unnatural-alphabet' },
-      { name: 'max-comma' },
-      { name: 'max-kanji-continuous-len' },
-      { name: 'max-ten' },
-      { name: 'no-double-negative-ja' },
-      { name: 'no-doubled-conjunction' },
-      { name: 'no-doubled-joshi' },
-      { name: 'no-dropping-the-ra' },
-      { name: 'no-hankaku-kana' },
-      { name: 'no-kangxi-radicals' },
-      { name: 'no-mixed-zenkaku-and-hankaku-alphabet' },
-      { name: 'no-nfd' },
-      { name: 'no-surrogate-pair' },
-      { name: 'no-zero-width-spaces' },
-      { name: 'period-in-list-item' },
-      { name: 'prefer-tari-tari' },
-      { name: 'sentence-length' },
-      { name: 'use-si-units' },
-    ];
+    // this.textlintConfig = [];
 
     this.interceptorManager = new InterceptorManager();
     this.interceptorManager.addInterceptors([