sergiu-paraschiv/phpci-eslint 问题修复 & 功能扩展

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

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

sergiu-paraschiv/phpci-eslint

Composer 安装命令:

composer require sergiu-paraschiv/phpci-eslint

包简介

npm eslint plugin for PHPCI

README 文档

README

Eslint reporter for PHPCI

Add this to composer.json:

composer require sergiu-paraschiv/phpci-eslint

Then the task to phpci.yml:

test:
    ...
    \SergiuParaschiv\PHPCI\Plugin\Eslint:
        directory: "frontend"
        command: "npm run lint:ci"
        allowed_errors: 10
        allowed_warnings: 20
        data_offset: 2
    ...

Eslint should run with the -f json flag.

data_offset is the number of lines at the top of the output to skip before parsing the response.

lint:ci in package.json should be "lint:ci": "eslint 'app/**/*.js' -f json; exit 0",

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2016-05-18

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固