Linter Plugin
The Linter plugin contains executors, generator, plugin and utilities used for linting JavaScript/TypeScript projects within an Nx workspace.
Setting Up Linter
Installation
In any Nx workspace, you can install @nrwl/linter by running the following commands if @nrwl/linter package is not installed:
npm i --save-dev @nrwl/linteryarn add --dev @nrwl/linterLint
You can lint an application or a library with the following command:
nx lint my-appnx lint my-libUtils
- convert-tslint-to-eslint - Converts a project linter from TSLint to ESLint