|
|
|
@ -1,6 +1,23 @@ |
|
|
|
# Linter |
|
|
|
|
|
|
|
Drone/Woodpecker CI "plugin" |
|
|
|
|
|
|
|
```yaml |
|
|
|
pipeline: |
|
|
|
lint: |
|
|
|
image: sevoid/linter:plugin |
|
|
|
lint: shell |
|
|
|
ignore: |
|
|
|
- SC1234 |
|
|
|
- SC5678 |
|
|
|
files: |
|
|
|
- ./foo/script1.sh |
|
|
|
- ./foo/script2.sh |
|
|
|
- ./bar/run-* |
|
|
|
- check.sh |
|
|
|
path: |
|
|
|
- ./build/scripts |
|
|
|
``` |
|
|
|
--- |
|
|
|
List of linters **to be installed** |
|
|
|
* [PHP-CS-Fixer](https://github.com/FriendsOfPHP/PHP-CS-Fixer) |
|
|
|
|