eslint ,eslintrc,.eslintignore 及 如果有eslint错误,git 不能提交代码
对所有js文件进行校验安装pre-commit插件的依赖npmi--save-devpre-commit1package.json{"name":"nodetest","version":"1.0.0","description":"","main":"index.js","scripts":{"lint":"eslint.--fix",//对所有文件进行校验,及补缺"lint:create":"