thibaudcolas/curlylint
关于
为 Jinja、Nunjucks、Django templates、Twig 和 Liquid 提供实验性的 HTML 模板 lint 检查。
网站与应用开发可以做什么
- More checks for common accessibility issues in HTML.
- Checks for common security issues – for example rel="noopener noreferrer", or known sources of XSS vulnerabilities.
- More ideas welcome!
实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文curlylint 
{{ 🎀}} Experimental HTML templates linting for Jinja, Nunjucks, Django templates, Twig, Liquid. Forked from jinjalint.
Features
Curlylint is an HTML linter for “curly braces” templates, and their HTML. It focuses on rules to check for common accessibility issues.

On the roadmap:
- More checks for common accessibility issues in HTML.
- Checks for common security issues – for example
rel="noopener noreferrer", or known sources of XSS vulnerabilities. - More ideas welcome!
Usage
Curlylint is available on PyPI, grab it and you can start linting:
# Assuming you’re using Python 3.6+,
pip install curlylint
# Now time to lint those templates!
curlylint template-directory/
Have a look at our documentation to make the most of it:
Contributing
See anything you like in here? Anything missing? We welcome all support, whether on bug reports, feature requests, code, design, reviews, tests, documentation, and more. Please have a look at our contribution guidelines.
If you just want to set up the project on your own computer, the contribution guidelines also contain all of the setup commands.
Credits
This project started as a fork of jinjalint. Image credit: FxEmojis. Test templates extracted from third-party projects. Website hosted by Netlify.
View the full list of contributors. MIT licensed. Website content available as CC0.
探索相关项目
加载中…