浏览代码

Merge pull request #72 from jtpio/sorted-imports

Add tslint config for sorted imports
Afshin Taylor Darian 5 年之前
父节点
当前提交
c9a0988a56
共有 1 个文件被更改,包括 7 次插入0 次删除
  1. 7 0
      tslint.json

+ 7 - 0
tslint.json

@@ -109,6 +109,13 @@
       "check-operator",
       "check-operator",
       "check-separator",
       "check-separator",
       "check-type"
       "check-type"
+    ],
+    "ordered-imports": [
+      true,
+      {
+        "import-sources-order": "lowercase-last",
+        "named-imports-order": "lowercase-first"
+      }
     ]
     ]
   },
   },
   "linterOptions": {
   "linterOptions": {