tslint.json 1.5 KB

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