tslint.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "rules": {
  3. "class-name": true,
  4. "comment-format": [
  5. true
  6. ],
  7. "indent": [
  8. true,
  9. "spaces"
  10. ],
  11. "no-duplicate-variable": true,
  12. "no-eval": true,
  13. "no-internal-module": true,
  14. "no-trailing-whitespace": false,
  15. "no-var-keyword": true,
  16. "one-line": [
  17. true,
  18. "check-open-brace",
  19. "check-whitespace"
  20. ],
  21. "quotemark": [
  22. true,
  23. "double"
  24. ],
  25. "semicolon": [
  26. true,
  27. "always"
  28. ],
  29. "triple-equals": [
  30. true,
  31. "allow-null-check"
  32. ],
  33. "typedef-whitespace": [
  34. true,
  35. {
  36. "call-signature": "nospace",
  37. "index-signature": "nospace",
  38. "parameter": "nospace",
  39. "property-declaration": "nospace",
  40. "variable-declaration": "nospace"
  41. }
  42. ],
  43. "variable-name": [
  44. true,
  45. "ban-keywords"
  46. ],
  47. "whitespace": [
  48. true,
  49. "check-branch",
  50. "check-decl",
  51. "check-operator",
  52. "check-separator",
  53. "check-type"
  54. ]
  55. }
  56. }