tslint.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "rules": {
  3. "align": [
  4. true,
  5. "parameters",
  6. "statements"
  7. ],
  8. "ban": [
  9. true,
  10. [ "_", "forEach" ],
  11. [ "_", "each" ],
  12. [ "$", "each" ],
  13. [ "angular", "forEach" ]
  14. ],
  15. "class-name": true,
  16. "comment-format": [
  17. true,
  18. "check-space",
  19. "check-lowercase"
  20. ],
  21. "curly": true,
  22. "eofline": true,
  23. "forin": true,
  24. "indent": [
  25. true,
  26. "spaces"
  27. ],
  28. "interface-name": [
  29. true,
  30. "always-prefix"
  31. ],
  32. "jsdoc-format": true,
  33. "label-position": true,
  34. "label-undefined": true,
  35. "max-line-length": false,
  36. "member-access": true,
  37. "member-ordering": [
  38. true,
  39. { "order": "fields-first" }
  40. ],
  41. "new-parens": true,
  42. "no-angle-bracket-type-assertion": false,
  43. "no-any": false,
  44. "no-arg": true,
  45. "no-bitwise": true,
  46. "no-conditional-assignment": true,
  47. "no-consecutive-blank-lines": false,
  48. "no-console": [
  49. true,
  50. "debug",
  51. "info",
  52. "time",
  53. "timeEnd",
  54. "trace"
  55. ],
  56. "no-construct": true,
  57. "no-constructor-vars": true,
  58. "no-debugger": true,
  59. "no-default-export": true,
  60. "no-duplicate-key": true,
  61. "no-duplicate-variable": true,
  62. "no-empty": false,
  63. "no-eval": false,
  64. "no-inferrable-types": false,
  65. "no-internal-module": true,
  66. "no-invalid-this": [
  67. true,
  68. "check-function-in-method"
  69. ],
  70. "no-null-keyword": false,
  71. "no-reference": true,
  72. "no-require-imports": false,
  73. "no-shadowed-variable": false,
  74. "no-string-literal": false,
  75. "no-switch-case-fall-through": true,
  76. "no-trailing-whitespace": false,
  77. "no-unreachable": true,
  78. "no-unused-expression": true,
  79. "no-unused-variable": true,
  80. "no-use-before-declare": true,
  81. "no-var-keyword": true,
  82. "no-var-requires": false,
  83. "object-literal-sort-keys": true,
  84. "one-line": [
  85. true,
  86. "check-open-brace",
  87. "check-catch",
  88. "check-else",
  89. "check-finally",
  90. "check-whitespace"
  91. ],
  92. "one-variable-per-declaration": false,
  93. "quotemark": false,
  94. "radix": true,
  95. "semicolon": [true, "always"],
  96. "switch-default": true,
  97. "trailing-comma": false,
  98. "triple-equals": [
  99. true,
  100. "allow-null-check",
  101. "allow-undefined-check"
  102. ],
  103. "typedef": [
  104. true,
  105. "call-signature",
  106. "parameter",
  107. "arrow-parameter",
  108. "property-declaration",
  109. "variable-declaration",
  110. "member-variable-declaration"
  111. ],
  112. "typedef-whitespace": [
  113. true,
  114. {
  115. "call-signature": "nospace",
  116. "index-signature": "nospace",
  117. "parameter": "nospace",
  118. "property-declaration": "nospace",
  119. "variable-declaration": "nospace"
  120. },
  121. {
  122. "call-signature": "space",
  123. "index-signature": "space",
  124. "parameter": "space",
  125. "property-declaration": "space",
  126. "variable-declaration": "space"
  127. }
  128. ],
  129. "use-isnan": true,
  130. "use-strict": false,
  131. "variable-name": false,
  132. "whitespace": [
  133. true,
  134. "check-branch",
  135. "check-decl",
  136. "check-operator",
  137. "check-separator",
  138. "check-type"
  139. ]
  140. }
  141. }