all.d.ts 5.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. export declare const rules: {
  2. "adjacent-overload-signatures": boolean;
  3. "ban-types": {
  4. options: string[][];
  5. };
  6. "member-access": (string | boolean)[];
  7. "member-ordering": (boolean | {
  8. "order": string;
  9. "alphabetize": boolean;
  10. })[];
  11. "no-any": boolean;
  12. "no-empty-interface": boolean;
  13. "no-import-side-effect": boolean;
  14. "no-inferrable-types": (string | boolean)[];
  15. "no-internal-module": boolean;
  16. "no-magic-numbers": boolean;
  17. "no-namespace": boolean;
  18. "no-non-null-assertion": boolean;
  19. "no-reference": boolean;
  20. "no-this-assignment": boolean;
  21. "no-var-requires": boolean;
  22. "only-arrow-functions": boolean;
  23. "prefer-for-of": boolean;
  24. "prefer-readonly": boolean;
  25. "promise-function-async": boolean;
  26. "typedef": (string | boolean)[];
  27. "typedef-whitespace": (boolean | {
  28. "call-signature": string;
  29. "index-signature": string;
  30. "parameter": string;
  31. "property-declaration": string;
  32. "variable-declaration": string;
  33. })[];
  34. "unified-signatures": boolean;
  35. "await-promise": boolean;
  36. "ban-comma-operator": boolean;
  37. "curly": boolean;
  38. "forin": boolean;
  39. "label-position": boolean;
  40. "no-arg": boolean;
  41. "no-bitwise": boolean;
  42. "no-conditional-assignment": boolean;
  43. "no-console": boolean;
  44. "no-construct": boolean;
  45. "no-debugger": boolean;
  46. "no-duplicate-super": boolean;
  47. "no-duplicate-switch-case": boolean;
  48. "no-duplicate-variable": (string | boolean)[];
  49. "no-dynamic-delete": boolean;
  50. "no-empty": boolean;
  51. "no-eval": boolean;
  52. "no-floating-promises": boolean;
  53. "no-for-in-array": boolean;
  54. "no-implicit-dependencies": boolean;
  55. "no-inferred-empty-object-type": boolean;
  56. "no-invalid-template-strings": boolean;
  57. "no-misused-new": boolean;
  58. "no-null-keyword": boolean;
  59. "no-object-literal-type-assertion": boolean;
  60. "no-return-await": boolean;
  61. "no-shadowed-variable": boolean;
  62. "no-string-literal": boolean;
  63. "no-string-throw": boolean;
  64. "no-sparse-arrays": boolean;
  65. "no-submodule-imports": boolean;
  66. "no-unbound-method": boolean;
  67. "no-unnecessary-class": (string | boolean)[];
  68. "no-unsafe-any": boolean;
  69. "no-unsafe-finally": boolean;
  70. "no-unused-expression": boolean;
  71. "no-unused-variable": boolean;
  72. "no-use-before-declare": boolean;
  73. "no-var-keyword": boolean;
  74. "no-void-expression": boolean;
  75. "prefer-conditional-expression": boolean;
  76. "radix": boolean;
  77. "restrict-plus-operands": boolean;
  78. "strict-boolean-expressions": boolean;
  79. "strict-type-predicates": boolean;
  80. "switch-default": boolean;
  81. "triple-equals": boolean;
  82. "use-default-type-parameter": boolean;
  83. "use-isnan": boolean;
  84. "cyclomatic-complexity": boolean;
  85. "eofline": boolean;
  86. "indent": (string | boolean)[];
  87. "linebreak-style": (string | boolean)[];
  88. "max-classes-per-file": (number | boolean)[];
  89. "max-file-line-count": (number | boolean)[];
  90. "max-line-length": (number | boolean)[];
  91. "no-default-export": boolean;
  92. "no-duplicate-imports": boolean;
  93. "no-irregular-whitespace": boolean;
  94. "no-mergeable-namespace": boolean;
  95. "no-parameter-reassignment": boolean;
  96. "no-require-imports": boolean;
  97. "no-trailing-whitespace": boolean;
  98. "object-literal-sort-keys": boolean;
  99. "prefer-const": boolean;
  100. "trailing-comma": (boolean | {
  101. "multiline": string;
  102. "singleline": string;
  103. })[];
  104. "align": (string | boolean)[];
  105. "array-type": (string | boolean)[];
  106. "arrow-parens": boolean;
  107. "arrow-return-shorthand": (string | boolean)[];
  108. "binary-expression-operand-order": boolean;
  109. "callable-types": boolean;
  110. "class-name": boolean;
  111. "comment-format": (string | boolean)[];
  112. "completed-docs": boolean;
  113. "deprecation": boolean;
  114. "encoding": boolean;
  115. "import-spacing": boolean;
  116. "interface-name": boolean;
  117. "interface-over-type-literal": boolean;
  118. "jsdoc-format": (string | boolean)[];
  119. "match-default-export-name": boolean;
  120. "new-parens": boolean;
  121. "newline-before-return": boolean;
  122. "newline-per-chained-call": boolean;
  123. "no-angle-bracket-type-assertion": boolean;
  124. "no-boolean-literal-compare": boolean;
  125. "no-consecutive-blank-lines": boolean;
  126. "no-parameter-properties": boolean;
  127. "no-redundant-jsdoc": boolean;
  128. "no-reference-import": boolean;
  129. "no-unnecessary-callback-wrapper": boolean;
  130. "no-unnecessary-initializer": boolean;
  131. "no-unnecessary-qualifier": boolean;
  132. "no-unnecessary-type-assertion": boolean;
  133. "number-literal-format": boolean;
  134. "object-literal-key-quotes": (string | boolean)[];
  135. "object-literal-shorthand": boolean;
  136. "one-line": (string | boolean)[];
  137. "one-variable-per-declaration": boolean;
  138. "ordered-imports": (boolean | {
  139. "import-sources-order": string;
  140. "named-imports-order": string;
  141. "module-source-path": string;
  142. })[];
  143. "prefer-function-over-method": boolean;
  144. "prefer-method-signature": boolean;
  145. "prefer-object-spread": boolean;
  146. "prefer-switch": boolean;
  147. "prefer-template": boolean;
  148. "prefer-while": boolean;
  149. "quotemark": (string | boolean)[];
  150. "return-undefined": boolean;
  151. "semicolon": (string | boolean)[];
  152. "space-before-function-paren": (boolean | {
  153. "anonymous": string;
  154. "asyncArrow": string;
  155. "constructor": string;
  156. "method": string;
  157. "named": string;
  158. })[];
  159. "space-within-parens": (number | boolean)[];
  160. "switch-final-break": boolean;
  161. "type-literal-delimiter": boolean;
  162. "variable-name": (string | boolean)[];
  163. "whitespace": (string | boolean)[];
  164. };
  165. export declare const RULES_EXCLUDED_FROM_ALL_CONFIG: string[];
  166. export declare const jsRules: {
  167. [key: string]: any;
  168. };