摘要:
# Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* lerna-debug.log* .idea/ .DS_Store/ build/ node_modules/ dist/* !dist/dll package-lock 阅读全文
摘要:
1. 项目中集成eslint 全局安装eslint,同时作为项目依赖安装。 cnpm i eslint -g cnpm i eslint -D 生成eslint配置文件 eslint --init 生成 .eslintrc.js (选择react Airbnb扩展) module.exports = 阅读全文