2017 © Pedro Peláez
 

library phpci-jshint-plugin

PHPCI plugin for JSHint integration

image

thijskok/phpci-jshint-plugin

PHPCI plugin for JSHint integration

  • Friday, August 5, 2016
  • by thijskok
  • Repository
  • 2 Watchers
  • 2 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 6 % Grown

The README.md

JSHint plugin for PHPCI

A plugin for PHPCI to check your Javascript using JSHint., (*1)

Install the Plugin

  1. Navigate to your PHPCI root directory and run composer require thijskok/phpci-jshint-plugin
  2. Copy build-plugins/jshint.js to /path/to/phpci/public/assets/js/build-plugins/jshint.js
  3. If you are using the PHPCI daemon, restart it
  4. Update your phpci.yml in the project you want to deploy with

Prerequisites

  1. JSHint needs to be installed.

Plugin Options

  • path [string, optional] - Directory in which JSHint should run (default: build root)
  • allowed_warnings [int, optional] - The warning limit for a successful build (default: 0). -1 disables warnings

PHPCI Config

ThijsKok\PHPCI\Plugin\JSHint:
    path: 'resources/js'
    allowed_warnings: 10

example:, (*2)

setup:
    ThijsKok\PHPCI\Plugin\JSHint:
        path: 'resources/js'

The Versions

05/08 2016

dev-master

9999999-dev

PHPCI plugin for JSHint integration

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires

05/08 2016

v1.0.0

1.0.0.0

PHPCI plugin for JSHint integration

  Sources   Download

MIT

The Requires

  • php >=5.3.3

 

The Development Requires