posts - 148,  comments - 4,  views - 15万
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8
02 2021 档案
eslint整理
摘要:使用airbnb规范 /** * https://www.npmjs.com/package/eslint-config-airbnb-typescript */上安装 参考上述链接 @typescript-eslint/eslint-plugin @typescript-eslint/parser 阅读全文
posted @ 2021-02-05 11:25 执候 阅读(579) 评论(0) 推荐(0) 编辑
对typescript tsconfig.json配置的整理
摘要:首先安装typescriptnpm install typescript --savetsconfig.json 1 { 2 "compilerOptions": { 3 "baseUrl": ".", // 工作根目录 4 "rootDir": "src",// 用来指定编译文件的根目录,编译器会 阅读全文
posted @ 2021-02-04 10:42 执候 阅读(597) 评论(0) 推荐(0) 编辑
自定义commit提交
摘要:首先安装1、npm install --save-dev husky然后在package.json里面加入 1 "husky": { 2 "hooks": { 3 "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" 4 } 5 }, 2、npm instal 阅读全文
posted @ 2021-02-03 20:01 执候 阅读(425) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示