tslint.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "rules": {
  3. "class-name": true,
  4. "comment-format": [true, "check-space"],
  5. "indent": [true, "spaces"],
  6. "member-ordering": [
  7. true,
  8. "public-before-private",
  9. "static-before-instance",
  10. "variables-before-functions"
  11. ],
  12. "no-conditional-assignment": true,
  13. "no-duplicate-variable": true,
  14. "no-eval": true,
  15. "no-internal-module": true,
  16. "no-trailing-whitespace": true,
  17. "no-unused-variable": false,
  18. "no-var-keyword": true,
  19. "one-line": [true, "check-open-brace", "check-whitespace"],
  20. "quotemark": [true, "single", "jsx-double"],
  21. "semicolon": [true, "always"],
  22. "typedef-whitespace": [
  23. true,
  24. {
  25. "call-signature": "nospace",
  26. "index-signature": "nospace",
  27. "parameter": "nospace",
  28. "property-declaration": "nospace",
  29. "variable-declaration": "nospace"
  30. }
  31. ],
  32. "variable-name": [true, "ban-keywords"],
  33. "whitespace": [
  34. true,
  35. "check-branch",
  36. "check-decl",
  37. "check-operator",
  38. "check-separator",
  39. "check-type"
  40. ]
  41. }
  42. }