Angular web app for entering Techblox commands
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

tslint.json 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. {
  2. "extends": "tslint:recommended",
  3. "rules": {
  4. "align": {
  5. "options": [
  6. "parameters",
  7. "statements"
  8. ]
  9. },
  10. "array-type": false,
  11. "arrow-return-shorthand": true,
  12. "curly": true,
  13. "deprecation": {
  14. "severity": "warning"
  15. },
  16. "component-class-suffix": true,
  17. "contextual-lifecycle": true,
  18. "directive-class-suffix": true,
  19. "directive-selector": [
  20. true,
  21. "attribute",
  22. "app",
  23. "camelCase"
  24. ],
  25. "component-selector": [
  26. true,
  27. "element",
  28. "app",
  29. "kebab-case"
  30. ],
  31. "eofline": true,
  32. "import-blacklist": [
  33. true,
  34. "rxjs/Rx"
  35. ],
  36. "import-spacing": true,
  37. "indent": {
  38. "options": [
  39. "spaces"
  40. ]
  41. },
  42. "max-classes-per-file": false,
  43. "max-line-length": [
  44. true,
  45. 140
  46. ],
  47. "member-ordering": [
  48. true,
  49. {
  50. "order": [
  51. "static-field",
  52. "instance-field",
  53. "static-method",
  54. "instance-method"
  55. ]
  56. }
  57. ],
  58. "no-console": [
  59. true,
  60. "debug",
  61. "info",
  62. "time",
  63. "timeEnd",
  64. "trace"
  65. ],
  66. "no-empty": false,
  67. "no-inferrable-types": [
  68. true,
  69. "ignore-params"
  70. ],
  71. "no-non-null-assertion": true,
  72. "no-redundant-jsdoc": true,
  73. "no-switch-case-fall-through": true,
  74. "no-var-requires": false,
  75. "object-literal-key-quotes": [
  76. true,
  77. "as-needed"
  78. ],
  79. "quotemark": [
  80. true,
  81. "single"
  82. ],
  83. "semicolon": {
  84. "options": [
  85. "always"
  86. ]
  87. },
  88. "space-before-function-paren": {
  89. "options": {
  90. "anonymous": "never",
  91. "asyncArrow": "always",
  92. "constructor": "never",
  93. "method": "never",
  94. "named": "never"
  95. }
  96. },
  97. "typedef-whitespace": {
  98. "options": [
  99. {
  100. "call-signature": "nospace",
  101. "index-signature": "nospace",
  102. "parameter": "nospace",
  103. "property-declaration": "nospace",
  104. "variable-declaration": "nospace"
  105. },
  106. {
  107. "call-signature": "onespace",
  108. "index-signature": "onespace",
  109. "parameter": "onespace",
  110. "property-declaration": "onespace",
  111. "variable-declaration": "onespace"
  112. }
  113. ]
  114. },
  115. "variable-name": {
  116. "options": [
  117. "ban-keywords",
  118. "check-format",
  119. "allow-pascal-case"
  120. ]
  121. },
  122. "whitespace": {
  123. "options": [
  124. "check-branch",
  125. "check-decl",
  126. "check-operator",
  127. "check-separator",
  128. "check-type",
  129. "check-typecast"
  130. ]
  131. },
  132. "no-conflicting-lifecycle": true,
  133. "no-host-metadata-property": true,
  134. "no-input-rename": true,
  135. "no-inputs-metadata-property": true,
  136. "no-output-native": true,
  137. "no-output-on-prefix": true,
  138. "no-output-rename": true,
  139. "no-outputs-metadata-property": true,
  140. "template-banana-in-box": true,
  141. "template-no-negated-async": true,
  142. "use-lifecycle-interface": true,
  143. "use-pipe-transform-interface": true
  144. },
  145. "rulesDirectory": [
  146. "codelyzer"
  147. ]
  148. }