add trailing commas rule, fix typos