It would be great if there was a bslint rule that could have the options of either always requiring values to be set with the brackets instead of dot or only when the value contains a capital character or off.
Another rule related to this would be with requiring quotes when specifying keys while creating an AA. As an example:
aa = {
"myCamelCaseKey": "myCamelCaseValue"
}
Will properly maintain casing while if quotes are not used it won't. This could have the same options of either always requiring values to be set with the brackets instead of dot or only when the value contains a capital character or off.
In a Roku app if you do the following:
myCamelCaseKey
is now stored asmycamelcasekey
.If you instead set the value like:
then it properly maintains its casing.
It would be great if there was a bslint rule that could have the options of either always requiring values to be set with the brackets instead of dot or only when the value contains a capital character or off.
Another rule related to this would be with requiring quotes when specifying keys while creating an AA. As an example:
Will properly maintain casing while if quotes are not used it won't. This could have the same options of either always requiring values to be set with the brackets instead of dot or only when the value contains a capital character or off.