Immutable
release. Only release title and notes can be modified.
Release Notes
⛰️ Features
- (format) Allow
{# djangofmt:ignore #}to disable formatting (#333) - (8de13fc) - (lint) Add
django-url-patternlint rule (#314) - (9cfc71c) - (lint) Add
empty-tag-pairlint rule (#313) - (5ac93df) - (lint) Add
missing-img-altlint rule (#312) - (d7e3d38) - (lint) Add
django-static-urllint rule (#311) - (27836b6) - (lint) Add
use-httpslint rule (#308) - (3503bc7) - (playground) Add ast + Doc IR representation in playground (#331) - (c9489bb)
🐛 Bug Fixes
🚜 Refactor
- (lint) Dispatch per-attribute rules from a single attribute visitor (#330) - (d02925c)
- (lint) Dispatch tag-scoped rules by tag (#326) - (4c1a059)
- (lint) Check img height and width attributes in a single pass (#322) - (5164cea)
- (lint) Reuse fs::get_cwd and drop build_walk_filters wrapper (#320) - (9aab7b7)
- (lint) Add
fix::editsmodule withdelete_attr_fixhelper (#319) - (d7cc9ad) - (lint) Extract jinja-aware attr-presence helper (#318) - (6910bd9)
- (lint) Fold attribute value match into NativeAttribute pattern (#317) - (67f5802)
- (playground) Switch to deno (#316) - (2abd19d)
- (test) Share benchmark template list via
ALL_TEMPLATESconst (#321) - (2eab77b)
⚡ Performance
- (format) Update
markup_fmtleading to average perf improvement of 2x (#329) - (d0329ca) - (lint) Use a BitSet to store enabled rules (#325) - (347d0b9)
Install djangofmt 0.2.10
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.10/djangofmt-installer.sh | shInstall prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/UnknownPlatypus/djangofmt/releases/download/v0.2.10/djangofmt-installer.ps1 | iex"