dead-code-checker
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -14,2 +14,3 @@ #!/usr/bin/env node | ||
.option('-f, --folder <folder>', 'Folder to be scanned (Default: ./src)') | ||
.option('-if, --ignoreFolders <folders...>', 'Folders to be ignored') | ||
.parse(process.argv); | ||
@@ -24,4 +25,6 @@ | ||
} else { | ||
const checker = new DeadCodeChecker(options.folder); | ||
const checker = new DeadCodeChecker(options.folder, { | ||
ignoreFolders: options.ignoreFolders || [] | ||
}); | ||
checker.run(); | ||
} |
{ | ||
"name": "dead-code-checker", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Dead code checker", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -9,2 +9,4 @@ # Dead Code Checker | ||
The tool will recursively scan through your project's source files and generate a report of unused functions and variables. | ||
## Features | ||
@@ -36,5 +38,4 @@ | ||
| -f, --folder <folder> | ./src | **Folder to be scanned:** Folder to be scanned (Default: ./src) | | ||
| -if, --ignoreFolders <folders...> | node_modules dist | **Folders to be ignored:** Folders to be ignored | | ||
The tool will recursively scan through your project's source files and generate a report of unused functions and variables. | ||
## Example Output | ||
@@ -41,0 +42,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
223363
6914
1
69