coqa

0.2.9 • Public • Published

Coqa (Code Quality Assurance)

Generates reports about duplicate/problematic JavaScript code.

Defers all the hard work to ESLint and jsinspect.

Installation

yarn global add coqa

Or if you prefer NPM:

npm install --global coqa

Usage

  Usage: coqa [options] <paths ...>
 
 
  Options:
 
    -V, --version           output the version number
    -w, --wait <pattern>    seconds to wait for browser to open
    -i, --ignore <pattern>  ignore paths matching a regex
    -d, --debug             print debug information
    -h, --help              output usage information

Code Duplication usually contains some false positives. I currently use my browsers DevTools to remove those, before submitting the review.

A better version of this tool would let you select which to keep (and maybe also show a colored diff).

Readme

Keywords

none

Package Sidebar

Install

npm i coqa

Weekly Downloads

1

Version

0.2.9

License

MIT

Last publish

Collaborators

  • gr__or