Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

91 rader
2.2 KiB

8 år sedan
  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-var-keyword": true,
  23. "no-var-requires": false,
  24. "object-literal-key-quotes": [
  25. true,
  26. "as-needed"
  27. ],
  28. "one-line": [
  29. true,
  30. "check-open-brace",
  31. "check-whitespace"
  32. ],
  33. "one-variable-per-declaration": [
  34. true,
  35. "ignore-for-loop"
  36. ],
  37. "ordered-imports": [
  38. false,
  39. {
  40. "named-imports-order": "case-insensitive"
  41. }
  42. ],
  43. "quotemark": [
  44. true,
  45. "single",
  46. "avoid-escape"
  47. ],
  48. "radix": true,
  49. "semicolon": [
  50. true,
  51. "always"
  52. ],
  53. "trailing-comma": [
  54. true,
  55. {
  56. "multiline": "never",
  57. "singleline": "never"
  58. }
  59. ],
  60. "triple-equals": [
  61. true,
  62. "allow-null-check"
  63. ],
  64. "typedef-whitespace": [
  65. true,
  66. {
  67. "call-signature": "nospace",
  68. "index-signature": "nospace",
  69. "parameter": "nospace",
  70. "property-declaration": "nospace",
  71. "variable-declaration": "nospace"
  72. }
  73. ],
  74. "use-isnan": true,
  75. "variable-name": [
  76. true,
  77. "allow-leading-underscore",
  78. "allow-pascal-case",
  79. "ban-keywords",
  80. "check-format"
  81. ],
  82. "whitespace": [
  83. true,
  84. "check-branch",
  85. "check-decl",
  86. "check-operator",
  87. "check-module",
  88. "check-separator",
  89. "check-type"
  90. ]
  91. }
  92. }