cfpathcheck
Version:
Check CFML files for correct paths in cfinclude/cfimport tags
49 lines (35 loc) • 2.15 kB
Markdown
# cfpathcheck
Static analysis for cfml template import and include paths
[](https://www.npmjs.com/package/cfpathcheck)
[](https://www.npmjs.com/package/cfpathcheck)
[](https://github.com/timbeadle/cfpathcheck)
[](https://github.com/xojs/xo)
[](https://codeclimate.com/github/timbeadle/cfpathcheck)
[](https://depshield.github.io)
[](https://snyk.io/test/github/timbeadle/cfpathcheck)
## Installation
`(sudo) npm install -g cfpathcheck`
* Unix/Linux/Mac OS X: Note that sudo is required unless you have set your npm environment up not to need it
* Windows: Note that sudo doesn't exist ;o)
## Usage
`cfpathcheck PATH [-r REPORTER -o OUTFILE]`
### Options
* PATH: The path to a single .cfm file, or to a directory containing .cfm files.
* REPORTER: use checkstyle to output checkstyle-compatible xml to stdout.
* OUTFILE: The path to the output file, for integration with (e.g.) Jenkins or other CI servers.
### Release support matrix
| Release | Min Node ver. | Support |
| ------- | ------------- | ----------- |
| 1.x | 4.0.0 | Obsolete |
| 2.x | 6.0.0 | Obsolete |
| 3.x | 8.0.0 | Obsolete |
| 4.x | 10.0.0 | Obsolete |
| 5.x | 12.0.0 | Obsolete |
| 6.x | 12.22.0 | Obsolete |
| 7.x | 14.13.0 | Obsolete |
| 8.x | 14.17.0 | Obsolete |
| 9.x | 16.14.0 | Obsolete |
| 10.x | 18.0.0 | Obsolete |
| 11.x | 20.19.1 | Current |
### Release history
* See [CHANGELOG](https://github.com/timbeadle/cfpathcheck/blob/main/CHANGELOG.md).