tslint.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "rules": {
  3. "arrow-return-shorthand": true,
  4. "callable-types": true,
  5. "class-name": true,
  6. "comment-format": [
  7. true,
  8. "check-space"
  9. ],
  10. "curly": true,
  11. "deprecation": {
  12. "severity": "warn"
  13. },
  14. "eofline": true,
  15. "forin": true,
  16. "import-blacklist": [
  17. true,
  18. "rxjs/Rx"
  19. ],
  20. "import-spacing": true,
  21. "indent": [
  22. true,
  23. "spaces"
  24. ],
  25. "interface-over-type-literal": true,
  26. "label-position": true,
  27. "max-line-length": [
  28. true,
  29. 140
  30. ],
  31. "member-access": false,
  32. "member-ordering": [
  33. true,
  34. {
  35. "order": [
  36. "static-field",
  37. "instance-field",
  38. "static-method",
  39. "instance-method"
  40. ]
  41. }
  42. ],
  43. "no-arg": true,
  44. "no-bitwise": true,
  45. "no-console": [
  46. true,
  47. "debug",
  48. "info",
  49. "time",
  50. "timeEnd",
  51. "trace"
  52. ],
  53. "no-construct": true,
  54. "no-debugger": true,
  55. "no-duplicate-super": true,
  56. "no-empty": false,
  57. "no-empty-interface": true,
  58. "no-eval": true,
  59. "no-inferrable-types": [
  60. true,
  61. "ignore-params"
  62. ],
  63. "no-misused-new": true,
  64. "no-non-null-assertion": true,
  65. "no-shadowed-variable": true,
  66. "no-string-literal": false,
  67. "no-string-throw": true,
  68. "no-switch-case-fall-through": true,
  69. "no-trailing-whitespace": true,
  70. "no-unnecessary-initializer": true,
  71. "no-unused-expression": true,
  72. "no-var-keyword": true,
  73. "object-literal-sort-keys": false,
  74. "one-line": [
  75. true,
  76. "check-open-brace",
  77. "check-catch",
  78. "check-else",
  79. "check-whitespace"
  80. ],
  81. "prefer-const": true,
  82. "quotemark": [
  83. false,
  84. "single"
  85. ],
  86. "radix": false,
  87. "semicolon": [
  88. true,
  89. "always"
  90. ],
  91. "triple-equals": [
  92. true,
  93. "allow-null-check"
  94. ],
  95. "typedef-whitespace": [
  96. true,
  97. {
  98. "call-signature": "nospace",
  99. "index-signature": "nospace",
  100. "parameter": "nospace",
  101. "property-declaration": "nospace",
  102. "variable-declaration": "nospace"
  103. }
  104. ],
  105. "unified-signatures": true,
  106. "variable-name": false,
  107. "whitespace": [
  108. true,
  109. "check-branch",
  110. "check-decl",
  111. "check-operator",
  112. "check-separator",
  113. "check-type"
  114. ]
  115. }
  116. }