зеркало из https://github.com/microsoft/PSRule.git
18 строки
311 B
YAML
18 строки
311 B
YAML
# Copyright (c) Microsoft Corporation.
|
|
# Licensed under the MIT License.
|
|
|
|
---
|
|
# Synopsis: Image files are not permitted.
|
|
apiVersion: github.com/microsoft/PSRule/v1
|
|
kind: Rule
|
|
metadata:
|
|
name: Yaml.FileType
|
|
spec:
|
|
type:
|
|
- System.IO.FileInfo
|
|
condition:
|
|
field: Extension
|
|
notIn:
|
|
- .jpg
|
|
- .png
|