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.

139 lines
3.5 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-eval": true,
  35. // "no-for-in-array": true,
  36. "no-inferrable-types": [
  37. true,
  38. "ignore-params",
  39. "ignore-properties"
  40. ],
  41. "no-internal-module": true,
  42. "no-invalid-template-strings": true,
  43. "no-irregular-whitespace": true,
  44. "no-reference": true,
  45. "no-string-throw": true,
  46. "no-trailing-whitespace": true,
  47. "no-unnecessary-callback-wrapper": true,
  48. // "no-unnecessary-qualifier": true,
  49. // "no-unsafe-any": true,
  50. "no-unsafe-finally": true,
  51. "no-unused-expression": false,
  52. "no-var-keyword": true,
  53. "no-var-requires": false,
  54. "object-literal-key-quotes": [
  55. true,
  56. "as-needed"
  57. ],
  58. "one-line": [
  59. true,
  60. "check-open-brace",
  61. "check-whitespace"
  62. ],
  63. "one-variable-per-declaration": [
  64. true,
  65. "ignore-for-loop"
  66. ],
  67. "ordered-imports": [
  68. true,
  69. {
  70. "import-sources-order": "any",
  71. "named-imports-order": "case-insensitive"
  72. }
  73. ],
  74. "prefer-const": true,
  75. "prefer-for-of": true,
  76. "prefer-template": [
  77. true,
  78. "allow-single-concat"
  79. ],
  80. "quotemark": [
  81. true,
  82. "single",
  83. "avoid-escape"
  84. ],
  85. "radix": true,
  86. "semicolon": [
  87. true,
  88. "always"
  89. ],
  90. "space-before-function-paren": [
  91. true,
  92. {
  93. "anonymous": "never",
  94. "named": "never",
  95. "asyncArrow": "always"
  96. }
  97. ],
  98. // "strict-boolean-expressions": true,
  99. // "strict-type-predicates": true,
  100. "trailing-comma": [
  101. true,
  102. {
  103. "multiline": "never",
  104. "singleline": "never"
  105. }
  106. ],
  107. "triple-equals": [
  108. true,
  109. "allow-null-check"
  110. ],
  111. "typedef-whitespace": [
  112. true,
  113. {
  114. "call-signature": "nospace",
  115. "index-signature": "nospace",
  116. "parameter": "nospace",
  117. "property-declaration": "nospace",
  118. "variable-declaration": "nospace"
  119. }
  120. ],
  121. "typeof-compare": true,
  122. "use-isnan": true,
  123. "variable-name": [
  124. true,
  125. "allow-leading-underscore",
  126. "allow-pascal-case",
  127. "ban-keywords",
  128. "check-format"
  129. ],
  130. "whitespace": [
  131. true,
  132. "check-branch",
  133. "check-decl",
  134. "check-operator",
  135. "check-module",
  136. "check-separator",
  137. "check-type"
  138. ]
  139. }
  140. }