prettier-tslint:代码:right_arrow:漂亮的:right_arrow:tslint --fix:right_arrow:格式化的代码:sparkles:-源码

上传者: 42109545 | 上传时间: 2021-02-19 17:07:07 | 文件大小: 62KB | 文件类型: ZIP
更漂亮的 使用的格式化TypeScript。 安装 使用npm : npm install --save-dev prettier-tslint 或与yarn : yarn add --dev prettier-tslint prettier-tslint允许你安装自己的版本prettier和typescript ,所以一定要确保你已经安装了他们。 配置 prettier-tslint找到并会尊重: prettier的.prettierrc ,或任何其他配置文件这样package.json 。 prettier的.prettierignore文件。 tslint的tslint.json 。 prettier-tslint没有其他配置。 命令行界面 Commands: fix Fix one or more files check List files tha

文件下载

资源详情

[{"title":"( 39 个子文件 62KB ) prettier-tslint:代码:right_arrow:漂亮的:right_arrow:tslint --fix:right_arrow:格式化的代码:sparkles:-源码","children":[{"title":"prettier-tslint-master","children":[{"title":".eslintrc.json <span style='color:#111;'> 378B </span>","children":null,"spread":false},{"title":"yarn.lock <span style='color:#111;'> 169.98KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"run-tslint.js <span style='color:#111;'> 907B </span>","children":null,"spread":false},{"title":"create-ignorer.js <span style='color:#111;'> 442B </span>","children":null,"spread":false},{"title":"format.js <span style='color:#111;'> 4.01KB </span>","children":null,"spread":false},{"title":"utils.js <span style='color:#111;'> 620B </span>","children":null,"spread":false},{"title":"expand-globs.js <span style='color:#111;'> 201B </span>","children":null,"spread":false},{"title":"fix.js <span style='color:#111;'> 399B </span>","children":null,"spread":false},{"title":"run-prettier.js <span style='color:#111;'> 705B </span>","children":null,"spread":false},{"title":"create-program.js <span style='color:#111;'> 435B </span>","children":null,"spread":false},{"title":"index.js <span style='color:#111;'> 170B </span>","children":null,"spread":false},{"title":"cli.js <span style='color:#111;'> 1.49KB </span>","children":null,"spread":false},{"title":"check.js <span style='color:#111;'> 331B </span>","children":null,"spread":false}],"spread":false},{"title":".babelrc <span style='color:#111;'> 61B </span>","children":null,"spread":false},{"title":"CONTRIBUTING.md <span style='color:#111;'> 878B </span>","children":null,"spread":false},{"title":".travis.yml <span style='color:#111;'> 324B </span>","children":null,"spread":false},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"test","children":[{"title":".eslintrc.json <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"check.test.js <span style='color:#111;'> 595B </span>","children":null,"spread":false},{"title":"format.test.js <span style='color:#111;'> 789B </span>","children":null,"spread":false},{"title":"__snapshots__","children":[{"title":"fix.test.js.snap <span style='color:#111;'> 539B </span>","children":null,"spread":false},{"title":"format.test.js.snap <span style='color:#111;'> 479B </span>","children":null,"spread":false}],"spread":true},{"title":"fixture","children":[{"title":"good-format-good-lint.ts <span style='color:#111;'> 36B </span>","children":null,"spread":false},{"title":"ignored","children":[{"title":"not-ignored.ts <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"ignored.ts <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":false},{"title":"tslint.json <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":"bad-format-bad-lint.ts <span style='color:#111;'> 26B </span>","children":null,"spread":false},{"title":"good-format-bad-lint.ts <span style='color:#111;'> 25B </span>","children":null,"spread":false},{"title":"bad-format-good-lint.ts <span style='color:#111;'> 44B </span>","children":null,"spread":false}],"spread":true},{"title":"fix.test.js <span style='color:#111;'> 923B </span>","children":null,"spread":false},{"title":"prettierignore.test.js <span style='color:#111;'> 793B </span>","children":null,"spread":false}],"spread":true},{"title":".prettierrc <span style='color:#111;'> 29B </span>","children":null,"spread":false},{"title":"__mocks__","children":[{"title":".eslintrc.json <span style='color:#111;'> 35B </span>","children":null,"spread":false},{"title":"fs.js <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true},{"title":"README.md <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 24B </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"prettier-tslint.js <span style='color:#111;'> 99B </span>","children":null,"spread":false}],"spread":true},{"title":".eslintignore <span style='color:#111;'> 18B </span>","children":null,"spread":false},{"title":"package.json <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明