tslint.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "rules": {
  3. "align": [
  4. true,
  5. "parameters",
  6. "arguments",
  7. "statements"
  8. ],
  9. "ban": false,
  10. "class-name": true,
  11. "comment-format": [
  12. false,
  13. "check-space"
  14. ],
  15. "curly": true,
  16. "eofline": true,
  17. "forin": true,
  18. "indent": [
  19. true,
  20. "spaces"
  21. ],
  22. "interface-name": false,
  23. "jsdoc-format": true,
  24. "label-position": true,
  25. "max-line-length": [
  26. true,
  27. 160
  28. ],
  29. "member-access": true,
  30. "member-ordering": false,
  31. "no-any": false,
  32. "no-arg": true,
  33. "no-bitwise": true,
  34. "no-conditional-assignment": true,
  35. "no-consecutive-blank-lines": false,
  36. "no-console": [
  37. true,
  38. "debug",
  39. "info",
  40. "time",
  41. "timeEnd",
  42. "trace"
  43. ],
  44. "no-construct": true,
  45. "no-parameter-properties": true,
  46. "no-debugger": true,
  47. "no-duplicate-variable": true,
  48. "no-empty": true,
  49. "no-eval": true,
  50. "no-inferrable-types": false,
  51. "no-internal-module": true,
  52. "no-null-keyword": true,
  53. "no-require-imports": false,
  54. "no-shadowed-variable": true,
  55. "no-string-literal": true,
  56. "no-switch-case-fall-through": true,
  57. "no-trailing-whitespace": true,
  58. "no-unused-expression": true,
  59. "no-var-keyword": true,
  60. "no-var-requires": true,
  61. "object-literal-sort-keys": true,
  62. "prefer-const": true,
  63. "one-line": [
  64. true,
  65. "check-open-brace",
  66. "check-catch",
  67. "check-else",
  68. "check-whitespace"
  69. ],
  70. "quotemark": [
  71. true,
  72. "double",
  73. "avoid-escape"
  74. ],
  75. "radix": true,
  76. "semicolon": true,
  77. "switch-default": true,
  78. "trailing-comma": false,
  79. "triple-equals": [
  80. true,
  81. "allow-null-check"
  82. ],
  83. "typedef": [
  84. true,
  85. "call-signature",
  86. "parameter",
  87. "property-declaration",
  88. "variable-declaration",
  89. "member-variable-declaration"
  90. ],
  91. "typedef-whitespace": [
  92. true,
  93. {
  94. "call-signature": "nospace",
  95. "index-signature": "nospace",
  96. "parameter": "nospace",
  97. "property-declaration": "nospace",
  98. "variable-declaration": "nospace"
  99. }
  100. ],
  101. "variable-name": [
  102. true,
  103. "check-format",
  104. "ban-keywords"
  105. ],
  106. "whitespace": [
  107. true,
  108. "check-branch",
  109. "check-decl",
  110. "check-operator",
  111. "check-separator",
  112. "check-type"
  113. ]
  114. }
  115. }