CF Auto Linter TestBox Runner
CFLintBox
Nov 14, 2024 DevOps Completed
![]()
CF Auto Linter Box Runner - ColdFusion code quality tool.
This project, when ran against your code base, will run CFLint on each file and save the lint result. Then generate a TestBox Unit test for viewing the results. You can then use ANT or other build tool to run the TestBox runner to verify a passing result. I know, you can do all this without TestBox, but where is the fun in that?
You could easily change this over to just generate an HTML report of the results, or use ANT directly against the JSON result.
Project Documentation
# CFLintBox
CF Auto Linter TestBox Runner
`{cflintbox}`
This project, when ran against your code base, will run CFLint on each file and save the lint result. Then generate a TestBox Unit test for viewing the results. You can then use ANT or other build tool to run the TestBox runner to verify a passing result. I know, you can do all this without TestBox, but where is the fun in that?
You could easily change this over to just generate an HTML report of the results, or use ANT directly against the JSON result.
Usage
``` box install ```
- Install the box
- Update the config.json file with the directory you want to scan
- Run box server start
- Comes with CFLint 1.5, but use what ever version you want. Just update the path to the linter in the application.
- Flags:
- ?reload=true: Restart the application / scan process. Aborts after the app start. Go back to /index.cfm to view results
- ?dumpResults=true: Dump the results to the screen. Aborts after the dump. Go back to /index.cfm to view results
Technologies Used:
GitHub Repository
0 Stars
0 Forks
0 Watchers
ColdFusion Language