|
3 | 3 | profile="jinja" |
4 | 4 | extension="twig" |
5 | 5 |
|
6 | | -ignore="H006,H012,H013,H014,H021,H023,H025,H030,H031,T001,T002,T003,T027,T028,T032" |
7 | | -# H006: img tag height/width (not needed in templates) |
8 | | -# H012: spaces around = (needed for TypeScript generics like <T = X>) |
9 | | -# H013: img tag alt text (not applicable to code templates) |
10 | | -# H014: extra blank lines (often intentional in code generation) |
11 | | -# H021: inline styles (generated code often has inline styles) |
12 | | -# H023: entity references (templates use various entities) |
13 | | -# H025: orphan tags (template logic creates valid output) |
14 | | -# H030/H031: meta tags (not applicable to SDK templates) |
15 | | -# T001: variable whitespace (breaks code generation) |
16 | | -# T002: quote style (templates need flexibility) |
17 | | -# T003: endblock naming (not always needed) |
18 | | -# T027: unclosed strings (false positive for ${{ secrets.X }} syntax) |
19 | | -# T028: spaceless tags (not applicable) |
20 | | -# T032: extra whitespace in tags (often intentional for formatting) |
| 6 | +ignore="H012,H025,H030,H031,T001,T002,T027,T032" |
| 7 | +# H012: spaces around = - false positive for TypeScript generics like <T = Models.Document> |
| 8 | +# H025: orphan tags - false positive for code generics like <T>, <String>, <Exception> |
| 9 | +# H030/H031: meta description/keywords (not applicable to SDK code templates) |
| 10 | +# T001: whitespace in tags - {%~ is intentional Twig whitespace control |
| 11 | +# T002: double quotes - templates need flexibility with quote styles |
| 12 | +# T027: unclosed strings - false positive for ${{ secrets.X }} in GitHub Actions |
| 13 | +# T032: extra whitespace in tags - often intentional for formatting/line continuation |
21 | 14 |
|
22 | 15 | exclude=".git,vendor,tests/sdks,node_modules,examples" |
23 | 16 |
|
|
0 commit comments