We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e5bf88e commit 8981192Copy full SHA for 8981192
lua/lspconfig/configs/oxlint.lua
@@ -0,0 +1,30 @@
1
+local util = require 'lspconfig.util'
2
+
3
+return {
4
+ default_config = {
5
+ cmd = { 'oxc_language_server' },
6
+ filetypes = {
7
+ 'astro',
8
+ 'javascript',
9
+ 'javascriptreact',
10
+ 'svelte',
11
+ 'typescript',
12
+ 'typescript.tsx',
13
+ 'typescriptreact',
14
+ 'vue',
15
+ },
16
+ root_dir = util.root_pattern('.oxlintrc.json'),
17
+ single_file_support = false,
18
19
+ docs = {
20
+ description = [[
21
+https://oxc.rs
22
23
+A collection of JavaScript tools written in Rust.
24
25
+```sh
26
+npm install [-g] oxlint
27
+```
28
+]],
29
30
+}
0 commit comments