tslint.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. {
  2. "extends": "tslint:latest",
  3. "rules": {
  4. "ban": false,
  5. "class-name": true,
  6. "comment-format": [true,
  7. "check-space"
  8. ],
  9. "curly": false,
  10. "eofline": false,
  11. "forin": true,
  12. "indent": [true, "spaces", 2],
  13. "interface-name": true,
  14. "jsdoc-format": true,
  15. "label-position": true,
  16. "max-line-length": [true, 140],
  17. "member-ordering": false,
  18. "no-shadowed-variable": false,
  19. "array-type": [true, "array"],
  20. "object-literal-sort-keys": false,
  21. "trailing-comma": false,
  22. "no-any": false,
  23. "no-arg": true,
  24. "no-bitwise": true,
  25. "no-console": [true,
  26. "debug",
  27. "time",
  28. "timeEnd",
  29. "trace"
  30. ],
  31. "no-construct": true,
  32. "no-debugger": true,
  33. "no-duplicate-variable": true,
  34. "no-empty": true,
  35. "no-eval": true,
  36. "no-string-literal": true,
  37. "no-switch-case-fall-through": true,
  38. "no-trailing-whitespace": true,
  39. "no-unused-expression": true,
  40. "no-use-before-declare": false,
  41. "no-var-requires": true,
  42. "one-line": [true,
  43. "check-whitespace"
  44. ],
  45. "quotemark": [true, "single"],
  46. "radix": true,
  47. "semicolon": true,
  48. "triple-equals": [true, "allow-null-check"],
  49. "typedef": [true,
  50. "member-variable-declaration",
  51. "property-declaration"
  52. ],
  53. "typedef-whitespace": [true, {
  54. "call-signature": "nospace",
  55. "index-signature": "nospace",
  56. "parameter": "nospace",
  57. "property-declaration": "nospace",
  58. "variable-declaration": "nospace"
  59. }],
  60. "variable-name": false,
  61. "whitespace": [true,
  62. "check-branch",
  63. "check-decl",
  64. "check-operator",
  65. "check-separator",
  66. "check-type"
  67. ],
  68. "object-literal-sort-keys": false,
  69. "ordered-imports": false
  70. }
  71. }