Adds dot notation lint rule

Warns about using square bracket notation when it is unnecessary