schema.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "properties": {
  5. "mode": {
  6. "type": "string",
  7. "enum": ["jsx-text-only", "jsx-only", "all"]
  8. },
  9. "jsx-components": {
  10. "type": "object",
  11. "properties": {
  12. "include": { "type": "array" },
  13. "exclude": { "type": "array" }
  14. }
  15. },
  16. "jsx-attributes": {
  17. "type": "object",
  18. "properties": {
  19. "include": { "type": "array" },
  20. "exclude": { "type": "array" }
  21. }
  22. },
  23. "words": {
  24. "type": "object",
  25. "properties": {
  26. "exclude": { "type": "array" }
  27. }
  28. },
  29. "callees": {
  30. "type": "object",
  31. "properties": {
  32. "include": { "type": "array" },
  33. "exclude": { "type": "array" }
  34. }
  35. },
  36. "object-properties": {
  37. "type": "object",
  38. "properties": {
  39. "include": { "type": "array" },
  40. "exclude": { "type": "array" }
  41. }
  42. },
  43. "class-properties": {
  44. "type": "object",
  45. "properties": {
  46. "include": { "type": "array" },
  47. "exclude": { "type": "array" }
  48. }
  49. },
  50. "message": { "type": "string" },
  51. "should-validate-template": { "type": "boolean" }
  52. }
  53. }