定制 madikon/grumphp-typoscript-lint 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

madikon/grumphp-typoscript-lint

Composer 安装命令:

composer require madikon/grumphp-typoscript-lint

包简介

A typoscript linter task for grumphp

README 文档

README

Test

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

统计信息

  • 总下载量: 3.8k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固