📜  eslint 缺少文件扩展名 ts - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:18.586000             🧑  作者: Mango

代码示例1
"rules": {
   "import/extensions": [
      "error",
      "ignorePackages",
      {
        "js": "never",
        "jsx": "never",
        "ts": "never",
        "tsx": "never"
      }
   ]
}