mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-04 02:10:06 +08:00
20 lines
451 B
Lua
20 lines
451 B
Lua
|
local util = require 'lspconfig.util'
|
||
|
|
||
|
return {
|
||
|
default_config = {
|
||
|
cmd = { 'quick-lint-js', '--lsp-server' },
|
||
|
filetypes = { 'javascript' },
|
||
|
root_dir = util.root_pattern('package.json', 'jsconfig.json', '.git'),
|
||
|
single_file_support = true,
|
||
|
},
|
||
|
docs = {
|
||
|
description = [[
|
||
|
https://quick-lint-js.com/
|
||
|
|
||
|
quick-lint-js finds bugs in JavaScript programs.
|
||
|
|
||
|
See installation [instructions](https://quick-lint-js.com/install/)
|
||
|
]],
|
||
|
},
|
||
|
}
|