mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-21 21:50:59 -05:00
Use YAML syntax in FILTER_REGEX examples
I think it probably makes more sense for the examples in this README to follow YAML syntax, assuming that people will be running super-linter as a GitHub Action. There's a separate doc covering the process for running the linter locally, in which case, of course, environment variables would be set with an equals sign. It's not a big deal, but I thought I would make the suggestion.
This commit is contained in:
parent
58d3d191b8
commit
c1b2ccce03
1 changed files with 4 additions and 4 deletions
|
@ -296,9 +296,9 @@ If you need to lint only a folder or exclude some files from linting, you can us
|
|||
|
||||
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