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.

100 lines
2.2 KiB

8 years ago
  1. {
  2. "jsRules": {
  3. "class-name": true,
  4. "comment-format": [
  5. true,
  6. "check-space"
  7. ],
  8. "indent": [
  9. true,
  10. "spaces"
  11. ],
  12. "no-duplicate-variable": true,
  13. "no-eval": true,
  14. "no-trailing-whitespace": true,
  15. "no-unsafe-finally": true,
  16. "one-line": [
  17. true,
  18. "check-open-brace",
  19. "check-whitespace"
  20. ],
  21. "quotemark": [
  22. true,
  23. "single"
  24. ],
  25. "semicolon": [
  26. true,
  27. "always"
  28. ],
  29. "triple-equals": [
  30. false,
  31. "allow-null-check"
  32. ],
  33. "variable-name": [
  34. true,
  35. "ban-keywords"
  36. ],
  37. "whitespace": [
  38. true,
  39. "check-branch",
  40. "check-decl",
  41. "check-operator",
  42. "check-separator",
  43. "check-type"
  44. ]
  45. },
  46. "rules": {
  47. "class-name": true,
  48. "comment-format": [
  49. true,
  50. "check-space"
  51. ],
  52. "indent": [
  53. true,
  54. "spaces"
  55. ],
  56. "no-eval": true,
  57. "no-internal-module": true,
  58. "no-trailing-whitespace": true,
  59. "no-unsafe-finally": true,
  60. "no-var-keyword": true,
  61. "one-line": [
  62. true,
  63. "check-open-brace",
  64. "check-whitespace"
  65. ],
  66. "quotemark": [
  67. true,
  68. "single"
  69. ],
  70. "semicolon": [
  71. true,
  72. "always"
  73. ],
  74. "triple-equals": [
  75. false,
  76. "allow-null-check"
  77. ],
  78. "typedef-whitespace": [
  79. true,
  80. {
  81. "call-signature": "nospace",
  82. "index-signature": "nospace",
  83. "parameter": "nospace",
  84. "property-declaration": "nospace",
  85. "variable-declaration": "nospace"
  86. }
  87. ],
  88. "variable-name": [
  89. true,
  90. "ban-keywords"
  91. ],
  92. "whitespace": [
  93. true,
  94. "check-branch",
  95. "check-decl",
  96. "check-operator",
  97. "check-separator",
  98. "check-type"
  99. ]
  100. }
  101. }