0.0.4 • Published 8 years ago

check-files-pre-commit v0.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

check-files-pre-commit

有一些配置文件只能在本地修改,不能够提交到代码库当中,check-files 可以在 pre-commit hook 中检查是否有这类文件被修改,需要结合 pre-commit 模块使用,配置方式:

{
  "scripts": {
    "check-files": "check-files path/to/file1 path/to/file2"
  },
  "pre-commit": ["check-files"]
}
0.0.4

8 years ago

0.0.3

8 years ago