tslint.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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": false,
  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": false,
  67. "no-null-keyword": false,
  68. "no-reference": false,
  69. "no-require-imports": false,
  70. "no-shadowed-variable": false,
  71. "no-string-literal": false,
  72. "no-switch-case-fall-through": true,
  73. "no-trailing-whitespace": false,
  74. "no-unreachable": true,
  75. "no-unused-expression": true,
  76. "no-unused-variable": true,
  77. "no-use-before-declare": true,
  78. "no-var-keyword": true,
  79. "no-var-requires": false,
  80. "object-literal-sort-keys": false,
  81. "one-line": [
  82. true,
  83. "check-open-brace",
  84. "check-catch",
  85. "check-else",
  86. "check-finally",
  87. "check-whitespace"
  88. ],
  89. "one-variable-per-declaration": false,
  90. "quotemark": false,
  91. "radix": true,
  92. "semicolon": [true, "always"],
  93. "switch-default": true,
  94. "trailing-comma": false,
  95. "triple-equals": [
  96. true,
  97. "allow-null-check",
  98. "allow-undefined-check"
  99. ],
  100. "typedef": [
  101. true,
  102. "call-signature",
  103. "parameter",
  104. "arrow-parameter",
  105. "property-declaration",
  106. "variable-declaration",
  107. "member-variable-declaration"
  108. ],
  109. "typedef-whitespace": [
  110. true,
  111. {
  112. "call-signature": "nospace",
  113. "index-signature": "nospace",
  114. "parameter": "nospace",
  115. "property-declaration": "nospace",
  116. "variable-declaration": "nospace"
  117. },
  118. {
  119. "call-signature": "space",
  120. "index-signature": "space",
  121. "parameter": "space",
  122. "property-declaration": "space",
  123. "variable-declaration": "space"
  124. }
  125. ],
  126. "use-isnan": true,
  127. "use-strict": false,
  128. "variable-name": false,
  129. "whitespace": [
  130. true,
  131. "check-branch",
  132. "check-decl",
  133. "check-operator",
  134. "check-separator",
  135. "check-type"
  136. ]
  137. }
  138. }