25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

156 satır
2.6 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. "influxframework": true,
  63. "Vue": true,
  64. "__": true,
  65. "repl": true,
  66. "Class": true,
  67. "locals": true,
  68. "cint": true,
  69. "cstr": true,
  70. "cur_frm": true,
  71. "cur_dialog": true,
  72. "cur_page": true,
  73. "cur_list": true,
  74. "cur_tree": true,
  75. "msg_dialog": true,
  76. "is_null": true,
  77. "in_list": true,
  78. "has_common": true,
  79. "has_words": true,
  80. "validate_email": true,
  81. "validate_name": true,
  82. "validate_phone": true,
  83. "validate_url": true,
  84. "get_number_format": true,
  85. "format_number": true,
  86. "format_currency": true,
  87. "comment_when": true,
  88. "open_url_post": true,
  89. "toTitle": true,
  90. "lstrip": true,
  91. "rstrip": true,
  92. "strip": true,
  93. "strip_html": true,
  94. "replace_all": true,
  95. "flt": true,
  96. "precision": true,
  97. "CREATE": true,
  98. "AMEND": true,
  99. "CANCEL": true,
  100. "copy_dict": true,
  101. "get_number_format_info": true,
  102. "strip_number_groups": true,
  103. "print_table": true,
  104. "Layout": true,
  105. "web_form_settings": true,
  106. "$c": true,
  107. "$a": true,
  108. "$i": true,
  109. "$bg": true,
  110. "$y": true,
  111. "$c_obj": true,
  112. "refresh_many": true,
  113. "refresh_field": true,
  114. "toggle_field": true,
  115. "get_field_obj": true,
  116. "get_query_params": true,
  117. "unhide_field": true,
  118. "hide_field": true,
  119. "set_field_options": true,
  120. "getCookie": true,
  121. "getCookies": true,
  122. "get_url_arg": true,
  123. "md5": true,
  124. "$": true,
  125. "jQuery": true,
  126. "moment": true,
  127. "hljs": true,
  128. "Awesomplete": true,
  129. "Sortable": true,
  130. "Showdown": true,
  131. "Taggle": true,
  132. "Gantt": true,
  133. "Slick": true,
  134. "Webcam": true,
  135. "PhotoSwipe": true,
  136. "PhotoSwipeUI_Default": true,
  137. "io": true,
  138. "JsBarcode": true,
  139. "L": true,
  140. "Chart": true,
  141. "DataTable": true,
  142. "Cypress": true,
  143. "cy": true,
  144. "it": true,
  145. "describe": true,
  146. "expect": true,
  147. "context": true,
  148. "before": true,
  149. "beforeEach": true,
  150. "after": true,
  151. "qz": true,
  152. "localforage": true,
  153. "extend_cscript": true
  154. }
  155. }