您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

162 行
2.8 KiB

  1. {
  2. "env": {
  3. "browser": true,
  4. "node": true,
  5. "es6": true
  6. },
  7. "parserOptions": {
  8. "ecmaVersion": 11,
  9. "sourceType": "module"
  10. },
  11. "extends": "eslint:recommended",
  12. "rules": {
  13. "indent": [
  14. "error",
  15. "tab",
  16. { "SwitchCase": 1 }
  17. ],
  18. "brace-style": [
  19. "error",
  20. "1tbs"
  21. ],
  22. "space-unary-ops": [
  23. "error",
  24. { "words": true }
  25. ],
  26. "linebreak-style": [
  27. "error",
  28. "unix"
  29. ],
  30. "quotes": [
  31. "off"
  32. ],
  33. "semi": [
  34. "warn",
  35. "always"
  36. ],
  37. "camelcase": [
  38. "off"
  39. ],
  40. "no-unused-vars": [
  41. "warn"
  42. ],
  43. "no-redeclare": [
  44. "warn"
  45. ],
  46. "no-console": [
  47. "warn"
  48. ],
  49. "no-extra-boolean-cast": [
  50. "off"
  51. ],
  52. "no-control-regex": [
  53. "off"
  54. ],
  55. "space-before-blocks": "warn",
  56. "keyword-spacing": "warn",
  57. "comma-spacing": "warn",
  58. "key-spacing": "warn"
  59. },
  60. "root": true,
  61. "globals": {
  62. "xhiveframework": true,
  63. "Vue": true,
  64. "xhiveerp": true,
  65. "hub": true,
  66. "$": true,
  67. "jQuery": true,
  68. "moment": true,
  69. "hljs": true,
  70. "Awesomplete": true,
  71. "CalHeatMap": true,
  72. "Sortable": true,
  73. "Showdown": true,
  74. "Taggle": true,
  75. "Gantt": true,
  76. "Slick": true,
  77. "PhotoSwipe": true,
  78. "PhotoSwipeUI_Default": true,
  79. "fluxify": true,
  80. "io": true,
  81. "c3": true,
  82. "__": true,
  83. "_p": true,
  84. "_f": true,
  85. "repl": true,
  86. "Class": true,
  87. "locals": true,
  88. "cint": true,
  89. "cstr": true,
  90. "cur_frm": true,
  91. "cur_dialog": true,
  92. "cur_page": true,
  93. "cur_list": true,
  94. "cur_tree": true,
  95. "cur_pos": true,
  96. "msg_dialog": true,
  97. "is_null": true,
  98. "in_list": true,
  99. "has_common": true,
  100. "has_words": true,
  101. "validate_email": true,
  102. "get_number_format": true,
  103. "format_number": true,
  104. "format_currency": true,
  105. "round_based_on_smallest_currency_fraction": true,
  106. "roundNumber": true,
  107. "comment_when": true,
  108. "replace_newlines": true,
  109. "open_url_post": true,
  110. "toTitle": true,
  111. "lstrip": true,
  112. "strip": true,
  113. "strip_html": true,
  114. "replace_all": true,
  115. "flt": true,
  116. "precision": true,
  117. "md5": true,
  118. "CREATE": true,
  119. "AMEND": true,
  120. "CANCEL": true,
  121. "copy_dict": true,
  122. "get_number_format_info": true,
  123. "print_table": true,
  124. "Layout": true,
  125. "web_form_settings": true,
  126. "$c": true,
  127. "$a": true,
  128. "$i": true,
  129. "$bg": true,
  130. "$y": true,
  131. "$c_obj": true,
  132. "$c_obj_csv": true,
  133. "refresh_many": true,
  134. "refresh_field": true,
  135. "toggle_field": true,
  136. "get_field_obj": true,
  137. "get_query_params": true,
  138. "unhide_field": true,
  139. "hide_field": true,
  140. "set_field_options": true,
  141. "getCookie": true,
  142. "getCookies": true,
  143. "get_url_arg": true,
  144. "get_server_fields": true,
  145. "set_multiple": true,
  146. "QUnit": true,
  147. "Chart": true,
  148. "Cypress": true,
  149. "cy": true,
  150. "describe": true,
  151. "expect": true,
  152. "it": true,
  153. "context": true,
  154. "before": true,
  155. "beforeEach": true,
  156. "onScan": true,
  157. "html2canvas": true,
  158. "extend_cscript": true,
  159. "localforage": true
  160. }
  161. }