Invoking Angular Language Service from cmd

70 Views Asked by At

How can i invoke angular language service from command line or from a script. Like we have eslint plugin which we can install as vscode extension and install in node modules and access it in our code like below:

const { ESLint } = require('eslint')
const eslint = new ESLint()
const results = await eslint.lintFiles(filesToCheck)
const filteredResults = ESLint.getErrorResults(results)

The same approach for angular language service to detect the issues in a custom html file Thanks in advance

0

There are 0 best solutions below