tslint.json.template 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "extends": "tslint:recommended",
  3. "rulesDirectory": [
  4. "codelyzer"
  5. ],
  6. "rules": {
  7. "array-type": false,
  8. "arrow-parens": false,
  9. "deprecation": {
  10. "severity": "warning"
  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-var-requires": false,
  52. "object-literal-key-quotes": [
  53. true,
  54. "as-needed"
  55. ],
  56. "object-literal-sort-keys": false,
  57. "ordered-imports": false,
  58. "quotemark": [
  59. true,
  60. "single"
  61. ],
  62. "trailing-comma": false,
  63. "component-class-suffix": true,
  64. "contextual-lifecycle": true,
  65. "directive-class-suffix": true,
  66. "no-conflicting-lifecycle": true,
  67. "no-host-metadata-property": true,
  68. "no-input-rename": true,
  69. "no-inputs-metadata-property": true,
  70. "no-output-native": true,
  71. "no-output-on-prefix": true,
  72. "no-output-rename": true,
  73. "no-outputs-metadata-property": true,
  74. "template-banana-in-box": true,
  75. "template-no-negated-async": true,
  76. "use-lifecycle-interface": true,
  77. "use-pipe-transform-interface": true
  78. }
  79. }