Commit graph

786 commits

Author SHA1 Message Date
Christopher Pickering
b9d8e4eb87
fixed pyproject 2022-09-07 11:16:13 -05:00
Christopher Pickering
b8bf071d16
fix(js formatting): added support for jsbeautify ignore blocks
closes #367
2022-09-07 11:15:21 -05:00
Christopher Pickering
2d8948f288
Merge branch 'dev' of github.com:Riverside-Healthcare/djLint into dev 2022-09-07 09:21:03 -05:00
Christopher Pickering
fdb65c9dd7
fix(release): trigger a release to remove the print statment 2022-09-07 09:20:48 -05:00
sur.la.route
f89875ce1e
Merge pull request #363 from Riverside-Healthcare/renovate/all-minor-patch 2022-09-05 07:52:29 -05:00
renovate[bot]
74e0d61ed3
chore(deps) Update all non-major dependencies 2022-09-05 06:05:25 +00:00
Christopher Pickering
7b1ad92d28
added tox as dev dep 2022-09-01 15:28:05 -05:00
Christopher Pickering
580f1d9215
test(ci): updated lint ci 2022-09-01 15:23:08 -05:00
Christopher Pickering
e804346d61
ci(flake8): moved flake8 into tox because of dep conflicts 2022-09-01 09:19:10 -05:00
Christopher Pickering
b8790a973e
ci(lint): updated lint rules for regex 2022-09-01 09:09:41 -05:00
Christopher Pickering
e2a9f082c9
Merge branch 'dev' of github.com:Riverside-Healthcare/djLint into dev 2022-09-01 08:44:26 -05:00
Christopher Pickering
ed182c6c11
test(stdin): added test for stdin --check
re #359
2022-09-01 08:44:17 -05:00
sur.la.route
fc4988e47f
Merge pull request #360 from Bobronium/patch-1 2022-09-01 08:38:27 -05:00
Arseny Boykov
192e1e5893
Remove debug print statement
Please consider using https://pypi.org/project/flake8-print/ as well
2022-08-31 19:42:40 +04:00
semantic-release-bot
c0fa3af158 chore(release): 1.12.1 [skip ci]
## [1.12.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.12.0...v1.12.1) (2022-08-30)

### Bug Fixes

* **macro:** allow html tags inside macro functions to skip formatting ([bffb093](bffb093c4c)), closes [#353](https://github.com/Riverside-Healthcare/djLint/issues/353)
* **t001:** fixed false positive on T001 with Jinja {{- and {{+ tags ([c57e944](c57e9444a1)), closes [#354](https://github.com/Riverside-Healthcare/djLint/issues/354)
2022-08-30 01:47:17 +00:00
sur.la.route
ffdb1f0e14
Merge pull request #358 from Riverside-Healthcare/dev 2022-08-29 20:45:50 -05:00
sur.la.route
b5e70a6c69
Merge branch 'master' into dev 2022-08-29 09:40:39 -05:00
sur.la.route
92ecc61a89
Merge pull request #356 from Riverside-Healthcare/renovate/linters 2022-08-29 09:39:45 -05:00
sur.la.route
5b02da7408
Merge pull request #355 from Riverside-Healthcare/renovate/all-minor-patch 2022-08-29 09:39:29 -05:00
Christopher Pickering
bffb093c4c
fix(macro): allow html tags inside macro functions to skip formatting
closes #353
2022-08-29 09:27:26 -05: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
renovate[bot]
c5fa6e9f77
chore(deps) Update all non-major dependencies 2022-08-29 12:16:21 +00:00
renovate[bot]
ceca09a548
chore(deps) Update dependency eslint to v8.23.0 2022-08-29 06:17:04 +00:00
semantic-release-bot
84249ff69f chore(release): 1.12.0 [skip ci]
# [1.12.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.11.1...v1.12.0) (2022-08-24)

### Bug Fixes

* **h006:** prevented false positives on H006 ([215bd23](215bd23190)), closes [#344](https://github.com/Riverside-Healthcare/djLint/issues/344) [#333](https://github.com/Riverside-Healthcare/djLint/issues/333)
* **h012:** prevent H012 from matching the contents of tags or attributes ([4480cff](4480cff832)), closes [#348](https://github.com/Riverside-Healthcare/djLint/issues/348)
* **t001:** fixed false positive on multiline template tags ([ea76672](ea766722a5)), closes [#350](https://github.com/Riverside-Healthcare/djLint/issues/350)

### Features

* **h021:** allow inline styles that contain template syntax ([f1a39ed](f1a39ed289)), closes [#351](https://github.com/Riverside-Healthcare/djLint/issues/351)
* **t002:** allow variables names to be used in the {% extends tag ([a5d96e7](a5d96e7a2d)), closes [#349](https://github.com/Riverside-Healthcare/djLint/issues/349)
2022-08-24 14:50:36 +00:00
sur.la.route
7e6d64bab8
Merge pull request #352 from Riverside-Healthcare/dev 2022-08-24 09:48:20 -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
semantic-release-bot
325a1aa320 chore(release): 1.11.1 [skip ci]
## [1.11.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.11.0...v1.11.1) (2022-08-22)

### Bug Fixes

* **formatter:** fixed runaway regex on templates with many template attriutes inside html tags ([79cd013](79cd013f8d)), closes [#340](https://github.com/Riverside-Healthcare/djLint/issues/340)
* **linter:** fixed false positive on T032 with jinja multi line set ([f9dac86](f9dac86b1a)), closes [#342](https://github.com/Riverside-Healthcare/djLint/issues/342)
* **linter:** fixed false postive on rule H008 ([79618a5](79618a5bfb)), closes [#339](https://github.com/Riverside-Healthcare/djLint/issues/339)
* **linter:** prevent linter matches that overlap ignored blocks of code such as comments ([90cf576](90cf5764ac)), closes [#343](https://github.com/Riverside-Healthcare/djLint/issues/343)
2022-08-22 17:24:23 +00:00
sur.la.route
fc68a5118f
Merge pull request #347 from Riverside-Healthcare/dev 2022-08-22 12:23:09 -05:00
Christopher Pickering
79cd013f8d
fix(formatter): fixed runaway regex on templates with many template attriutes inside html tags
closes #340
2022-08-22 11:59:19 -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
af3eb04387
Merge branch 'dev' of github.com:Riverside-Healthcare/djLint into dev 2022-08-22 08:35:22 -05:00
Christopher Pickering
3e0e9b355f
style(linter): updated rule H014 text to be more clear
closes #341
2022-08-22 08:34:36 -05:00
sur.la.route
e59f1b39d0
Merge pull request #346 from Riverside-Healthcare/renovate/all-minor-patch 2022-08-22 07:42:05 -05:00
renovate[bot]
22649f637d
chore(deps) Update all non-major dependencies 2022-08-22 05:09:05 +00:00
semantic-release-bot
b482dda640 chore(release): 1.11.0 [skip ci]
# [1.11.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.10.0...v1.11.0) (2022-08-18)

### Features

* **jinja call:** added support for jinja call blocks ([7a70e39](7a70e395d3)), closes [#337](https://github.com/Riverside-Healthcare/djLint/issues/337)
2022-08-18 20:22:12 +00:00
sur.la.route
565b8538ca
Merge pull request #338 from Riverside-Healthcare/dev 2022-08-18 15:20:53 -05:00
sur.la.route
2f41e2ad0e
Merge pull request #328 from Riverside-Healthcare/renovate/flake8-4.x 2022-08-18 15:08:40 -05:00
Christopher Pickering
7a70e395d3
feat(jinja call): added support for jinja call blocks
closes #337
2022-08-18 15:08:16 -05:00
renovate[bot]
62ec35f6d7
chore(deps) Update dependency flake8 to v4 2022-08-17 12:50:48 +00:00
semantic-release-bot
51777aaaac chore(release): 1.10.0 [skip ci]
# [1.10.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.9.5...v1.10.0) (2022-08-17)

### Features

* **linter:** updated rule 18 to allow "tel:" ([f08e3ac](f08e3acee3)), closes [#334](https://github.com/Riverside-Healthcare/djLint/issues/334)
2022-08-17 12:50:22 +00:00
sur.la.route
25d336a7ea
Merge pull request #336 from Riverside-Healthcare/dev 2022-08-17 07:48:18 -05:00
Christopher Pickering
c025b249b3
docs(pre-commit): updated indent on precommit docs 2022-08-17 07:41:42 -05:00
Christopher Pickering
d520508b60
Merge branch 'dev' of github.com:Riverside-Healthcare/djLint into dev 2022-08-17 07:16:45 -05:00
Christopher Pickering
f08e3acee3
feat(linter): updated rule 18 to allow "tel:"
closes #334
2022-08-17 07:16:29 -05:00