splunk / vscode-extension-splunk

Visual Studio Code Extension for Splunk
MIT License
86 stars 25 forks source link

Is it possible to run linter for conf files separately? #112

Closed yaroslav-nakonechnikov closed 7 months ago

yaroslav-nakonechnikov commented 9 months ago

Hello,

in big files, where there are several thounds of lines, it is hard to find errors. but before doing any commit we'd love to run linter to check for syntax.

is it possible?

JasonConger commented 7 months ago

Kind of. Check out the spec.test.js file for an example.

That being said, VSCode includes a Problems view (click View > Problems) that will show a summary of problems found in your file (see attached image).

image