Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recognize jq scripts #6660

Open
mcandre opened this issue Dec 30, 2023 · 1 comment
Open

Recognize jq scripts #6660

mcandre opened this issue Dec 30, 2023 · 1 comment

Comments

@mcandre
Copy link
Contributor

mcandre commented Dec 30, 2023

Describe the enhancement

Please highlight *.jq files and executables with jq hashbangs as JQ scripts.

Example:

https://github.com/mcandre/jelly/blob/main/example/jelly

@github-linguist github-linguist deleted a comment from 2nine1e Feb 3, 2024
@github-linguist github-linguist deleted a comment from 2nine1e Feb 3, 2024
@Alhadis Alhadis changed the title Recognize jq scripts Recognize jq scripts Feb 3, 2024
@lildude
Copy link
Member

lildude commented Feb 3, 2024

with jq hashbangs as JQ scripts.

Your example doesn't have a jq hashbang 😉, it has a /bin/sh hashbang as it is rightly a shell script that is running the jq command.

This on the other hand is an example which also illustrates that a) linguist already supports jq and b) one of the override methods you can use.

This is easy enough to add so feel free to submit a PR which adds an interpreters section to the current jq entry.

Alhadis added a commit that referenced this issue Feb 3, 2024
github-merge-queue bot pushed a commit that referenced this issue Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants