1
0
mirror of https://github.com/sasjs/lint.git synced 2026-01-19 10:10:05 +00:00

chore: updating docs for ignoreList

This commit is contained in:
Allan Bowe
2022-08-15 23:04:33 +00:00
parent 5ce33ab66c
commit 421513850c
3 changed files with 24 additions and 4 deletions

View File

@@ -23,6 +23,10 @@ Configuration is via a `.sasjslint` file with the following structure (these are
"hasDoxygenHeader": true,
"hasMacroNameInMend": true,
"hasMacroParentheses": true,
"ignoreList": [
"sajsbuild/",
"sasjsresults/"
],
"indentationMultiple": 2,
"lowerCaseFileNames": true,
"maxLineLength": 80,
@@ -60,6 +64,9 @@ As per the example [here](https://github.com/sasjs/lint/issues/20), macros defin
* Default: true
* Severity: WARNING
#### ignoreList
There may be specific files (or folders) that are not good candidates for linting. Simply list them in this array and they will be ignored. In addition, any files in the project `.gitignore` file will also be ignored.
#### indentationMultiple
This will check each line to ensure that the count of leading spaces can be divided cleanly by this multiple.