@aaa-backend-stack/tslint-rules 中文文档教程

发布于 4年前 浏览 20 项目主页 更新于 3年前

aaa-backend-stack package

这个包在 aaa-backend-stack monorepo 中管理。

How to create a new tslint rule

  • Create a new file src/myLintRule.ts
  • The name of the rule in tslint.json will be derived from the file name. E.g. noNewDateRule.js will be referenced as no-new-date in tslint.json
  • For a short description of how to write the rule look here
  • For more detailed examples look at Microsoft's internal tslint rules

aaa-backend-stack package

This packaged is managed inside the aaa-backend-stack monorepo.

How to create a new tslint rule

  • Create a new file src/myLintRule.ts
  • The name of the rule in tslint.json will be derived from the file name. E.g. noNewDateRule.js will be referenced as no-new-date in tslint.json
  • For a short description of how to write the rule look here
  • For more detailed examples look at Microsoft's internal tslint rules
    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文