blog note --ext 这个选项允许你指定 ESLint 在指定的目录下查找 JavaScript 文件时要使用的文件扩展名 antd 自定义主题 ["import", { "libraryName": "antd", "style": true }] 注意 "style": true