tslint.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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. "trailing-comma": false,
  21. "no-any": false,
  22. "no-arg": true,
  23. "no-bitwise": true,
  24. "prefer-conditional-expression": false,
  25. "space-within-parens": false,
  26. "no-object-literal-type-assertion": false,
  27. "no-console": [true,
  28. "debug",
  29. "time",
  30. "timeEnd",
  31. "trace"
  32. ],
  33. "no-construct": true,
  34. "no-debugger": true,
  35. "no-duplicate-variable": true,
  36. "no-empty": true,
  37. "no-eval": true,
  38. "no-string-literal": true,
  39. "no-switch-case-fall-through": true,
  40. "no-trailing-whitespace": true,
  41. "no-unused-expression": true,
  42. "no-use-before-declare": false,
  43. "no-var-requires": true,
  44. "one-line": [true,
  45. "check-whitespace"
  46. ],
  47. "quotemark": [true, "single"],
  48. "radix": true,
  49. "semicolon": true,
  50. "triple-equals": [true, "allow-null-check"],
  51. "typedef": [true,
  52. "member-variable-declaration",
  53. "property-declaration"
  54. ],
  55. "typedef-whitespace": [true, {
  56. "call-signature": "nospace",
  57. "index-signature": "nospace",
  58. "parameter": "nospace",
  59. "property-declaration": "nospace",
  60. "variable-declaration": "nospace"
  61. }],
  62. "variable-name": false,
  63. "whitespace": [true,
  64. "check-branch",
  65. "check-decl",
  66. "check-operator",
  67. "check-separator",
  68. "check-type"
  69. ],
  70. "object-literal-sort-keys": false,
  71. "ordered-imports": false
  72. }
  73. }