Remove unused `languages` and `linters` variables.

Use object literal instead of object property assignment.
Prefer lodash _.contains to native indexOf.