build: add oxlint

This commit is contained in:
2026-04-29 00:08:34 -04:00
parent 076eee4e96
commit 46aac3ef39
2 changed files with 375 additions and 2 deletions

View File

@@ -4,7 +4,9 @@
"private": true,
"description": "LSP tools for pi: hover, definition, references, completions, symbols, diagnostics.",
"pi": {
"extensions": ["./index.ts"]
"extensions": [
"./index.ts"
]
},
"type": "module",
"bin": {
@@ -12,7 +14,8 @@
},
"scripts": {
"lsp": "tsx ./cli.ts",
"typecheck": "tsc --noEmit"
"typecheck": "tsc --noEmit",
"lint": "oxlint . --ignore-pattern=.direnv/**"
},
"dependencies": {
"vscode-jsonrpc": "^8.2.1",
@@ -20,6 +23,7 @@
},
"devDependencies": {
"@types/node": "^22.10.0",
"oxlint": "^1.62.0",
"tsx": "^4.19.2",
"typescript": "^6.0.3"
}