mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 10:10:56 -05:00
Merge pull request #738 from theodore-s-beers/patch-1
Use YAML syntax in FILTER_REGEX examples
This commit is contained in:
commit
87db6105ed
1 changed files with 4 additions and 4 deletions
|
@ -294,11 +294,11 @@ If you need to disable certain _rules_ and _functionality_, you can view [Disabl
|
|||
|
||||
If you need to lint only a folder or exclude some files from linting, you can use optional environment parameters `FILTER_REGEX_INCLUDE` and `FILTER_REGEX_EXCLUDE`
|
||||
|
||||
Examples :
|
||||
Examples:
|
||||
|
||||
- Lint only src folder: `FILTER_REGEX_INCLUDE=.*src/.*`
|
||||
- Do not lint files inside test folder: `FILTER_REGEX_EXCLUDE=.*test/.*`
|
||||
- Do not lint javascript files inside test folder: `FILTER_REGEX_EXCLUDE=.*test/.*.js`
|
||||
- Lint only src folder: `FILTER_REGEX_INCLUDE: .*src/.*`
|
||||
- Do not lint files inside test folder: `FILTER_REGEX_EXCLUDE: .*test/.*`
|
||||
- Do not lint javascript files inside test folder: `FILTER_REGEX_EXCLUDE: .*test/.*.js`
|
||||
|
||||
## Docker Hub
|
||||
|
||||
|
|
Loading…
Reference in a new issue