tslint.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "extends": "tslint:recommended",
  3. "rules": {
  4. "no-consecutive-blank-lines": [
  5. true,
  6. 2
  7. ],
  8. "ordered-imports": false,
  9. "no-bitwise": false,
  10. "triple-equals": false,
  11. "no-empty": false,
  12. "no-console": false,
  13. "no-conditional-assignment": false,
  14. "typedef-whitespace": {
  15. "options": [
  16. {
  17. "call-signature": "nospace",
  18. "index-signature": "nospace",
  19. "parameter": "nospace",
  20. "property-declaration": "nospace",
  21. "variable-declaration": "nospace"
  22. },
  23. {
  24. "call-signature": "nospace",
  25. "index-signature": "nospace",
  26. "parameter": "nospace",
  27. "property-declaration": "nospace",
  28. "variable-declaration": "nospace"
  29. }
  30. ]
  31. },
  32. "whitespace": {
  33. "options": [
  34. "check-branch",
  35. "check-decl",
  36. "check-operator",
  37. "check-separator",
  38. "check-typecast"
  39. ]
  40. },
  41. "max-classes-per-file": false,
  42. "trailing-comma": {
  43. "options": {
  44. "singleline": "never"
  45. }
  46. },
  47. "variable-name": {
  48. "options": [
  49. "ban-keywords",
  50. "allow-snake-case"
  51. ]
  52. },
  53. "member-ordering": false,
  54. "max-line-length": false,
  55. "object-literal-sort-keys": false,
  56. "only-arrow-functions": false,
  57. "space-before-function-paren": {
  58. "options": {
  59. "anonymous": "always",
  60. "asyncArrow": "always",
  61. "constructor": "never",
  62. "method": "never",
  63. "named": "never"
  64. }
  65. },
  66. "prefer-for-of": false
  67. }
  68. }