KamasamaK
KamasamaK
I do use `listFindNoCase` like this quite often since there is no more suitable BIF that returns a boolean.
#622 is only preventing `column` from being negative, which as I say in the comment on that PR doesn't solve the core problem. It also doesn't help offsets at all,...
@ryaneberly To get a list of all BIFs, you can check https://github.com/foundeo/cfdocs/blob/master/data/en/functions.json This will include a combination of BIFs for all engines, though. If you need a list for a...
I would avoid using the term "coldfusion" in favor of "CFML".
I'm not aware of any other linters that even have rules related to variable name length. The closest thing I've found to accomplish that is one that allows passing a...
I have not used Lucee extensively, so if anyone can comment on syntax differences that would need to be taken into consideration that would be great as parse errors would...
The ternary and elvis operators are not exclusive to Lucee, so they should be supported regardless. The `dump` function is a good example because there is a rule to avoid...
This is also supported as of ColdFusion 2021, so no longer Lucee-exclusive. https://helpx.adobe.com/coldfusion/developing-applications/building-blocks-of-coldfusion-applications/building-and-using-coldfusion-components/cfc-variables-and-scope.ug.html#static-support
Very interesting. It _does_ hoist the scoping of `var` statements. It does not, however, hoist the scoping of variables declared using `local`. Ever since the explicit `local` scope was introduced...
@ryaneberly In general, it means that if `var` is used for a variable _anywhere_ within the function, including after the initialization or in a block that is not even executed,...