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.

92 line
2.2 KiB

8 年之前
  1. {
  2. "rules": {
  3. "arrow-parens": false,
  4. "class-name": true,
  5. "comment-format": [
  6. false
  7. ],
  8. "curly": false,
  9. "indent": [
  10. true,
  11. "spaces"
  12. ],
  13. "new-parens": true,
  14. "no-duplicate-variable": true,
  15. "no-eval": true,
  16. "no-for-in-array": false,
  17. "no-internal-module": true,
  18. "no-reference": true,
  19. "no-trailing-whitespace": true,
  20. "no-unsafe-finally": true,
  21. "no-unused-expression": false,
  22. "no-unused-new": true,
  23. "no-var-keyword": true,
  24. "no-var-requires": false,
  25. "object-literal-key-quotes": [
  26. true,
  27. "as-needed"
  28. ],
  29. "one-line": [
  30. true,
  31. "check-open-brace",
  32. "check-whitespace"
  33. ],
  34. "one-variable-per-declaration": [
  35. true,
  36. "ignore-for-loop"
  37. ],
  38. "ordered-imports": [
  39. false,
  40. {
  41. "named-imports-order": "case-insensitive"
  42. }
  43. ],
  44. "quotemark": [
  45. true,
  46. "single",
  47. "avoid-escape"
  48. ],
  49. "radix": true,
  50. "semicolon": [
  51. true,
  52. "always"
  53. ],
  54. "trailing-comma": [
  55. true,
  56. {
  57. "multiline": "never",
  58. "singleline": "never"
  59. }
  60. ],
  61. "triple-equals": [
  62. true,
  63. "allow-null-check"
  64. ],
  65. "typedef-whitespace": [
  66. true,
  67. {
  68. "call-signature": "nospace",
  69. "index-signature": "nospace",
  70. "parameter": "nospace",
  71. "property-declaration": "nospace",
  72. "variable-declaration": "nospace"
  73. }
  74. ],
  75. "use-isnan": true,
  76. "variable-name": [
  77. true,
  78. "allow-leading-underscore",
  79. "allow-pascal-case",
  80. "ban-keywords",
  81. "check-format"
  82. ],
  83. "whitespace": [
  84. true,
  85. "check-branch",
  86. "check-decl",
  87. "check-operator",
  88. "check-module",
  89. "check-separator",
  90. "check-type"
  91. ]
  92. }
  93. }