Update linting options, fix typos and update style