Skip to content

Commit b82dc51

Browse files
authored
Add json schema association for eslint (#2231)
- changed lsp-json-schema-associations to ht since using keywords prefixed with `:/` looks odd. Also changed that variable to public.
1 parent 6fb6c81 commit b82dc51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clients/lsp-json.el

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@
8282
:/jsconfig.json ["http://json.schemastore.org/jsconfig"]
8383
:/jsconfig.*.json ["http://json.schemastore.org/jsconfig"]
8484
:/project.json ["http://json.schemastore.org/project"]
85-
:/omnisharp.json ["http://json.schemastore.org/omnisharp"])
85+
:/omnisharp.json ["http://json.schemastore.org/omnisharp"]
86+
:/.eslintrc.json ["http://json.schemastore.org/eslintrc"]
87+
:/.eslintrc ["http://json.schemastore.org/eslintrc"])
8688
"Default json schemas.")
8789

8890
(defun lsp-json--get-content (_workspace uri callback)

0 commit comments

Comments
 (0)