Allison's passion project for Zip Code 4.1

tslint.json 2.7KB

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