diablomedia/arcanist-extensions 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

diablomedia/arcanist-extensions

最新稳定版本:1.2.0

Composer 安装命令:

composer require diablomedia/arcanist-extensions

包简介

Collection of Arcanist extensions use for linting/testing code with Arcanist and Phabricator/Phorge

README 文档

README

Extensions for Arcanist (should also work with any forks of Arcanist, like the one bundled with Phorge)

Installation

The recommended way to install these extensions is with composer. There are very few dependencies (only one, for the php-cs-fixer linter), so there shouldn't be many dependency conflicts.

composer require diablomedia/arcanist-extensions --dev

If composer installation is not possible, you can clone this repo somewhere in your system and point your .arcconfig to the path where this is installed. You can also install it in the same location as your arcanist and libphutil directories, and arcanist should find the extensions there.

Configuration

To enable all of the extensions in this repository, you just need to add one line to your .arcconfig file's "load" section:

{
  "load": ["vendor/diablomedia/arcanist-extensions/extensions/"]
}

If you don't want to enable all of the extensions in your config (technically they're not used until you configure them in your .arclint (for linters) or .arcconfig (for unit test engines)) you can load each extension individually, for example:

{
  "load": [
    "vendor/diablomedia/arcanist-extensions/extensions/composer_validate_linter",
    "vendor/diablomedia/arcanist-extensions/extensions/phpstan_linter"
  ]
}

To configure the extension to run in your arcanist project, please reference each extension's README file (linked below).

Extensions Included

  • Linters
  • Unit Test Engines
    • Jest - Runs Jest (for Javascript tests) and processes coverage report
    • Vitest - Runs Vitest (for Javascript tests) and processes coverage report
    • Multi Test Engine - Allows configuration of multiple unit test engines (useful for repositories that contain tests for different languages, i.e. PHP and JS for a repo that contains server-side (PHP) and client side (Javascript) tests)

Acknowledgements

Some of these linters come from forks of other linters found on github that are generally not maintained anymore (or we forked due to some difference in functionality that worked better for us). Check out the README for each linter, which will link back to the original project.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-29