djlint / djLint

✨ HTML Template Linter and Formatter. Django - Jinja - Nunjucks - Handlebars - GoLang
https://djLint.com
GNU General Public License v3.0
686 stars 84 forks source link

[FEATURE] Linter rule for `Invalid template name in 'extends' tag: ''` #722

Open cclauss opened 1 year ago

cclauss commented 1 year ago

Feature Request

Running ./manage.py compress raises the error Invalid template name in 'extends' tag: ''

christopherpickering commented 1 year ago

Hey @cclauss welcome back :) How would you suggest going about this? pick up the file name then verify the path is reachable from the template location?

cclauss commented 1 year ago

Yes. That seems right to me.