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.

142 lines
2.9 KiB

3 years ago
  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": "warning"
  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-var-keyword": true,
  76. "object-literal-sort-keys": false,
  77. "one-line": [
  78. true,
  79. "check-open-brace",
  80. "check-catch",
  81. "check-else",
  82. "check-whitespace"
  83. ],
  84. "prefer-const": true,
  85. "quotemark": [
  86. true,
  87. "single"
  88. ],
  89. "radix": true,
  90. "semicolon": [
  91. true,
  92. "always"
  93. ],
  94. "triple-equals": [
  95. true,
  96. "allow-null-check"
  97. ],
  98. "typedef-whitespace": [
  99. true,
  100. {
  101. "call-signature": "nospace",
  102. "index-signature": "nospace",
  103. "parameter": "nospace",
  104. "property-declaration": "nospace",
  105. "variable-declaration": "nospace"
  106. }
  107. ],
  108. "typeof-compare": true,
  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. "directive-selector": [
  120. true,
  121. "attribute",
  122. "app",
  123. "camelCase"
  124. ],
  125. "component-selector": [
  126. true,
  127. "element",
  128. "app",
  129. "kebab-case"
  130. ],
  131. "no-inputs-metadata-property": true,
  132. "no-outputs-metadata-property": true,
  133. "no-host-metadata-property": true,
  134. "no-input-rename": true,
  135. "no-output-rename": true,
  136. "use-lifecycle-interface": true,
  137. "use-pipe-transform-interface": true,
  138. "component-class-suffix": true,
  139. "directive-class-suffix": true,
  140. "invoke-injectable": true
  141. }
  142. }