mirror of
https://github.com/kjanat/articulate-parser.git
synced 2026-10-13 01:35:27 +02:00
- Add logger to all exporters for consistent error handling - Add Course.Validate() method with ValidationError type - Create shared test fixtures in internal/testdata - Refactor config passing: NewArticulateParser now takes *config.Config - Add NewLoggerFromConfig() factory for logger creation - Add context cancellation with signal handling (SIGINT/SIGTERM) - Add godoc examples for loggers and exporters - Add HTML exporter error path tests - Add fuzz tests for parser and HTMLCleaner - Fix markdown output: trim whitespace, collapse blank lines - Remove test output files from repo
41 lines
761 B
JSON
41 lines
761 B
JSON
{
|
|
"tab_size": 2,
|
|
"hard_tabs": true,
|
|
"prettier": { "allowed": false },
|
|
"formatter": [
|
|
{ "language_server": { "name": "dprint" } }
|
|
],
|
|
"languages": {
|
|
"Go": {
|
|
"language_servers": ["gopls", "golangci-lint-langserver", "..."]
|
|
}
|
|
},
|
|
"lsp": {
|
|
"gopls": {
|
|
"enable_lsp_tasks": true,
|
|
"initialization_options": {
|
|
"workspaceFiles": ["go.mod", "go.work", "*.go"]
|
|
}
|
|
},
|
|
"golangci-lint": {
|
|
"enable_lsp_tasks": false
|
|
},
|
|
"golangci-lint-langserver": {
|
|
"binary": {
|
|
"path": "golangci-lint-langserver",
|
|
"arguments": ["-debug"]
|
|
},
|
|
"initialization_options": {
|
|
"command": [
|
|
"golangci-lint",
|
|
"run",
|
|
"--output.json.path",
|
|
"stdout",
|
|
"--show-stats=false",
|
|
"--issues-exit-code=1"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|