41 lines
1.3 KiB
JSON
41 lines
1.3 KiB
JSON
{
|
|
"name": "plugin-lint-checks",
|
|
"factory": "./src/generators/lint-checks/generator",
|
|
"schema": {
|
|
"$schema": "http://json-schema.org/schema",
|
|
"cli": "nx",
|
|
"$id": "PluginLint",
|
|
"title": "",
|
|
"type": "object",
|
|
"description": "Adds linting configuration to validate common json files for nx plugins.",
|
|
"examples": [
|
|
{
|
|
"command": "nx g @nx/plugin:lint-checks",
|
|
"description": "Sets up linting configuration to validate common json files for an nx plugin project."
|
|
}
|
|
],
|
|
"properties": {
|
|
"projectName": {
|
|
"type": "string",
|
|
"description": "Which project should be the configuration be added to?",
|
|
"$default": { "$source": "projectName" },
|
|
"x-priority": "important"
|
|
},
|
|
"skipFormat": {
|
|
"type": "boolean",
|
|
"x-priority": "internal",
|
|
"description": "Skip formatting files with prettier.",
|
|
"default": false
|
|
}
|
|
},
|
|
"required": ["projectName"],
|
|
"presets": []
|
|
},
|
|
"description": "Adds linting configuration to validate common json files for nx plugins.",
|
|
"implementation": "/packages/plugin/src/generators/lint-checks/generator.ts",
|
|
"aliases": [],
|
|
"hidden": false,
|
|
"path": "/packages/plugin/src/generators/lint-checks/schema.json",
|
|
"type": "generator"
|
|
}
|