Commit graph

28 commits

Author SHA1 Message Date
luxcem
442dc91a51
Allow data: for links. 2022-11-14 12:09:06 +01:00
Christopher Pickering
1bd0bf7ef0
fix(linter): make attribute pattern on H025 more accepting. Prevent false positive
closes #447
2022-11-07 09:13:12 +01:00
Christopher Pickering
67e8c64762
fix(linter): fixed false positive on T002. Added tests
closes #405
2022-09-26 09:02:07 +02:00
Christopher Pickering
17ff881045
fix(linter): fixed false positive on H017. Added test
closes #406
2022-09-26 08:51:04 +02:00
Christopher Pickering
e23ee4627d
fix(t002): fixed false positive in t002. Added test
closes #399
2022-09-21 09:32:39 +02:00
Christopher Pickering
190ad01ff3
fix(linter): t002
Fixed bad match on t002.
2022-09-19 10:00:32 +02:00
Christopher Pickering
489decb2e1
feat(linter): added --statistics flag to print summary of linter findings
closes #389
2022-09-19 09:41:54 +02:00
Christopher Pickering
532c5b8d94
feat(linter): t002 added a few more tags to the check
closes #386
2022-09-16 10:06:00 +02:00
Christopher Pickering
ecb95bbee0
feat(linter t034): added linter T034 to check for {% ... }% typo
closes #385
2022-09-16 09:54:17 +02:00
Christopher Pickering
c57e9444a1
fix(t001): fixed false positive on T001 with Jinja {{- and {{+ tags
closes #354
2022-08-29 08:57:30 -05:00
Christopher Pickering
215bd23190
fix(h006): prevented false positives on H006
Also other linter rules where the the error match partially overlaps the ignored block.

closes #344, closes #333
2022-08-24 09:37:42 -05:00
Christopher Pickering
4480cff832
fix(h012): prevent H012 from matching the contents of tags or attributes
closes #348
2022-08-24 09:01:13 -05:00
Christopher Pickering
a5d96e7a2d
feat(t002): allow variables names to be used in the {% extends tag
closes #349
2022-08-24 08:50:56 -05:00
Christopher Pickering
f1a39ed289
feat(h021): allow inline styles that contain template syntax
closes #351
2022-08-24 08:39:11 -05:00
Christopher Pickering
ea766722a5
fix(t001): fixed false positive on multiline template tags
closes #350
2022-08-24 08:30:30 -05:00
Christopher Pickering
90cf5764ac
fix(linter): prevent linter matches that overlap ignored blocks of code such as comments
closes #343
2022-08-22 10:01:10 -05:00
Christopher Pickering
79618a5bfb
fix(linter): fixed false postive on rule H008
closes #339
2022-08-22 08:49:46 -05:00
Christopher Pickering
f9dac86b1a
fix(linter): fixed false positive on T032 with jinja multi line set
closes #342
2022-08-22 08:42:55 -05:00
Christopher Pickering
f08e3acee3
feat(linter): updated rule 18 to allow "tel:"
closes #334
2022-08-17 07:16:29 -05:00
Christopher Pickering
6f84539038
fix(t027): fixed test and regression in T027
closes #141
2022-07-29 07:37:21 -05:00
Christopher Pickering
946b8ad715
fix(linter): fixed false positive on T027
closes #301
2022-07-26 12:21:41 -05:00
Christopher Pickering
0bebf846d3
fixed a few issues with #} 2022-07-18 07:47:23 -05:00
Christopher Pickering
f38328c829
fix(linter): fix false positive on rule T001
closes #292
2022-07-14 15:34:20 -05:00
Christopher Pickering
611b1fa57a
fix(h026): fixes rule H026 for cases where id/class are part of another string
closes #281
2022-07-06 12:50:15 -05:00
Christopher Pickering
1b3159f661
feat(ignore rules): added option to ignore linter rules with inline comments
closes #113
2022-07-05 13:59:53 -05:00
Christopher Pickering
e4fe62f52e
fix(h025): fixes rule H025 where tags have curly hash
Closes #270
2022-06-28 12:38:28 -05:00
Christopher Pickering
f63cc4d8ea
fix(dj018): fix rule DJ018 for special attrib names
fixes #248
2022-05-18 08:46:48 -05:00
Christopher Pickering
aee34ea64c
test(restructured): restructured the tests 2022-05-13 15:36:55 -05:00