tslint.json 982 B

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