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.
 
 
 
 

81 lines
2.2 KiB

  1. {
  2. "rulesDirectory": [
  3. "node_modules/@nrwl/workspace/src/tslint",
  4. "node_modules/codelyzer"
  5. ],
  6. "rules": {
  7. "arrow-return-shorthand": true,
  8. "callable-types": true,
  9. "class-name": true,
  10. "deprecation": {
  11. "severity": "warn"
  12. },
  13. "forin": true,
  14. "import-blacklist": [true, "rxjs/Rx"],
  15. "interface-over-type-literal": true,
  16. "member-access": false,
  17. "member-ordering": [
  18. true,
  19. {
  20. "order": [
  21. "static-field",
  22. "instance-field",
  23. "static-method",
  24. "instance-method"
  25. ]
  26. }
  27. ],
  28. "no-arg": true,
  29. "no-bitwise": true,
  30. "no-console": [true, "debug", "info", "time", "timeEnd", "trace"],
  31. "no-construct": true,
  32. "no-debugger": true,
  33. "no-duplicate-super": true,
  34. "no-empty": false,
  35. "no-empty-interface": true,
  36. "no-eval": true,
  37. "no-inferrable-types": [true, "ignore-params"],
  38. "no-misused-new": true,
  39. "no-non-null-assertion": true,
  40. "no-shadowed-variable": true,
  41. "no-string-literal": false,
  42. "no-string-throw": true,
  43. "no-switch-case-fall-through": true,
  44. "no-unnecessary-initializer": true,
  45. "no-unused-expression": true,
  46. "no-var-keyword": true,
  47. "object-literal-sort-keys": false,
  48. "prefer-const": true,
  49. "radix": true,
  50. "triple-equals": [true, "allow-null-check"],
  51. "unified-signatures": true,
  52. "variable-name": false,
  53. "nx-enforce-module-boundaries": [
  54. true,
  55. {
  56. "allow": [],
  57. "depConstraints": [
  58. {
  59. "sourceTag": "*",
  60. "onlyDependOnLibsWithTags": ["*"]
  61. }
  62. ]
  63. }
  64. ],
  65. "directive-selector": [true, "attribute", "app", "camelCase"],
  66. "component-selector": [true, "element", "app", "kebab-case"],
  67. "no-conflicting-lifecycle": true,
  68. "no-host-metadata-property": true,
  69. "no-input-rename": true,
  70. "no-inputs-metadata-property": true,
  71. "no-output-native": true,
  72. "no-output-on-prefix": true,
  73. "no-output-rename": true,
  74. "no-outputs-metadata-property": true,
  75. "template-banana-in-box": true,
  76. "template-no-negated-async": true,
  77. "use-lifecycle-interface": true,
  78. "use-pipe-transform-interface": true
  79. }
  80. }