我使用 lint-staged 和 husky 在提交之前对所有暂存文件运行 linter。但我的代码库很旧;所以暂时不想对现有(修改后的)文件运行 linter。有没有办法只针对新创建(添加)的文件运行 linter?
None