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.

134 lines
3.3 KiB

преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
преди 8 години
  1. {
  2. "rules": {
  3. "adjacent-overload-signatures": true,
  4. "array-type": [
  5. true,
  6. "array"
  7. ],
  8. "arrow-parens": [
  9. true,
  10. "ban-single-arg-parens"
  11. ],
  12. "arrow-return-shorthand": true,
  13. "class-name": true,
  14. "comment-format": [
  15. true,
  16. "check-space"
  17. ],
  18. "curly": [
  19. true,
  20. "ignore-same-line"
  21. ],
  22. "indent": [
  23. true,
  24. "spaces"
  25. ],
  26. "interface-over-type-literal": true,
  27. "new-parens": true,
  28. "no-angle-bracket-type-assertion": true,
  29. "no-consecutive-blank-lines": [
  30. true,
  31. 1
  32. ],
  33. "no-default-export": true,
  34. "no-duplicate-variable": true,
  35. "no-eval": true,
  36. "no-inferrable-types": [
  37. true,
  38. "ignore-params",
  39. "ignore-properties"
  40. ],
  41. "no-internal-module": true,
  42. "no-irregular-whitespace": true,
  43. "no-reference": true,
  44. "no-string-throw": true,
  45. "no-trailing-whitespace": true,
  46. "no-unnecessary-callback-wrapper": true,
  47. "no-unsafe-finally": true,
  48. "no-unused-expression": false,
  49. "no-var-keyword": true,
  50. "no-var-requires": false,
  51. "object-literal-key-quotes": [
  52. true,
  53. "as-needed"
  54. ],
  55. "one-line": [
  56. true,
  57. "check-open-brace",
  58. "check-whitespace"
  59. ],
  60. "one-variable-per-declaration": [
  61. true,
  62. "ignore-for-loop"
  63. ],
  64. "ordered-imports": [
  65. true,
  66. {
  67. "import-sources-order": "any",
  68. "named-imports-order": "case-insensitive"
  69. }
  70. ],
  71. "prefer-const": true,
  72. "prefer-for-of": true,
  73. "prefer-template": [
  74. true,
  75. "allow-single-concat"
  76. ],
  77. "quotemark": [
  78. true,
  79. "single",
  80. "avoid-escape"
  81. ],
  82. "radix": true,
  83. "semicolon": [
  84. true,
  85. "always"
  86. ],
  87. "space-before-function-paren": [
  88. true,
  89. {
  90. "anonymous": "never",
  91. "named": "never",
  92. "asyncArrow": "always"
  93. }
  94. ],
  95. "trailing-comma": [
  96. true,
  97. {
  98. "multiline": "never",
  99. "singleline": "never"
  100. }
  101. ],
  102. "triple-equals": [
  103. true,
  104. "allow-null-check"
  105. ],
  106. "typedef-whitespace": [
  107. true,
  108. {
  109. "call-signature": "nospace",
  110. "index-signature": "nospace",
  111. "parameter": "nospace",
  112. "property-declaration": "nospace",
  113. "variable-declaration": "nospace"
  114. }
  115. ],
  116. "use-isnan": true,
  117. "variable-name": [
  118. true,
  119. "allow-leading-underscore",
  120. "allow-pascal-case",
  121. "ban-keywords",
  122. "check-format"
  123. ],
  124. "whitespace": [
  125. true,
  126. "check-branch",
  127. "check-decl",
  128. "check-operator",
  129. "check-module",
  130. "check-separator",
  131. "check-type"
  132. ]
  133. },
  134. "defaultSeverity": "warning"
  135. }