Code Quality Tools

Last updated 2 months ago

Here's some commands to help with code quality.

Remove Trailing Spaces

Removes trailing whitespace from the ends of your lines.

From the CLI

utils remove-trailing-spaces **.cf*

From CFML

command( 'rts' )
.params( '**.cf*' )
.run();

Add final EOL character

Makes sure the last line of every source file has an EOL character.

From the CLI

utils add-eol-at-eof **.cf*

From CFML

command( 'eol' )
.params( '**.cf*' )
.run();