No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

135 líneas
2.9KB

  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. "eofline": true,
  15. "forin": true,
  16. "import-blacklist": [
  17. true
  18. ],
  19. "import-spacing": true,
  20. "indent": [
  21. true,
  22. "spaces"
  23. ],
  24. "interface-over-type-literal": true,
  25. "label-position": true,
  26. "max-line-length": [
  27. true,
  28. 140
  29. ],
  30. "member-access": false,
  31. "member-ordering": [
  32. true,
  33. "static-before-instance",
  34. "variables-before-functions"
  35. ],
  36. "no-arg": true,
  37. "no-bitwise": true,
  38. "no-console": [
  39. true,
  40. "debug",
  41. "info",
  42. "time",
  43. "timeEnd",
  44. "trace"
  45. ],
  46. "no-construct": true,
  47. "no-debugger": true,
  48. "no-duplicate-super": true,
  49. "no-empty": false,
  50. "no-empty-interface": true,
  51. "no-eval": true,
  52. "no-inferrable-types": [
  53. true,
  54. "ignore-params"
  55. ],
  56. "no-misused-new": true,
  57. "no-non-null-assertion": true,
  58. "no-shadowed-variable": true,
  59. "no-string-literal": false,
  60. "no-string-throw": true,
  61. "no-switch-case-fall-through": true,
  62. "no-trailing-whitespace": true,
  63. "no-unnecessary-initializer": true,
  64. "no-unused-expression": true,
  65. "no-use-before-declare": true,
  66. "no-var-keyword": true,
  67. "object-literal-sort-keys": false,
  68. "one-line": [
  69. true,
  70. "check-open-brace",
  71. "check-catch",
  72. "check-else",
  73. "check-whitespace"
  74. ],
  75. "prefer-const": true,
  76. "quotemark": [
  77. true,
  78. "single"
  79. ],
  80. "radix": true,
  81. "semicolon": [
  82. "always"
  83. ],
  84. "triple-equals": [
  85. true,
  86. "allow-null-check"
  87. ],
  88. "typedef-whitespace": [
  89. true,
  90. {
  91. "call-signature": "nospace",
  92. "index-signature": "nospace",
  93. "parameter": "nospace",
  94. "property-declaration": "nospace",
  95. "variable-declaration": "nospace"
  96. }
  97. ],
  98. "typeof-compare": true,
  99. "unified-signatures": true,
  100. "variable-name": false,
  101. "whitespace": [
  102. true,
  103. "check-branch",
  104. "check-decl",
  105. "check-operator",
  106. "check-separator",
  107. "check-type"
  108. ],
  109. "directive-selector": [
  110. true,
  111. "attribute",
  112. "app",
  113. "camelCase"
  114. ],
  115. "component-selector": [
  116. true,
  117. "element",
  118. "app",
  119. "kebab-case"
  120. ],
  121. "use-input-property-decorator": true,
  122. "use-output-property-decorator": true,
  123. "use-host-property-decorator": true,
  124. "no-input-rename": true,
  125. "no-output-rename": true,
  126. "use-life-cycle-interface": true,
  127. "use-pipe-transform-interface": true,
  128. "component-class-suffix": true,
  129. "directive-class-suffix": true,
  130. "no-access-missing-member": true,
  131. "templates-use-public": true,
  132. "invoke-injectable": true
  133. }
  134. }