CI: lint: detect indent errors in json (MR 19)
Lines in policies.json start with ".
This commit is contained in:
parent
7f5dddd387
commit
445c1da339
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ lint_spaces() {
|
||||||
|
|
||||||
lint \
|
lint \
|
||||||
"indent with 4 spaces" \
|
"indent with 4 spaces" \
|
||||||
-P '^([ ]{1,3}|[ ]{5,7})[a-zA-Z\[\.\/]'
|
-P '^([ ]{1,3}|[ ]{5,7})[a-zA-Z\[\.\/\"]'
|
||||||
|
|
||||||
lint \
|
lint \
|
||||||
"spaces at the end of lines are not allowed" \
|
"spaces at the end of lines are not allowed" \
|
||||||
|
|
Loading…
Reference in a new issue