UNPKG

@nx/angular

Version:

The Nx Plugin for Angular contains executors, generators, and utilities for managing Angular applications and libraries within an Nx workspace. It provides: - Integration with libraries such as Storybook, Jest, ESLint, Tailwind CSS, Playwright and Cypre

52 lines (51 loc) 1.72 kB
{ "$schema": "https://json-schema.org/schema", "$id": "NxAngularAddLintingGenerator", "title": "Add linting to an Angular project.", "description": "Adds linting configuration to an Angular project.", "cli": "nx", "type": "object", "examples": [ { "command": "nx g @nx/angular:add-linting --prefix=cool --projectName=cool-lib --projectRoot=libs/cool-lib", "description": "Adds ESLint with Angular-specific rules for an existing project named `cool-lib` with the [prefix](https://angular.dev/style-guide#style-02-07) `cool`" } ], "properties": { "prefix": { "type": "string", "format": "html-selector", "description": "The prefix to apply to generated selectors.", "x-priority": "important" }, "projectName": { "type": "string", "description": "The name of the project.", "x-priority": "important" }, "projectRoot": { "type": "string", "description": "The path to the root of the selected project.", "x-priority": "important" }, "setParserOptionsProject": { "type": "boolean", "description": "Whether or not to configure the ESLint `parserOptions.project` option. We do not do this by default for lint performance reasons.", "default": false }, "skipFormat": { "type": "boolean", "description": "Skip formatting files.", "default": false, "x-priority": "internal" }, "skipPackageJson": { "type": "boolean", "default": false, "description": "Do not add dependencies to `package.json`.", "x-priority": "internal" } }, "additionalProperties": false, "required": ["prefix", "projectName", "projectRoot"] }