Fix detecting jinja templates, #553

This commit is contained in:
Adam Stankiewicz
2020-09-23 23:25:01 +02:00
parent 3a298c9759
commit 7e2d060f88
4 changed files with 12 additions and 244 deletions

View File

@@ -180,5 +180,8 @@ rules:
- lines: 1
pattern: '^(%|<[%&].*>)'
filetype: mason
- lines: 50
pattern: '{{.*}}|{%-?\s*(end.*|extends|block|macro|set|if|for|include|trans)\b'
filetype: jinja.html
- filetype: html