tslint.json 1.4 KB

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