Mirror of github.com/ppy/osu-web, in case ppy decides to take the original down for some reason.
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.

tslint.json 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "defaultSeverity": "error",
  3. "extends": [
  4. "tslint:recommended",
  5. "tslint-react"
  6. ],
  7. "jsRules": {},
  8. "rules": {
  9. "curly": [true, "ignore-same-line"],
  10. "eofline": true,
  11. "indent": [
  12. true,
  13. "spaces"
  14. ],
  15. "interface-name": false,
  16. "jsx-no-multiline-js": false,
  17. "quotemark": [true, "single"],
  18. "max-line-length": false,
  19. "member-access": [true, "no-public"],
  20. "member-ordering": [
  21. true,
  22. {
  23. "order": [
  24. "public-static-field",
  25. "protected-static-field",
  26. "private-static-field",
  27. "public-instance-field",
  28. "protected-instance-field",
  29. "private-instance-field",
  30. "public-constructor",
  31. "protected-constructor",
  32. "private-constructor",
  33. "public-static-method",
  34. "protected-static-method",
  35. "private-static-method",
  36. "public-instance-method",
  37. "protected-instance-method",
  38. "private-instance-method"
  39. ],
  40. "alphabetize": true
  41. }
  42. ],
  43. "no-arg": true,
  44. "no-bitwise": true,
  45. "no-console": {
  46. "severity": "warning"
  47. },
  48. "triple-equals": [
  49. true,
  50. "allow-null-check"
  51. ],
  52. "whitespace": [
  53. true,
  54. "check-branch",
  55. "check-decl",
  56. "check-module",
  57. "check-operator",
  58. "check-separator",
  59. "check-type",
  60. "check-typecast"
  61. ]
  62. },
  63. "rulesDirectory": []
  64. }