Commit graph

57 commits

Author SHA1 Message Date
Christopher Pickering
479326873a
fixes #85 2021-10-07 15:35:19 +02:00
Christopher Pickering
9313dae827
cleaned up code. closed #81, closed #74 2021-10-07 11:34:51 +02:00
Christopher Pickering
242b67898e
removed django comment tag from formatted tags. added test. closes #76 2021-10-07 09:38:23 +02:00
Christopher Pickering
dde4ad4a1e
updated rule H025 logic to ignore single line tags. added test. closes #73 2021-10-07 08:55:01 +02:00
Christopher Pickering
863efbf116
added script and style tags to single line tags. fixed #68 and added test 2021-10-07 08:16:04 +02:00
Christopher Pickering
eee3838057
simplified regex to improve speed 2021-10-06 15:27:18 +02:00
Christopher Pickering
569f9112ac
closes #67, closes #59 2021-10-06 14:20:47 +02:00
Christopher Pickering
b8dec2ebfb
closes #61 2021-10-06 13:44:29 +02:00
Christopher Pickering
12530b0add
added formatting for conditions in attributes. closes #66 2021-10-06 13:17:04 +02:00
Christopher Pickering
87a95ea15a
added style formatting and rule H021. closes #65 2021-10-06 10:21:37 +02:00
Christopher Pickering
24a0fa953a
fixed #57 and added test 2021-10-06 09:19:37 +02:00
Christopher Pickering
ab1cdcf199
added test for trans tag. fixed #63 2021-10-06 08:54:43 +02:00
Christopher Pickering
bbb0ed6f92
added start of golang config 2021-10-04 16:31:09 +02:00
Christopher Pickering
94113a85e4
fixed lint 2021-10-04 15:29:07 +02:00
Christopher Pickering
35474de863
added option for custom rules file 2021-10-04 15:26:22 +02:00
Christopher Pickering
1bcff422db
close #41, close #39. Add option to ignore blocks. 2021-10-04 11:58:02 +02:00
Christopher Pickering
722fe181f9
fixed #34 2021-10-01 11:08:52 +02:00
Christopher Pickering
3c71f5b7f1
added source to single line tags 2021-09-30 14:28:40 +02:00
Matthias Kestenholz
b37cb25792 Do not indent the <source> element, it does not permit content 2021-09-30 14:24:34 +02:00
Christopher Pickering
c3b21323ea
closes #30, closes #28 2021-09-30 10:02:05 +02:00
Christopher Pickering
b00e51488a
closes #29 2021-09-28 13:42:13 +02:00
Christopher Pickering
8f78e1964b
closes #29 2021-09-28 13:04:04 +02:00
Christopher Pickering
a6fc08c706
added feature, updated version 2021-09-23 10:19:11 +02:00
sur.la.route
229c9c7317
Merge pull request #24 from matthiask/mk/exclude
Fixed #22: Added configuration options to define excluded paths
2021-09-21 13:09:27 +02:00
Matthias Kestenholz
cf7ce737ef Make mypy happy 2021-09-21 13:05:49 +02:00
Matthias Kestenholz
e8f4b71966 Remove one walrus 2021-09-21 13:05:16 +02:00
Matthias Kestenholz
abba002433 Fixed #22: Added configuration options to define excluded paths 2021-09-21 13:02:33 +02:00
sur.la.route
7a48faf09b
Merge pull request #21 from matthiask/mk/failing-test
Failing test: HTML tags inside Django oneline comments should be ignored
2021-09-21 12:53:45 +02:00
Christopher Pickering
0da7612809
fixed issue with dj inline commments begin split up 2021-09-21 12:50:35 +02:00
Matthias Kestenholz
f2707ba2bf Added figcaption, details and summary to the list of tags to indent 2021-09-21 12:03:59 +02:00
Christopher Pickering
b0b5147052
closes #7, closes #20, cleaned up regex, improved attribute logic, added tests 2021-09-20 11:33:23 +02:00
Christopher Pickering
d0e83aeeb3
fixed #15 and #16 2021-09-16 09:50:13 +02:00
Christopher Pickering
c5045d2f0a
fixed #17 2021-09-16 09:48:41 +02:00
Christopher Pickering
b8b6c919a4
added support for {%- nunjucks 2021-09-08 11:52:16 +02:00
Christopher Pickering
94c1dd5958
changed build system to poetry, added more dj tags, added pyproject.toml support, fixed #11, closed #12, closed #1 2021-09-08 10:46:18 +02:00
Christopher Pickering
81c2090d4c
allow div tags to be single line 2021-08-31 11:35:16 +02:00
Christopher Pickering
4d5e3b184d
fixed dj comment formatting and added test 2021-08-30 15:10:01 +02:00
Christopher Pickering
46ea616e1d
updated formatting for ignored blocks 2021-08-30 14:30:10 +02:00
Christopher Pickering
c51deae335
fixed #9 2021-08-30 11:43:24 +02:00
Christopher Pickering
ba5818a1c7
fixed attribute formatting. fixes #8 2021-08-19 16:36:33 -05:00
Christopher Pickering
e6b9a9da1b
added support for jinja assets tag 2021-08-19 10:52:50 -05:00
Christopher Pickering
2c93e1d5f1
removed template tag from ignored blocks 2021-08-03 10:21:52 -05:00
Christopher Pickering
cd835b79f6
updated settings 2021-08-02 12:48:27 -05:00
Christopher Pickering
5d472809ea
added img and meta for single line formatting 2021-08-02 09:09:29 -05:00
Christopher Pickering
f81f8ef8fd
added template support for {% with 2021-08-02 08:51:41 -05:00
Christopher Pickering
0bf8c851a0
updated settings 2021-08-02 08:48:40 -05:00
Christopher Pickering
8593d77736
allowed textarea tags to be single line 2021-08-02 08:38:01 -05:00
Christopher Pickering
22d183c676
allowed label tags to be on one line 2021-08-02 08:37:07 -05:00
Christopher Pickering
10be886e69
updated settings for path tags 2021-08-02 08:29:23 -05:00
Christopher Pickering
e4419d05cb
fixed include tags not indenting correctly 2021-07-30 15:36:45 -05:00