mirror of
https://github.com/sasjs/lint.git
synced 2025-12-10 09:34:34 +00:00
fix: README update (to trigger release with new GH_TOKEN)
This commit is contained in:
16
README.md
16
README.md
@@ -21,7 +21,6 @@ Configuration is via a `.sasjslint` file with the following structure (these are
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"noEncodedPasswords": true,
|
|
||||||
"hasDoxygenHeader": true,
|
"hasDoxygenHeader": true,
|
||||||
"hasMacroNameInMend": true,
|
"hasMacroNameInMend": true,
|
||||||
"hasMacroParentheses": true,
|
"hasMacroParentheses": true,
|
||||||
@@ -34,6 +33,7 @@ Configuration is via a `.sasjslint` file with the following structure (these are
|
|||||||
"maxDataLineLength": 80,
|
"maxDataLineLength": 80,
|
||||||
"maxHeaderLineLength": 80,
|
"maxHeaderLineLength": 80,
|
||||||
"maxLineLength": 80,
|
"maxLineLength": 80,
|
||||||
|
"noEncodedPasswords": true,
|
||||||
"noNestedMacros": true,
|
"noNestedMacros": true,
|
||||||
"noGremlins": true,
|
"noGremlins": true,
|
||||||
"noSpacesInFileNames": true,
|
"noSpacesInFileNames": true,
|
||||||
@@ -90,13 +90,6 @@ If creating a new value, use `{lineEnding}` instead of `\n`, eg as follows:
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
### noEncodedPasswords
|
|
||||||
|
|
||||||
This rule will highlight any rows that contain a `{sas00X}` type password, or `{sasenc}`. These passwords (especially 001 and 002) are NOT secure, and should NEVER be pushed to source control or saved to the filesystem without special permissions applied.
|
|
||||||
|
|
||||||
- Default: true
|
|
||||||
- Severity: ERROR
|
|
||||||
|
|
||||||
### hasDoxygenHeader
|
### hasDoxygenHeader
|
||||||
|
|
||||||
The SASjs framework recommends the use of Doxygen headers for describing all types of SAS program. This check will identify files where a doxygen header does not begin in the first line.
|
The SASjs framework recommends the use of Doxygen headers for describing all types of SAS program. This check will identify files where a doxygen header does not begin in the first line.
|
||||||
@@ -221,6 +214,13 @@ See also:
|
|||||||
- [maxDataLineLength](#maxdatalinelength)
|
- [maxDataLineLength](#maxdatalinelength)
|
||||||
- [maxHeaderLineLength](#maxheaderlinelength)
|
- [maxHeaderLineLength](#maxheaderlinelength)
|
||||||
|
|
||||||
|
### noEncodedPasswords
|
||||||
|
|
||||||
|
This rule will highlight any rows that contain a `{sas00X}` type password, or `{sasenc}`. These passwords (especially 001 and 002) are NOT secure, and should NEVER be pushed to source control or saved to the filesystem without special permissions applied.
|
||||||
|
|
||||||
|
- Default: true
|
||||||
|
- Severity: ERROR
|
||||||
|
|
||||||
### noGremlins
|
### noGremlins
|
||||||
|
|
||||||
Capture zero-width whitespace and other non-standard characters. The logic is borrowed from the [VSCode Gremlins Extension](https://github.com/nhoizey/vscode-gremlins) - if you are looking for more advanced gremlin zapping capabilities, we highly recommend to use their extension instead.
|
Capture zero-width whitespace and other non-standard characters. The logic is borrowed from the [VSCode Gremlins Extension](https://github.com/nhoizey/vscode-gremlins) - if you are looking for more advanced gremlin zapping capabilities, we highly recommend to use their extension instead.
|
||||||
|
|||||||
Reference in New Issue
Block a user