# coqa

> Generates reports about duplicate/problematic JavaScript code.

Latest version **0.2.9** (published 2017-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install coqa
pnpm add coqa
yarn add coqa
bun add coqa
```

Provides the command `coqa`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.9 |
| Published | 2017-10-09 |
| First published | 2017-10-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 14 |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | gr__or |

## Links

- npm: https://www.npmjs.com/package/coqa
- npm.io page: https://npm.io/package/coqa

## Dependencies (14)

- [opn](https://npm.io/package/opn.md) ^5.1.0
- [tmp](https://npm.io/package/tmp.md) ^0.0.33
- [react](https://npm.io/package/react.md) ^16.0.0
- [eslint](https://npm.io/package/eslint.md) ^4.8.0
- [commander](https://npm.io/package/commander.md) ^2.11.0
- [filepaths](https://npm.io/package/filepaths.md) ^0.3.0
- [jsinspect](https://npm.io/package/jsinspect.md) ^0.12.7
- [react-dom](https://npm.io/package/react-dom.md) ^16.0.0
- [babel-eslint](https://npm.io/package/babel-eslint.md) ^8.0.1
- [source-map-support](https://npm.io/package/source-map-support.md) ^0.5.0
- [eslint-plugin-react](https://npm.io/package/eslint-plugin-react.md) ^7.4.0
- [babel-preset-stage-0](https://npm.io/package/babel-preset-stage-0.md) ^6.24.1
- [react-syntax-highlighter](https://npm.io/package/react-syntax-highlighter.md) ^5.7.0
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) ^6.24.1

## Recent versions

- 0.2.9 (latest) — 2017-10-09
- 0.2.8 — 2017-10-09
- 0.2.7 — 2017-10-09
- 0.2.6 — 2017-10-09
- 0.2.5 — 2017-10-07
- 0.2.4 — 2017-10-07
- 0.2.3 — 2017-10-07
- 0.2.2 — 2017-10-07
- 0.2.1 — 2017-10-07
- 0.2.0 — 2017-10-07
- 0.1.3 — 2017-10-07
- 0.1.2 — 2017-10-07
- 0.1.1 — 2017-10-07
- 0.1.0 — 2017-10-07

## README

# Coqa (Code Quality Assurance)

Generates reports about duplicate/problematic JavaScript code.

Defers all the hard work to [ESLint](https://eslint.org/) and [jsinspect](https://github.com/danielstjules/jsinspect).

## Installation
```bash
yarn global add coqa
```
Or if you prefer NPM:
```bash
npm install --global coqa
```

## Usage
```bash
  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).

---
_Source: https://npm.io/package/coqa · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
