tslint.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "rules": {
  3. "no-string-throw": true,
  4. "no-unused-expression": true,
  5. "no-unused-variable": false,
  6. "no-use-before-declare": false,
  7. "no-duplicate-variable": true,
  8. "curly": true,
  9. "class-name": true,
  10. "semicolon": [true, "always", "ignore-bound-class-methods"],
  11. "triple-equals": [true, "allow-null-check"],
  12. "comment-format": [false, "check-space"],
  13. "eofline": true,
  14. "forin": false,
  15. "indent": [true, "spaces", 2],
  16. "label-position": true,
  17. "max-line-length": [true, 140],
  18. "member-access": false,
  19. "no-arg": true,
  20. "no-bitwise": false,
  21. "no-console": [true,
  22. "debug",
  23. "info",
  24. "time",
  25. "timeEnd",
  26. "trace"
  27. ],
  28. "no-construct": true,
  29. "no-debugger": true,
  30. "no-empty": false,
  31. "no-eval": true,
  32. "no-inferrable-types": true,
  33. "no-shadowed-variable": false,
  34. "no-string-literal": false,
  35. "no-switch-case-fall-through": false,
  36. "no-trailing-whitespace": true,
  37. "no-var-keyword": false,
  38. "object-literal-sort-keys": false,
  39. "one-line": [true,
  40. "check-open-brace",
  41. "check-catch",
  42. "check-else"
  43. ],
  44. "radix": false,
  45. "typedef-whitespace": [true, {
  46. "call-signature": "nospace",
  47. "index-signature": "nospace",
  48. "parameter": "nospace",
  49. "property-declaration": "nospace",
  50. "variable-declaration": "nospace"
  51. }],
  52. "variable-name": [true, "ban-keywords"],
  53. "whitespace": [true,
  54. "check-branch",
  55. "check-decl",
  56. "check-type",
  57. "check-preblock"
  58. ]
  59. }
  60. }