Christopher Pickering
|
34fb305b6b
|
updated regex on H024. Added test. closes #78
|
2021-10-07 09:44:14 +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
|
adbef74d38
|
updated regex for H021. Added test. closes #72
|
2021-10-07 08:40:26 +02:00 |
|
Christopher Pickering
|
9addd5dc04
|
updated regex for H025. closes #71, closes #70
|
2021-10-07 08:35:37 +02:00 |
|
Christopher Pickering
|
d6c6e49f19
|
added rstrip to attributes after formatting. updated tests. closes #69
|
2021-10-07 08:22:29 +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
|
1c70ea624c
|
simplified regex to improve speed
|
2021-10-06 16:02:30 +02:00 |
|
Christopher Pickering
|
2029496854
|
simplified regex to improve speed
|
2021-10-06 15:41:21 +02:00 |
|
Christopher Pickering
|
eee3838057
|
simplified regex to improve speed
|
2021-10-06 15:27:18 +02:00 |
|
Christopher Pickering
|
b8562e463a
|
added rule H025, closes #58
|
2021-10-06 15:00:08 +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
|
2d3a4a7250
|
fixed #62
|
2021-10-06 09:42:08 +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
|
b7e456a947
|
added rule H020. closes #64
|
2021-10-06 08:43:06 +02:00 |
|
Christopher Pickering
|
a657424ed6
|
closes #60
|
2021-10-05 13:11:08 +02:00 |
|
Christopher Pickering
|
f38383a629
|
fix regex for finding single line tempalte tags, fix #56
|
2021-10-05 10:19:28 +02:00 |
|
Christopher Pickering
|
c4e3a07c45
|
fixed lint
|
2021-10-05 09:53:40 +02:00 |
|
Christopher Pickering
|
e72e4619bd
|
fixed indentation on ignored blocks with a child ignore block. closes #54
|
2021-10-05 09:47:40 +02:00 |
|
Christopher Pickering
|
7c6df42dbb
|
added encoding to file writing
|
2021-10-05 08:47:31 +02:00 |
|
Christopher Pickering
|
2a85e0dbb1
|
fixed #52,50,48
|
2021-10-05 08:34:35 +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
|
07a812ee1d
|
split alt from H006 to H013, closes #47
|
2021-10-04 14:41:07 +02:00 |
|
Christopher Pickering
|
bdc3645415
|
added rule H019. Closes #45, Closes #43
|
2021-10-04 13:32:56 +02:00 |
|
Christopher Pickering
|
d01f866a29
|
updated regex to require a tag name before looking for attribute =. Closes #46
|
2021-10-04 13:11:12 +02:00 |
|
Christopher Pickering
|
9ab51a115a
|
split regex for H011 for meta tags. closes #44
|
2021-10-04 13:07:41 +02:00 |
|
Christopher Pickering
|
1bcff422db
|
close #41, close #39. Add option to ignore blocks.
|
2021-10-04 11:58:02 +02:00 |
|
Christopher Pickering
|
dd5a54c9d7
|
fixed H012 regex and added test. Closes #40
|
2021-10-04 11:19:51 +02:00 |
|
Christopher Pickering
|
fec87e27f0
|
fixed H011 regex to only search valid html tags. Closes #38
|
2021-10-04 11:12:04 +02:00 |
|
Christopher Pickering
|
c95574b568
|
updated regex for H011, closes #37
|
2021-10-04 10:51:54 +02:00 |
|
Christopher Pickering
|
849648a8d6
|
fixed regex for colgroup. closes #36
|
2021-10-04 10:24:58 +02:00 |
|
Christopher Pickering
|
92872bc53c
|
fixed #35
|
2021-10-01 11:51:53 +02:00 |
|
sur.la.route
|
324582c581
|
Merge pull request #33 from yaegassy/chore/doc-and-help
chore: adjust docs and help for rule name changes
|
2021-10-01 11:46:44 +02:00 |
|
Christopher Pickering
|
722fe181f9
|
fixed #34
|
2021-10-01 11:08:52 +02:00 |
|
yaegassy
|
9e2e99f370
|
chore: adjust docs and help for rule name changes
|
2021-10-01 16:40:41 +09: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
|
cd8594896f
|
fixed lint
|
2021-09-30 10:29:44 +02:00 |
|
Christopher Pickering
|
310e85ba33
|
closes #31
|
2021-09-30 10:25:34 +02:00 |
|
Christopher Pickering
|
c3b21323ea
|
closes #30, closes #28
|
2021-09-30 10:02:05 +02:00 |
|
Christopher Pickering
|
29ae9cfda4
|
updated indentation to indent start of ignored blocks
|
2021-09-29 14:44:39 +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
|
61c7f66cc8
|
removed unused comment
|
2021-09-28 08:45:28 +02:00 |
|
Christopher Pickering
|
a6fc08c706
|
added feature, updated version
|
2021-09-23 10:19:11 +02:00 |
|
Christopher Pickering
|
a577817b41
|
fixed stdin check
|
2021-09-22 08:54:28 +02:00 |
|
Matthias Kestenholz
|
e23dc60ad7
|
Allowed more than one path at a time
|
2021-09-21 20:15:25 +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
|
8b2448644b
|
updated test
|
2021-09-20 11:49:31 +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
|
70400fff61
|
updated for new pylint recommendations
|
2021-09-17 10:25:01 +02:00 |
|
Christopher Pickering
|
6eeb68c1ff
|
updated docs, added test, removed pkg_resources
|
2021-09-17 09:36:52 +02:00 |
|
yaegassy
|
bb9b734287
|
feat: Add --version option
|
2021-09-17 08:52:46 +09:00 |
|
Christopher Pickering
|
119cbb5b2b
|
attemped to fix windows permission issue w/ temp files
|
2021-09-16 13:47:25 +02:00 |
|
Christopher Pickering
|
78fea8ed4d
|
added option for stdin. closes #13
|
2021-09-16 13:36:44 +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
|
af97bbcb32
|
fixed #10 for lint and format. added tests
|
2021-09-01 11:55:28 +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
|
3cc6223db7
|
fixed rule W010 for test not inside a tag.
|
2021-08-19 11:19:51 -05:00 |
|
Christopher Pickering
|
e6b9a9da1b
|
added support for jinja assets tag
|
2021-08-19 10:52:50 -05:00 |
|
Christopher Pickering
|
dcb1892e00
|
fixed #6. updated release
|
2021-08-19 10:16:41 -05:00 |
|
Christopher Pickering
|
f81adcc41a
|
fixed url match rule 18
|
2021-08-17 10:21:19 -05:00 |
|
Christopher Pickering
|
7bc921d784
|
removed duplicate error message from linter
|
2021-08-17 10:17:50 -05:00 |
|
Christopher Pickering
|
4f38370225
|
fixed rule E001 for handlbars
|
2021-08-17 10:00:56 -05:00 |
|
Christopher Pickering
|
41e95ce63b
|
fixed test coverage
|
2021-08-17 08:56:40 -05:00 |
|
Christopher Pickering
|
582f40b6b1
|
fixed #5 updated version
|
2021-08-11 18:34:47 -05:00 |
|
Christopher Pickering
|
c7c0eb8594
|
changed from dict to tuple
|
2021-08-11 16:23:15 -05:00 |
|
Christopher Pickering
|
2c93e1d5f1
|
removed template tag from ignored blocks
|
2021-08-03 10:21:52 -05:00 |
|
Christopher Pickering
|
907fd9ad87
|
fixed lint
|
2021-08-03 10:03:26 -05:00 |
|
Christopher Pickering
|
2aa39f4199
|
updated rule for img tag, and links in other tags
|
2021-08-03 09:35:01 -05:00 |
|
Christopher Pickering
|
80df22b514
|
updated rule for form actions
|
2021-08-03 08:32:45 -05:00 |
|
Christopher Pickering
|
d13d230124
|
updated url regex
|
2021-08-02 14:45:57 -05:00 |
|
Christopher Pickering
|
d1fad05ef4
|
updated regex for handlgars {{^}}
|
2021-08-02 14:42:44 -05:00 |
|
Christopher Pickering
|
5619931ae0
|
updated regex for handlgars {{/if }}
|
2021-08-02 14:41:49 -05:00 |
|
Christopher Pickering
|
f26dec2de7
|
updated regex for handlgars {{/if }}
|
2021-08-02 14:40:47 -05:00 |
|
Christopher Pickering
|
d805f5fab3
|
fixed indent around multiline comments
|
2021-08-02 14:37:29 -05:00 |
|
Christopher Pickering
|
cac9e9d18a
|
updated w018
|
2021-08-02 14:06:55 -05:00 |
|
Christopher Pickering
|
969dd046bf
|
disallow negative indent when there is a tag missmatch.
|
2021-08-02 13:06:44 -05:00 |
|
Christopher Pickering
|
cd835b79f6
|
updated settings
|
2021-08-02 12:48:27 -05:00 |
|
Christopher Pickering
|
de6505215b
|
added rule for {% url. added regex flags to rules
|
2021-08-02 12:31:59 -05:00 |
|
Christopher Pickering
|
ca213de0d3
|
improved single line regex, update version
|
2021-08-02 11:26:27 -05:00 |
|
Christopher Pickering
|
2356970be7
|
fixed single line regex for endblock text %}
|
2021-08-02 09:16:26 -05:00 |
|
Christopher Pickering
|
5d472809ea
|
added img and meta for single line formatting
|
2021-08-02 09:09:29 -05:00 |
|
Christopher Pickering
|
d241b0350b
|
fixed single line regex for template tags
|
2021-08-02 09:05:36 -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
|
cac4a6d2b2
|
updated handlbars rule to be more inclusive
|
2021-08-02 08:33:46 -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 |
|
Christopher Pickering
|
ae965fab5a
|
added gif
|
2021-07-30 15:18:38 -05:00 |
|
Christopher Pickering
|
92058eb8d1
|
improved formatting
|
2021-07-30 14:31:34 -05:00 |
|
Christopher Pickering
|
26db4c8c36
|
updated lint and version
|
2021-07-30 12:37:57 -05:00 |
|
Christopher Pickering
|
e7f29a0791
|
added progress bar. added cli option to ignore rules.
|
2021-07-30 12:29:07 -05:00 |
|
Christopher Pickering
|
132b84ecef
|
fixed handlebars rule
|
2021-07-30 10:51:36 -05:00 |
|
Christopher Pickering
|
10acbe25e7
|
changed back to re package for some greps.. regex crahsed. opened issue.
|
2021-07-30 10:40:21 -05:00 |
|
Christopher Pickering
|
c1793d31ac
|
updated rules for handlebars
|
2021-07-30 10:15:14 -05:00 |
|
Christopher Pickering
|
9120f70147
|
updated formatter and docs
|
2021-07-29 13:41:34 -05:00 |
|
Christopher Pickering
|
b6b4b74a93
|
fixed issue attribute regex matching empty tags
|
2021-07-27 14:54:57 -05:00 |
|
Christopher Pickering
|
d9bf63ad7a
|
improved regex for self closing tags
|
2021-07-27 14:45:10 -05:00 |
|
Christopher Pickering
|
5cbcc99dc8
|
added assets tag for flask-assets
|
2021-07-27 14:41:06 -05:00 |
|
Christopher Pickering
|
a129edab1b
|
cleaned up mess
|
2021-07-27 10:58:08 -05:00 |
|
Christopher Pickering
|
416c63ff38
|
updated reformat rules
|
2021-07-26 12:22:26 -05:00 |
|
Christopher Pickering
|
46d7899978
|
updated settings layout
|
2021-07-26 09:05:55 -05:00 |
|
Christopher Pickering
|
cc0510780c
|
added reformatter
|
2021-07-23 15:58:24 -05:00 |
|
Christopher Pickering
|
c554a795e9
|
fixed bug with col number
|
2021-07-23 09:19:41 -05:00 |
|
Christopher Pickering
|
4f50b99128
|
updated rule to exclude meta content
|
2021-07-23 08:56:36 -05:00 |
|
Christopher Pickering
|
22cf86ae82
|
code cleanup
|
2021-07-13 12:25:29 -05:00 |
|
Christopher Pickering
|
eef8fdb63b
|
added tests
|
2021-07-13 10:45:57 -05:00 |
|
Christopher Pickering
|
04b8e99b4f
|
added more rules.
|
2021-07-12 17:07:52 -05:00 |
|
Christopher Pickering
|
b76c6b8dd9
|
stopped adding error to print
|
2021-07-12 15:26:14 -05:00 |
|
Christopher Pickering
|
5d4df940dd
|
updated messages
|
2021-07-12 14:40:08 -05:00 |
|
Christopher Pickering
|
a7953f0ba7
|
remvoved eager
|
2021-07-12 14:32:38 -05:00 |
|
Christopher Pickering
|
df90902b40
|
updated rev. added manifest.
|
2021-07-12 14:23:20 -05:00 |
|