Quantcast
Viewing latest article 38
Browse Latest Browse All 45

Is it possible to define custom/local linters in vscode?

I have a simple home made linter that I use for work, it's invoked like this: python3 scripts/lint.py FILENAME

The output is completely standard linter-style output, like:

path/to/file.yang:5:19: Linter warning herepath/to/file.yang:6:83: Another warning here...

I feel like it should be very easy to integrate this linter into vscode so I get automatic linting while writing code, just like how linter extensions work. However, Googling "vscode custom linter" yields absolutely nothing of value.

Is it possible to do this without going through the trouble of writing a custom extension?


Viewing latest article 38
Browse Latest Browse All 45

Trending Articles