tslint.json 1.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "extends": "tslint:recommended",
  3. "rulesDirectory": [
  4. "codelyzer"
  5. ],
  6. "rules": {
  7. "array-type": false,
  8. "arrow-parens": false,
  9. "deprecation": {
  10. "severity": "warn"
  11. },
  12. "import-blacklist": [
  13. true,
  14. "rxjs/Rx"
  15. ],
  16. "interface-name": false,
  17. "max-classes-per-file": false,
  18. "max-line-length": [
  19. true,
  20. 140
  21. ],
  22. "member-access": false,
  23. "member-ordering": [
  24. true,
  25. {
  26. "order": [
  27. "static-field",
  28. "instance-field",
  29. "static-method",
  30. "instance-method"
  31. ]
  32. }
  33. ],
  34. "no-consecutive-blank-lines": false,
  35. "no-console": [
  36. true,
  37. "debug",
  38. "info",
  39. "time",
  40. "timeEnd",
  41. "trace"
  42. ],
  43. "no-empty": false,
  44. "no-inferrable-types": [
  45. true,
  46. "ignore-params"
  47. ],
  48. "no-non-null-assertion": true,
  49. "no-redundant-jsdoc": true,
  50. "no-switch-case-fall-through": true,
  51. "no-use-before-declare": true,
  52. "no-var-requires": false,
  53. "object-literal-key-quotes": [
  54. true,
  55. "as-needed"
  56. ],
  57. "object-literal-sort-keys": false,
  58. "ordered-imports": false,
  59. "quotemark": [
  60. true,
  61. "single"
  62. ],
  63. "trailing-comma": false,
  64. "no-output-on-prefix": true,
  65. "use-input-property-decorator": true,
  66. "use-output-property-decorator": true,
  67. "use-host-property-decorator": true,
  68. "no-input-rename": true,
  69. "no-output-rename": true,
  70. "use-life-cycle-interface": true,
  71. "use-pipe-transform-interface": true,
  72. "component-class-suffix": true,
  73. "directive-class-suffix": true
  74. }
  75. }