christophlehmann/fluid-lint
最新稳定版本:0.1.2
Composer 安装命令:
composer require christophlehmann/fluid-lint
包简介
Syntax check for Fluid templates
README 文档
README
A syntax checker for Fluid templates in TYPO3 11+
Installation
composer req --dev christophlehmann/fluid-lint
Usage
# Check a single TYPO3 Extension composer exec typo3 -- fluidlint:check -e site_extension # Check all TYPO3 Extensions in a directory composer exec typo3 -- fluidlint:check -b local_packages/
Without any options all templates in all non-system extensions are checked.
With -vvv you get more details about the templates.
All options
composer exec typo3 -- help fluidlint:check Description: Fluid Lint: Check Fluid syntax Usage: fluidlint:check [options] Options: -b, --base-dir=BASE-DIR Extensions in given directory -e, --extension[=EXTENSION] Extension key to check -p, --path[=PATH] File or folder path (if extensionKey is included, path is relative to this extension) -r, --regex=REGEX Extension key must match regular expression [default: ".*"] -x, --file-extensions=FILE-EXTENSIONS If provided, this CSV list of file extensions are considered Fluid templates [default: "html,xml,txt"] -v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Limitations
It does not verify the types of ViewHelper arguments since arguments are not used.
Credits
The command was extracted from FluidTYPO3/builder which is the work of Clause Due.
统计信息
- 总下载量: 4.1k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-02-11