修改文件夹下的 crlf 行尾符为 lf使用 npm i cr2lf然后在命令行运行即可参数 -i --ignore: 忽略转换的文件或文件夹, node_modules 默认忽略4 dependencies2 dependents4 versionschalkcommandercrlf-normalizefast-glob@everything-registry/sub-chunk-1395@zalastax/nolb-cr21.0.24 years ago1.0.14 years ago1.0.34 years ago1.0.04 years ago