github-linguist / github-linguist/linguist

Wrong language detected for .erb templates

Open
#5,629 2 comments 0 reactions 0 assignees View on GitHub
Misidentified Language
Dominant language
Ruby
Stars
13.7k
Forks
5.4k
Avg merge
1d 15h
Merged PRs (30d)
17

Description

`.erb` is not HTML! It can be anything.

In my case I have a `deployment.yml.erb` and `Dockerfile.erb` and thy are both reported as HTML... wrong.

You should report it as Ruby (or, otherwise, as yml + docker in this case).

Note: This report is about the "Languages" info reported near the repository on Github.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.