mirror of
https://github.com/kjanat/livegraphs-django.git
synced 2026-02-13 14:15:42 +01:00
lint: Enable oxc for JS/TS and add strict lint
Configure oxc LSP initialization options: run set to "onType", typeAware enabled, unusedDisableDirectives set to "allow", and configPath/tsConfigPath left null.
This commit is contained in:
@@ -9,6 +9,34 @@
|
||||
"!basedpyright",
|
||||
"..."
|
||||
]
|
||||
},
|
||||
"TypeScript": {
|
||||
"language_servers": [
|
||||
// Enable oxc for TypeScript files.
|
||||
"oxc",
|
||||
"..."
|
||||
]
|
||||
},
|
||||
"JavaScript": {
|
||||
"language_servers": [
|
||||
// Enable oxc for JavaScript files.
|
||||
"oxc",
|
||||
"..."
|
||||
]
|
||||
}
|
||||
},
|
||||
"lsp": {
|
||||
"oxc": {
|
||||
"initialization_options": {
|
||||
"options": {
|
||||
"run": "onType",
|
||||
"configPath": null,
|
||||
"tsConfigPath": null,
|
||||
"unusedDisableDirectives": "allow",
|
||||
"typeAware": true,
|
||||
"flags": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user