From d4663b331d5af6ec352406a9dfb221493c49e54c Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Mon, 31 Jan 2022 10:33:36 +0000 Subject: [PATCH] Add `.hbs` extension for Handlebars templates [Handlebars](https://handlebarsjs.com/) templates most commonly use the `.hbs` extension. I believe [Ember](https://guides.emberjs.com/release/components/) is the most popular tool that uses `.hbs`. [Eleventy](https://www.11ty.dev/docs/languages/handlebars/) is another example. --- identify/extensions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/identify/extensions.py b/identify/extensions.py index b5b9293..b7b660a 100644 --- a/identify/extensions.py +++ b/identify/extensions.py @@ -66,6 +66,7 @@ 'gypi': {'text', 'gyp', 'python'}, 'gz': {'binary', 'gzip'}, 'h': {'text', 'header', 'c', 'c++'}, + 'hbs': {'text', 'handlebars'}, 'hcl': {'text', 'hcl'}, 'hh': {'text', 'header', 'c++'}, 'hpp': {'text', 'header', 'c++'},