From 55fa8758d107a91dbf0a658de5a0e4daff3f5423 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Tue, 31 Mar 2026 10:54:59 +0200 Subject: [PATCH] languages: Mark `.jshintrc` as a JSONC file (#52474) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Context ## How to Review ## Self-Review Checklist - [x] I've reviewed my own diff for quality, security, and reliability - [ ] Unsafe blocks (if any) have justifying comments - [ ] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [ ] Tests cover the new/changed behavior - [ ] Performance impact has been considered and is acceptable Release Notes: - Marked `.jshintrc` as a `jsonc` file --- crates/grammars/src/jsonc/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/grammars/src/jsonc/config.toml b/crates/grammars/src/jsonc/config.toml index 95ace4bb4ee29da67450409568ddc2cd3022a28e..acc0c2e13d5b0ad2df5e45e500be36c53e7c5857 100644 --- a/crates/grammars/src/jsonc/config.toml +++ b/crates/grammars/src/jsonc/config.toml @@ -1,6 +1,6 @@ name = "JSONC" grammar = "jsonc" -path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "luaurc", "swcrc", "babelrc", "eslintrc", "stylelintrc"] +path_suffixes = ["jsonc", "bun.lock", "devcontainer.json", "pyrightconfig.json", "tsconfig.json", "luaurc", "swcrc", "babelrc", "eslintrc", "stylelintrc", "jshintrc"] line_comments = ["// "] autoclose_before = ",]}" brackets = [