duplication
Reports copied code across every language a configuration claims.
Checks
Section titled “Checks”| Check | Stage | Level | What it does |
|---|---|---|---|
duplication/jscpd |
push |
all |
Reports every block of code copied between files, naming both places. |
Settings
Section titled “Settings”| Setting | What it sets |
|---|---|
duplication.min_lines |
The fewest lines a copied block has before it counts. |
duplication.min_tokens |
The fewest tokens a copied block has before it counts. |
Selected when
Section titled “Selected when”Always selected.
Tools and versions
Section titled “Tools and versions”| Tool | Version |
|---|---|
| jscpd | 5.2.0 |
Files gspot writes
Section titled “Files gspot writes”gspot writes .gspot/configurations/general/duplication/jscpd.json.