Commit graph

102 commits

Author SHA1 Message Date
Christopher Pickering
237e84464c
fix(requirements): removed optional deps from requirements section. Cleaned up tox
Some flake8 is not compatible with other versions, so some flake tools are disabled until those
packages are updated.

closes #322
2022-08-02 10:13:02 -05:00
semantic-release-bot
b4c835ca21 chore(release): 1.9.3 [skip ci]
## [1.9.3](https://github.com/Riverside-Healthcare/djLint/compare/v1.9.2...v1.9.3) (2022-08-01)

### Bug Fixes

* **formatter:** fix to prevent formatter from breaking malformed attribute tags ([80263b2](80263b29bd)), closes [#317](https://github.com/Riverside-Healthcare/djLint/issues/317)
* **linter:** disabling linter rules should not disable formatting ([69ef16a](69ef16afa8)), closes [#316](https://github.com/Riverside-Healthcare/djLint/issues/316)
2022-08-01 13:58:20 +00:00
semantic-release-bot
1e59a23cfc chore(release): 1.9.2 [skip ci]
## [1.9.2](https://github.com/Riverside-Healthcare/djLint/compare/v1.9.1...v1.9.2) (2022-07-29)

### Bug Fixes

* **t027:** fixed test and regression in T027 ([6f84539](6f84539038)), closes [#141](https://github.com/Riverside-Healthcare/djLint/issues/141)
2022-07-29 15:43:07 +00:00
semantic-release-bot
2830c1da5d chore(release): 1.9.1 [skip ci]
## [1.9.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.9.0...v1.9.1) (2022-07-28)

### Bug Fixes

* **formatter:** fixed greedy regex issue when finding script and style tags ([ca7ff3a](ca7ff3a1c7))
2022-07-28 19:35:04 +00:00
semantic-release-bot
68a20b9e65 chore(release): 1.9.0 [skip ci]
# [1.9.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.8.1...v1.9.0) (2022-07-28)

### Features

* **formatter:** added options to format css and js using jsbeautifier ([99b5ee2](99b5ee2c1f))
2022-07-28 19:06:12 +00:00
sur.la.route
19bf51fd48
Merge pull request #311 from Riverside-Healthcare/dev 2022-07-28 14:04:17 -05:00
Christopher Pickering
99b5ee2c1f
feat(formatter): added options to format css and js using jsbeautifier 2022-07-28 13:58:03 -05:00
semantic-release-bot
b37a55fe26 chore(release): 1.8.1 [skip ci]
## [1.8.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.8.0...v1.8.1) (2022-07-28)

### Bug Fixes

* **indent:** fixed bad indent on short blocks ([7e4ac76](7e4ac76be0)), closes [#309](https://github.com/Riverside-Healthcare/djLint/issues/309)
2022-07-28 16:17:41 +00:00
sur.la.route
72440ee44a
Merge pull request #310 from Riverside-Healthcare/dev 2022-07-28 11:15:54 -05:00
Christopher Pickering
7e4ac76be0
fix(indent): fixed bad indent on short blocks
closes #309
2022-07-28 10:45:15 -05:00
semantic-release-bot
c0983bdf09 chore(release): 1.8.0 [skip ci]
# [1.8.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.7.4...v1.8.0) (2022-07-28)

### Features

* **formatter:** added option to add blank line before tags ([b2bd1ea](b2bd1ea298)), closes [#307](https://github.com/Riverside-Healthcare/djLint/issues/307)
2022-07-28 15:04:02 +00:00
sur.la.route
0d69449593
Merge pull request #306 from Riverside-Healthcare/dev 2022-07-28 07:56:46 -05:00
Christopher Pickering
ee87ef7024
docs(contributing): updated contributing docs, moved in dev deps 2022-07-28 07:51:03 -05:00
semantic-release-bot
02035cf1ce chore(release): 1.7.4 [skip ci]
## [1.7.4](https://github.com/Riverside-Healthcare/djLint/compare/v1.7.3...v1.7.4) (2022-07-26)

### Bug Fixes

* **linter:** fixed false positive on T027 ([946b8ad](946b8ad715)), closes [#301](https://github.com/Riverside-Healthcare/djLint/issues/301)
2022-07-26 18:00:30 +00:00
semantic-release-bot
2bc6fdf5ae chore(release): 1.7.3 [skip ci]
## [1.7.3](https://github.com/Riverside-Healthcare/djLint/compare/v1.7.2...v1.7.3) (2022-07-26)

### Bug Fixes

* **preserve blank lines:** fixed duplicate blank lines being inserted after h-space, ([9ed3393](9ed3393be0)), closes [#300](https://github.com/Riverside-Healthcare/djLint/issues/300)
2022-07-26 13:25:19 +00:00
semantic-release-bot
3069fdf589 chore(release): 1.7.2 [skip ci]
## [1.7.2](https://github.com/Riverside-Healthcare/djLint/compare/v1.7.1...v1.7.2) (2022-07-25)

### Bug Fixes

* **white space:** prevent duplicate blank lines from being added ([67306b4](67306b4cd1)), closes [#297](https://github.com/Riverside-Healthcare/djLint/issues/297)
2022-07-25 13:10:29 +00:00
semantic-release-bot
800afd0a87 chore(release): 1.7.1 [skip ci]
## [1.7.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.7.0...v1.7.1) (2022-07-22)

### Bug Fixes

* **linter:** fix false positive on rule T001 ([f38328c](f38328c829)), closes [#292](https://github.com/Riverside-Healthcare/djLint/issues/292)
* **twig:** fixed indent issue with comments. Added test ([47ef81f](47ef81f96b)), closes [#290](https://github.com/Riverside-Healthcare/djLint/issues/290)
2022-07-22 16:25:41 +00:00
semantic-release-bot
bf8951e057 chore(release): 1.7.0 [skip ci]
# [1.7.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.6.0...v1.7.0) (2022-07-08)

### Bug Fixes

* **git bash:** fixes char encoding on windows git bash ([3ef7c16](3ef7c16e8d)), closes [#275](https://github.com/Riverside-Healthcare/djLint/issues/275)

### Features

* **linter:** added per-file-ignores as a config option for linter rules ([c709efd](c709efd658)), closes [#107](https://github.com/Riverside-Healthcare/djLint/issues/107)
2022-07-08 16:18:03 +00:00
semantic-release-bot
e89159b0ae chore(release): 1.6.0 [skip ci]
# [1.6.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.5.0...v1.6.0) (2022-07-06)

### Features

* **npm:** added npm publish ([012230a](012230a80c))
2022-07-06 18:22:03 +00:00
semantic-release-bot
e060c58383 chore(release): 1.5.0 [skip ci]
# [1.5.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.4.0...v1.5.0) (2022-07-06)

### Bug Fixes

* **h026:** fixes rule H026 for cases where id/class are part of another string ([611b1fa](611b1fa57a)), closes [#281](https://github.com/Riverside-Healthcare/djLint/issues/281)

### Features

* **npm:** updated npm installer ([4c0cacc](4c0caccdf6)), closes [#192](https://github.com/Riverside-Healthcare/djLint/issues/192)
2022-07-06 18:04:08 +00:00
semantic-release-bot
f7903f9079 chore(release): 1.4.0 [skip ci]
# [1.4.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.3.0...v1.4.0) (2022-07-05)

### Features

* **ignore rules:** added option to ignore linter rules with inline comments ([1b3159f](1b3159f661)), closes [#113](https://github.com/Riverside-Healthcare/djLint/issues/113)
2022-07-05 19:16:22 +00:00
semantic-release-bot
08e885ed71 chore(release): 1.3.0 [skip ci]
# [1.3.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.2.1...v1.3.0) (2022-06-30)

### Bug Fixes

* **h025:** fixes rule H025 where tags have curly hash ([e4fe62f](e4fe62f52e)), closes [#270](https://github.com/Riverside-Healthcare/djLint/issues/270)

### Features

* **new option:** added option to attempt to keep blank lines in templates ([bbcf54a](bbcf54a0f0)), closes [#261](https://github.com/Riverside-Healthcare/djLint/issues/261)
2022-06-30 13:09:25 +00:00
semantic-release-bot
76ac3cf705 chore(release): 1.2.1 [skip ci]
## [1.2.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.2.0...v1.2.1) (2022-06-21)

### Bug Fixes

* **curly hash comment:** fix formatting on curly hash comment blocks ([4dc2140](4dc2140c41)), closes [#265](https://github.com/Riverside-Healthcare/djLint/issues/265)
2022-06-21 16:05:31 +00:00
Christopher Pickering
c28637aaa3
fixed pyproject 2022-06-21 10:47:40 -05:00
semantic-release-bot
62cdb12b4b chore(release): 1.2.0 [skip ci]
# [1.2.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.1.1...v1.2.0) (2022-06-16)

### Features

* **whitespace:** add option to preserver some whitespace before text ([15ead70](15ead700d1)), closes [#260](https://github.com/Riverside-Healthcare/djLint/issues/260)
2022-06-16 18:56:26 +00:00
semantic-release-bot
e92aee1c34 chore(release): 1.1.1 [skip ci]
## [1.1.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.1.0...v1.1.1) (2022-05-18)

### Bug Fixes

* **windows:** fixed windows output. colorama was converting to cp1252 ([46395e2](46395e28bc))
2022-05-18 15:48:16 +00:00
semantic-release-bot
51f2eeabb3 chore(release): 1.1.0 [skip ci]
# [1.1.0](https://github.com/Riverside-Healthcare/djLint/compare/v1.0.3...v1.1.0) (2022-05-18)

### Bug Fixes

* **dj018:** fix rule DJ018 for special attrib names ([f63cc4d](f63cc4d8ea)), closes [#248](https://github.com/Riverside-Healthcare/djLint/issues/248)
* **stdin encoding:** added encoding to stdin text ([e906b3e](e906b3e30a)), closes [#243](https://github.com/Riverside-Healthcare/djLint/issues/243)

### Features

* **breaks:** allowed p, head, and body tags that are short/empty to be on a single line ([886d590](886d59021a))
2022-05-18 13:59:51 +00:00
sur.la.route
7c7842ea60
Merge pull request #246 from Riverside-Healthcare/dev
test(restructured): restructured the tests
2022-05-18 08:58:41 -05:00
Christopher Pickering
160dfce6d7
refactor(htlm tags): changed list of html tags to import list 2022-05-17 12:59:33 -05:00
Christopher Pickering
0f698bce19
refactor(void tags): changed void tag list to imported package 2022-05-17 12:51:09 -05:00
semantic-release-bot
db0f760f0a chore(release): 1.0.3 [skip ci]
## [1.0.3](https://github.com/Riverside-Healthcare/djLint/compare/v1.0.2...v1.0.3) (2022-05-13)

### Bug Fixes

* **code tags:** fixed indentation on code tags w/ trailing text ([a830bc4](a830bc47a2)), closes [#244](https://github.com/Riverside-Healthcare/djLint/issues/244)
2022-05-13 00:57:28 +00:00
semantic-release-bot
34e9342f7d chore(release): 1.0.2 [skip ci]
## [1.0.2](https://github.com/Riverside-Healthcare/djLint/compare/v1.0.1...v1.0.2) (2022-05-09)

### Bug Fixes

* **alpine.js:** fixed formatting in alpine.js attributes ([e531701](e531701238)), closes [#240](https://github.com/Riverside-Healthcare/djLint/issues/240)
2022-05-09 17:26:11 +00:00
semantic-release-bot
3d96134597 chore(release): 1.0.1 [skip ci]
## [1.0.1](https://github.com/Riverside-Healthcare/djLint/compare/v1.0.0...v1.0.1) (2022-05-02)

### Bug Fixes

* **custom attributes:** custom attributes separated by hyphen were split up during format ([1ce378c](1ce378c43d)), closes [#236](https://github.com/Riverside-Healthcare/djLint/issues/236)
2022-05-02 14:07:28 +00:00
Franklyn Tackitt
be55b8e221 Switch from tomlkit to tomli
Tomli is the upcoming python 3.11 standard library toml parser,
 and will be available as tomllib when 3.11 releases.

This switches from using tomlkit to tomli, which brings it inline
 with black, poetry, and many other toml parsing python packages
2022-05-01 12:08:43 -07:00
semantic-release-bot
54f238967e chore(release): 1.0.0 [skip ci]
# 1.0.0 (2022-04-25)

### Bug Fixes

* broken link "djlint documentation" in README ([2489d55](2489d55f23))
* **stdin and gitignore:** updated to prevent gitignore from skipping std temp paths ([8e0b4b1](8e0b4b1b41)), closes [#224](https://github.com/Riverside-Healthcare/djLint/issues/224)

### Features

* Add `--version` option ([bb9b734](bb9b734287))
2022-04-25 14:09:37 +00:00
Renovate Bot
7df2ef104b
chore(deps) Update all non-major dependencies 2022-04-05 16:12:26 +00:00
Christopher Pickering
f9ff3477e1
closes #194, added test 2022-03-14 09:24:28 -05:00
Christopher Pickering
8363a82431
updated version and changelog 2022-02-21 08:44:54 -06:00
djlint-bot
089060065b chore(build): update packages [Weekly] 2022-02-13 01:13:38 +00:00
djlint-bot
ed397ed120 chore(build): update packages [Weekly] 2022-02-06 01:13:00 +00:00
Christopher Pickering
98a846e3a9
Merge branch 'master' of github.com:Riverside-Healthcare/djLint 2022-01-31 16:16:37 -06:00
Christopher Pickering
3e0b13edcb
fixed #177, added test 2022-01-31 16:16:17 -06:00
djlint-bot
4bc7f0b592 chore(build): update packages [Weekly] 2022-01-30 01:05:11 +00:00
Christopher Pickering
a7e0d88e79
added import for py3.7, dropped 3.6 from pyproject 2022-01-24 12:17:20 -06:00
Christopher Pickering
06ef9d0617
updated version and changelog 2022-01-24 12:05:16 -06:00
djlint-bot
8c69016a42 chore(build): update packages [Weekly] 2022-01-24 15:43:22 +00:00
Christopher Pickering
b69479be15
updated version 2022-01-14 09:30:40 -06:00
Christopher Pickering
774a7b4ea1
updated version 2022-01-05 11:46:07 -06:00
Christopher Pickering
9736050740
updated release and gitignore 2022-01-03 16:50:21 -06:00
Christopher Pickering
068100926b
updated version 2021-12-14 12:58:43 +01:00