Fix invalid linter conf and fix reported lint errors