Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

89 righe
3.0 KiB

8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
8 anni fa
  1. {
  2. "extends": ["tslint-prettiest"],
  3. "rules": {
  4. "adjacent-overload-signatures": true,
  5. "array-type": [true, "array"],
  6. "arrow-parens": [true, "ban-single-arg-parens"],
  7. "arrow-return-shorthand": true,
  8. "class-name": true,
  9. "comment-format": [true, "check-space"],
  10. "curly": [true, "ignore-same-line"],
  11. "eofline": true,
  12. "interface-over-type-literal": true,
  13. "linebreak-style": [true, "LF"],
  14. "new-parens": true,
  15. "no-angle-bracket-type-assertion": true,
  16. "no-consecutive-blank-lines": [true, 1],
  17. "no-default-export": true,
  18. "no-duplicate-variable": true,
  19. "no-eval": true,
  20. "no-floating-promises": true,
  21. "no-inferrable-types": [true, "ignore-params", "ignore-properties"],
  22. "no-internal-module": true,
  23. "no-irregular-whitespace": true,
  24. "no-reference": true,
  25. "no-string-throw": true,
  26. "no-trailing-whitespace": true,
  27. "no-unnecessary-callback-wrapper": true,
  28. "no-unsafe-finally": true,
  29. "no-unused-expression": false,
  30. "no-var-keyword": true,
  31. "no-var-requires": false,
  32. "object-literal-key-quotes": [true, "as-needed"],
  33. "one-line": [true, "check-open-brace", "check-whitespace"],
  34. "one-variable-per-declaration": [true, "ignore-for-loop"],
  35. "ordered-imports": [
  36. true,
  37. {
  38. "import-sources-order": "case-insensitive",
  39. "named-imports-order": "case-insensitive"
  40. }
  41. ],
  42. "prefer-const": true,
  43. "prefer-for-of": true,
  44. "prefer-method-signature": true,
  45. "prefer-template": [true, "allow-single-concat"],
  46. "prettiest": [true, "spaces", 4],
  47. "quotemark": [true, "single", "avoid-escape"],
  48. "radix": true,
  49. "semicolon": [true, "always"],
  50. "space-before-function-paren": [
  51. true,
  52. {
  53. "anonymous": "never",
  54. "named": "never",
  55. "asyncArrow": "always"
  56. }
  57. ],
  58. "trailing-comma": [
  59. true,
  60. {
  61. "multiline": "never",
  62. "singleline": "never"
  63. }
  64. ],
  65. "triple-equals": [true, "allow-null-check"],
  66. "typedef-whitespace": [
  67. true,
  68. {
  69. "call-signature": "nospace",
  70. "index-signature": "nospace",
  71. "parameter": "nospace",
  72. "property-declaration": "nospace",
  73. "variable-declaration": "nospace"
  74. }
  75. ],
  76. "use-isnan": true,
  77. "variable-name": [true, "allow-leading-underscore", "allow-pascal-case", "ban-keywords", "check-format"],
  78. "whitespace": [
  79. true,
  80. "check-branch",
  81. "check-decl",
  82. "check-operator",
  83. "check-module",
  84. "check-separator",
  85. "check-type"
  86. ]
  87. },
  88. "defaultSeverity": "warning"
  89. }