Kaynağa Gözat

关闭了Import必须排序的问题

Kevin 6 yıl önce
ebeveyn
işleme
4d4ac9a1af
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      README.md
  2. 1 1
      index.js

+ 1 - 1
README.md

@@ -741,7 +741,7 @@ npm install --save-dev git+https://git.geteasy.info/GetEasy/tslint-config.git
             <td>变量申明<strong style="color:#267fd9; font-weight:600;">必须</strong>每行一个,<code>for</code> 循环的初始条件中除外</td>
         </tr>
         <tr>
-            <td></td>
+            <td></td>
             <td><a href="https://palantir.github.io/tslint/rules/ordered-imports/">ordered-imports</a></td>
             <td><code>import</code> <strong style="color:#267fd9; font-weight:600;">必须</strong>排序</td>
         </tr>

+ 1 - 1
index.js

@@ -909,7 +909,7 @@ module.exports = {
          * @description import 必须排序
          * @has-fixer 支持自动修复
          */
-        'ordered-imports': true,
+        'ordered-imports': false,
         /**
          * @category style
          * @description 类中没有使用 this 的方法应该提取成类外的函数