tslint.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "extends": [
  3. "tslint-config-typings"
  4. ],
  5. "rules": {
  6. "class-name": true,
  7. "comment-format": [
  8. true,
  9. "check-space"
  10. ],
  11. "indent": [
  12. true,
  13. "tabs"
  14. ],
  15. "no-duplicate-variable": true,
  16. "no-unused-variable": [false],
  17. "no-eval": true,
  18. "no-internal-module": true,
  19. "no-trailing-whitespace": true,
  20. "no-unsafe-finally": true,
  21. "no-var-keyword": true,
  22. "one-line": [
  23. true,
  24. "check-open-brace",
  25. "check-whitespace"
  26. ],
  27. "quotemark": [
  28. true,
  29. "single"
  30. ],
  31. "semicolon": [
  32. true,
  33. "always"
  34. ],
  35. "triple-equals": [
  36. true,
  37. "allow-null-check"
  38. ],
  39. "typedef-whitespace": [
  40. true,
  41. {
  42. "call-signature": "nospace",
  43. "index-signature": "nospace",
  44. "parameter": "nospace",
  45. "property-declaration": "nospace",
  46. "variable-declaration": "nospace"
  47. }
  48. ],
  49. "variable-name": [
  50. true,
  51. "ban-keywords"
  52. ],
  53. "whitespace": [
  54. true,
  55. "check-branch",
  56. "check-decl",
  57. "check-operator",
  58. "check-separator",
  59. "check-type"
  60. ]
  61. }
  62. }