rushstack
rushstack copied to clipboard
[api-extractor] add preWriteContentCallback
Summary
We propose to add a function callback on extractor invoke options to modify file content just before write the report file. This could allow us to apply prettier formar and replace any absolute path on the report files without have any problems on future file changes diffs
Details
How it was tested
Impacted documentation
fix #3877
@microsoft-github-policy-service agree
@microsoft-github-policy-service agree
@Sarabadu please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.
@microsoft-github-policy-service agree [company="{your company}"]Options:
- (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
- (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
Contributor License Agreement
@microsoft-github-policy-service agree