tslint.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. "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-whitespace": true,
  33. "no-unused-expression": false,
  34. "no-unused-variable": false,
  35. "no-unreachable": 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. "semicolon": true,
  46. "triple-equals": [true, "allow-null-check"],
  47. "typedef-whitespace": [true, {
  48. "call-signature": "nospace",
  49. "index-signature": "nospace",
  50. "parameter": "nospace",
  51. "property-declaration": "nospace",
  52. "variable-declaration": "nospace"
  53. }],
  54. "variable-name": [true, "ban-keywords"],
  55. "whitespace": [true,
  56. "check-branch",
  57. "check-decl",
  58. "check-type"
  59. ]
  60. }
  61. }