Skip to content

sergiu-paraschiv/PHPCI-jscpd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHPCI-jscpd

JSCPD reporter for PHPCI

Add this to composer.json:

composer require sergiu-paraschiv/phpci-jscpd

Then the task to phpci.yml:

\SergiuParaschiv\PHPCI\Plugin\JSCPD:
    directory: "frontend"
    command: "npm run mess:ci"
    allowed_duplication_percent: 5

mess:ci in package.json should be "jscpd --path app/ --languages javascript,jsx --exclude test/mocks/* --reporter xml --limit $LIMIT --output $OUTPUT"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages