lint.json 884 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "$schema": "http://json-schema.org/schema",
  3. "$id": "ng-cli://commands/lint.json",
  4. "description": "Runs linting tools on Angular app code in a given project folder.",
  5. "$longDescription": "./lint-long.md",
  6. "$aliases": [ "l" ],
  7. "$scope": "in",
  8. "$type": "architect",
  9. "$impl": "./lint-impl#LintCommand",
  10. "type": "object",
  11. "allOf": [
  12. {
  13. "properties": {
  14. "project": {
  15. "type": "string",
  16. "description": "The name of the project to lint.",
  17. "$default": {
  18. "$source": "argv",
  19. "index": 0
  20. }
  21. },
  22. "configuration": {
  23. "description": "The linting configuration to use.",
  24. "type": "string",
  25. "aliases": [
  26. "c"
  27. ]
  28. }
  29. },
  30. "required": [
  31. ]
  32. },
  33. {
  34. "$ref": "./definitions.json#/definitions/base"
  35. }
  36. ]
  37. }