Project: Mall App Client: Maiora
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

90 line
1.8 KiB

  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. "no-inputs-metadata-property": true,
  66. "no-inputs-metadata-property": true,
  67. "no-host-metadata-property": true,
  68. "no-input-rename": true,
  69. "no-output-rename": true,
  70. "use-lifecycle-interface": true,
  71. "use-pipe-transform-interface": true,
  72. "one-variable-per-declaration": false,
  73. "component-class-suffix": [true, "Page", "Component"],
  74. "directive-class-suffix": true,
  75. "directive-selector": [
  76. true,
  77. "attribute",
  78. "app",
  79. "camelCase"
  80. ],
  81. "component-selector": [
  82. true,
  83. "element",
  84. "app",
  85. "page",
  86. "kebab-case"
  87. ]
  88. }
  89. }