tslint.json 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. {
  2. "rules": {
  3. "no-string-throw": true,
  4. "no-unused-expression": true,
  5. "no-unused-variable": true,
  6. "no-duplicate-variable": true,
  7. "curly": true,
  8. "class-name": true,
  9. "semicolon": [true, "always", "ignore-bound-class-methods"],
  10. "triple-equals": [true, "allow-null-check"],
  11. "comment-format": [false, "check-space"],
  12. "eofline": true,
  13. "forin": false,
  14. "indent": [true, "spaces", 2],
  15. "label-position": true,
  16. "max-line-length": [true, 140],
  17. "member-access": false,
  18. "no-arg": true,
  19. "no-bitwise": true,
  20. "no-console": [true,
  21. "debug",
  22. "info",
  23. "time",
  24. "timeEnd",
  25. "trace"
  26. ],
  27. "no-construct": true,
  28. "no-debugger": true,
  29. "no-empty": false,
  30. "no-eval": true,
  31. "no-inferrable-types": true,
  32. "no-shadowed-variable": false,
  33. "no-string-literal": false,
  34. "no-switch-case-fall-through": false,
  35. "no-trailing-whitespace": true,
  36. "no-use-before-declare": 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. }