tslint.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "rules": {
  3. "class-name": true,
  4. "comment-format": [
  5. true,
  6. "check-space"
  7. ],
  8. "curly": true,
  9. "eofline": true,
  10. "file-header": [
  11. true,
  12. "Copyright \\(c\\)"
  13. ],
  14. "indent": [
  15. true,
  16. "spaces"
  17. ],
  18. "max-line-length": [
  19. true,
  20. 120
  21. ],
  22. "no-bitwise": true,
  23. "no-console": [true, "log", "error"],
  24. "no-duplicate-variable": true,
  25. "no-eval": true,
  26. "no-arg": true,
  27. "no-inferrable-types": true,
  28. "no-internal-module": true,
  29. "no-trailing-whitespace": true,
  30. "no-unused-expression": true,
  31. "no-unused-variable": false,
  32. "no-var-keyword": false,
  33. "one-line": [
  34. true,
  35. "check-catch",
  36. "check-open-brace",
  37. "check-whitespace"
  38. ],
  39. "quotemark": [
  40. true,
  41. "single",
  42. "avoid-escape"
  43. ],
  44. "semicolon": [
  45. true,
  46. "always"
  47. ],
  48. "typedef-whitespace": [
  49. true,
  50. {
  51. "call-signature": "nospace",
  52. "index-signature": "nospace",
  53. "parameter": "nospace",
  54. "property-declaration": "nospace",
  55. "variable-declaration": "nospace"
  56. }
  57. ],
  58. "variable-name": [
  59. true,
  60. "ban-keywords",
  61. "allow-leading-underscore",
  62. "allow-pascal-case"
  63. ],
  64. "whitespace": [
  65. true,
  66. "check-branch",
  67. "check-decl",
  68. "check-operator",
  69. "check-separator",
  70. "check-type"
  71. ]
  72. }
  73. }