tsystems/grumphp-typoscript-lint
Composer 安装命令:
composer require tsystems/grumphp-typoscript-lint
包简介
A typoscript linter task for grumphp
README 文档
README
Grumphp Typoscript Lint
A TypoScript lint task for GrumPHP. Based on the TypoScript Linter of Martin Helmich martin-helmich/typo3-typoscript-lint
Installation
Install composer package
composer require --dev madikon/grumphp-typoscript-lint
Add the extension loader to your grumphp.yml
grumphp: extensions: - Madikon\GrumphpTypoScriptLint\Extension\Loader
Usage
Default configuration for grumphp
grumphp: tasks: typoscriptlint: config: "path/to/your/typoscriptlint-config.yaml" paths: - "path/to/include" exclude: - "path/or/file/to/exclude" triggered_by: - typoscript - tsconfig format: "compact" fail-on-warnings: true output: "-"
Results in the folowing command line call
vendor/bin/typoscript-lint --config=path/to/your/typoscriptlint-config.yaml --format=compact --output=- --fail-on-warnings file1.typoscript file2.typoscript
Linter Configuration
For more detailed documentation and configuration please refer to https://github.com/martin-helmich/typo3-typoscript-lint#configuration
统计信息
- 总下载量: 5.72k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-12-07