@aaa-backend-stack/tslint-rules 中文文档教程
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