tslint.json 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "extends": "tslint:latest",
  3. "rules": {
  4. "ban": false,
  5. "class-name": true,
  6. "comment-format": [true,
  7. "check-space"
  8. ],
  9. "curly": false,
  10. "eofline": false,
  11. "forin": true,
  12. "indent": [true, "spaces", 2],
  13. "interface-name": true,
  14. "jsdoc-format": true,
  15. "label-position": true,
  16. "max-line-length": [true, 140],
  17. "member-ordering": false,
  18. "no-shadowed-variable": false,
  19. "array-type": [true, "array"],
  20. "trailing-comma": false,
  21. "no-any": false,
  22. "no-arg": true,
  23. "no-bitwise": true,
  24. "space-within-parens": false,
  25. "no-object-literal-type-assertion": false,
  26. "no-console": [true,
  27. "debug",
  28. "time",
  29. "timeEnd",
  30. "trace"
  31. ],
  32. "no-construct": true,
  33. "no-debugger": true,
  34. "no-duplicate-variable": true,
  35. "no-empty": true,
  36. "no-eval": true,
  37. "no-string-literal": true,
  38. "no-switch-case-fall-through": true,
  39. "no-trailing-whitespace": true,
  40. "no-unused-expression": true,
  41. "no-use-before-declare": false,
  42. "no-var-requires": true,
  43. "one-line": [true,
  44. "check-whitespace"
  45. ],
  46. "quotemark": [true, "single"],
  47. "radix": true,
  48. "semicolon": true,
  49. "triple-equals": [true, "allow-null-check"],
  50. "typedef": [true,
  51. "member-variable-declaration",
  52. "property-declaration"
  53. ],
  54. "typedef-whitespace": [true, {
  55. "call-signature": "nospace",
  56. "index-signature": "nospace",
  57. "parameter": "nospace",
  58. "property-declaration": "nospace",
  59. "variable-declaration": "nospace"
  60. }],
  61. "variable-name": false,
  62. "whitespace": [true,
  63. "check-branch",
  64. "check-decl",
  65. "check-operator",
  66. "check-separator",
  67. "check-type"
  68. ],
  69. "object-literal-sort-keys": false,
  70. "ordered-imports": false
  71. }
  72. }