Comments (8)
@kucherenko Sorry, can we re-open this. What I mean to ask is, how do we use those flags inside the YML file?
from jscpd.
sorry for late answers, I will fix this issue
from jscpd.
you can use min-tokens
and min-lines
inside yaml file
from jscpd.
yes, you can use jscpd with --min-tokens or with -t
-l, --min-lines [NUMBER]min size of duplication in code lines (Default is 5)
-t, --min-tokens [NUMBER]mim size of duplication in code tokens (Default is 70)
from jscpd.
Have you found the answer @b-long ? I want to do the same :)
from jscpd.
I haven't @paulintrognon , sorry to say.
from jscpd.
done
from jscpd.
Excellent! Thanks @kucherenko :)
from jscpd.
Related Issues (20)
- --format Invalid Configuration HOT 3
- "pattern" takes precedence over "ignore" HOT 2
- npmjs description not accurate
- The tokens field in duplicates is always zero HOT 1
- Adding Purescript as a supported language to jscpd
- "ignore" does not work with relative paths that don't start with a wildcard glob
- consoleFull/html reporter shows wrong code block than line number gives HOT 1
- compare a file with a directory HOT 2
- 查重
- More documentation on building, running, and debugging HOT 1
- Astro Support HOT 2
- Please add ColdFusion / CFML language support HOT 3
- Able to compare two project between them HOT 1
- Readable report with code extract HOT 1
- Sort output with respect to number of duplicate lines detected HOT 3
- PHP Multiline strings causing line number to be reported incorrectly
- Does jscpd support synchronization methods ? HOT 1
- Npm i fails during install through pre-commit hook HOT 6
- Skip files larger than a certain size HOT 1
- CVE-2024-36361 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jscpd.