Procházet zdrojové kódy

remove textlint rule terminology

Steven Fukase před 4 roky
rodič
revize
543491cd2f

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

@@ -189,7 +189,6 @@ export default class CodeMirrorEditor extends AbstractEditor {
       { name: 'period-in-list-item' },
       { name: 'prefer-tari-tari' },
       { name: 'sentence-length' },
-      { name: 'terminology' },
       { name: 'use-si-units' },
     ];
 

+ 0 - 1
packages/codemirror-textlint/package.json

@@ -48,7 +48,6 @@
     "textlint-rule-period-in-list-item": "^0.3.2",
     "textlint-rule-prefer-tari-tari": "^1.0.3",
     "textlint-rule-sentence-length": "^3.0.0",
-    "textlint-rule-terminology": "^2.1.5",
     "textlint-rule-use-si-units": "^1.0.2"
   },
   "peerDependencies": {

+ 0 - 2
packages/codemirror-textlint/src/index.ts

@@ -27,7 +27,6 @@ import textlintRuleNoZeroWidthSpaces from 'textlint-rule-no-zero-width-spaces';
 import textlintRulePeriodInListItem from 'textlint-rule-period-in-list-item';
 import textlintRulePreferTariTari from 'textlint-rule-prefer-tari-tari';
 import textlintRuleSentenceLength from 'textlint-rule-sentence-length';
-import textlintRuleTerminology from 'textlint-rule-terminology';
 import textlintRuleUseSiUnits from 'textlint-rule-use-si-units';
 
 import { AsyncLinter, Annotation } from 'codemirror/addon/lint/lint';
@@ -70,7 +69,6 @@ const ruleModulesList = {
   'period-in-list-item': textlintRulePeriodInListItem,
   'prefer-tari-tari': textlintRulePreferTariTari,
   'sentence-length': textlintRuleSentenceLength,
-  terminology: textlintRuleTerminology,
   'use-si-units': textlintRuleUseSiUnits,
 };
 

+ 0 - 9
yarn.lock

@@ -20334,15 +20334,6 @@ textlint-rule-sentence-length@^3.0.0:
     textlint-rule-helper "^2.1.1"
     textlint-util-to-string "^3.1.1"
 
-textlint-rule-terminology@^2.1.5:
-  version "2.1.5"
-  resolved "https://registry.yarnpkg.com/textlint-rule-terminology/-/textlint-rule-terminology-2.1.5.tgz#21aaed9409e031f71fd450d024b6de9590be2489"
-  integrity sha512-VW+ea4ByLPddSUqoFkVVJF8zWnO8kqKwvC681wGFAjI4CYz9WhjEQH1ikhoEHXnd5AFXNArcjyoa8hoihrXy0w==
-  dependencies:
-    lodash "^4.17.15"
-    strip-json-comments "^3.0.1"
-    textlint-rule-helper "^2.1.1"
-
 textlint-rule-use-si-units@^1.0.2:
   version "1.0.2"
   resolved "https://registry.yarnpkg.com/textlint-rule-use-si-units/-/textlint-rule-use-si-units-1.0.2.tgz#d1871a4c0657af02e542c30a445b1984191fb151"