tslint.json 1.6 KB

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