tslint.json 1005 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "extends": [ "tslint-angular", "tslint-config-standard" ],
  3. "rules": {
  4. "deprecation": {
  5. "severity": "warning"
  6. },
  7. "no-inferrable-types": true,
  8. "eofline": true,
  9. "max-line-length": [true, 140],
  10. "no-floating-promises": false, // Memory issues
  11. "await-promise": [true, "PromiseLike"],
  12. "member-ordering": [true, {
  13. "order": [
  14. "public-static-field",
  15. "private-static-field",
  16. "public-instance-field",
  17. "private-instance-field",
  18. "public-constructor",
  19. "private-constructor",
  20. "public-instance-method",
  21. "protected-instance-method",
  22. "private-instance-method"
  23. ]}
  24. ],
  25. "variable-name": [
  26. true,
  27. "ban-keywords",
  28. "check-format",
  29. "allow-leading-underscore",
  30. "allow-pascal-case",
  31. "allow-trailing-underscore"
  32. ],
  33. "no-shadowed-variable": false,
  34. "no-bitwise": false,
  35. "max-classes-per-file": false,
  36. "interface-over-type-literal": false
  37. }
  38. }