Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.05 KB | None | 0 0
  1. {
  2. "extends": [
  3. "tslint:latest",
  4. "tslint-config-prettier",
  5. "tslint-plugin-prettier"
  6. ],
  7. "rules": {
  8. "prettier": [true, { "singleQuote": true }],
  9. "array-type": false,
  10. "arrow-parens": false,
  11. "deprecation": {
  12. "severity": "warning"
  13. },
  14. "component-class-suffix": true,
  15. "contextual-lifecycle": true,
  16. "directive-class-suffix": true,
  17. "directive-selector": [
  18. true,
  19. "attribute",
  20. "app",
  21. "camelCase"
  22. ],
  23. "component-selector": [
  24. true,
  25. "element",
  26. "app",
  27. "kebab-case"
  28. ],
  29. "import-blacklist": [
  30. true,
  31. "rxjs/Rx"
  32. ],
  33. "interface-name": false,
  34. "max-classes-per-file": false,
  35. "max-line-length": [
  36. true,
  37. 140
  38. ],
  39. "member-access": false,
  40. "member-ordering": [
  41. true,
  42. {
  43. "order": [
  44. "static-field",
  45. "instance-field",
  46. "static-method",
  47. "instance-method"
  48. ]
  49. }
  50. ],
  51. "no-consecutive-blank-lines": false,
  52. "no-console": [
  53. true,
  54. "debug",
  55. "info",
  56. "time",
  57. "timeEnd",
  58. "trace"
  59. ],
  60. "no-empty": false,
  61. "no-inferrable-types": [
  62. true,
  63. "ignore-params"
  64. ],
  65. "no-non-null-assertion": true,
  66. "no-redundant-jsdoc": true,
  67. "no-switch-case-fall-through": true,
  68. "no-use-before-declare": true,
  69. "no-var-requires": false,
  70. "object-literal-key-quotes": [
  71. true,
  72. "as-needed"
  73. ],
  74. "object-literal-sort-keys": false,
  75. "ordered-imports": false,
  76. "quotemark": [
  77. true,
  78. "single"
  79. ],
  80. "trailing-comma": false,
  81. "no-conflicting-lifecycle": true,
  82. "no-host-metadata-property": true,
  83. "no-input-rename": true,
  84. "no-inputs-metadata-property": true,
  85. "no-output-native": true,
  86. "no-output-on-prefix": true,
  87. "no-output-rename": true,
  88. "no-outputs-metadata-property": true,
  89. "template-banana-in-box": true,
  90. "template-no-negated-async": true,
  91. "use-lifecycle-interface": true,
  92. "use-pipe-transform-interface": true
  93. },
  94. "rulesDirectory": [
  95. "codelyzer"
  96. ]
  97. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement