sasjs / lint

Linting and formatting for SAS® code

Home Page:https://sasjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customise the default code header in the vs sasjs code extension

argenx-pmason opened this issue · comments

In the vs code extension you can format the code to have certain things fixed by the linting process. One thing that is done is that a doxygen compliant header is added if you dont have a header. I would like to be able to customise the header that is used to match our company standards.

Proposal - a new attribute in the .sasjslint file with a default header as follows:

"defaultHeader": "/**\n    @file\n    @brief <Your brief here>\n    <h4> SAS Macros </h4>\n**/"

That looks like it would satisfy my requirement.

🎉 This issue has been resolved in version 1.13.0 🎉

The release is available on:

Your semantic-release bot 📦🚀