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.
 
 
 
 
 
 

150 satır
2.4 KiB

  1. {
  2. "env": {
  3. "browser": true,
  4. "node": true,
  5. "es6": true
  6. },
  7. "parserOptions": {
  8. "ecmaVersion": 6,
  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-before-function-paren": [
  23. "error",
  24. "never"
  25. ],
  26. "space-unary-ops": [
  27. "error",
  28. { "words": true }
  29. ],
  30. "linebreak-style": [
  31. "error",
  32. "unix"
  33. ],
  34. "quotes": [
  35. "off"
  36. ],
  37. "semi": [
  38. "warn",
  39. "always"
  40. ],
  41. "camelcase": [
  42. "off"
  43. ],
  44. "no-unused-vars": [
  45. "warn"
  46. ],
  47. "no-redeclare": [
  48. "warn"
  49. ],
  50. "no-console": [
  51. "warn"
  52. ],
  53. "no-extra-boolean-cast": [
  54. "off"
  55. ],
  56. "no-control-regex": [
  57. "off"
  58. ]
  59. },
  60. "root": true,
  61. "globals": {
  62. "frappe": true,
  63. "__": true,
  64. "_p": true,
  65. "_f": true,
  66. "repl": true,
  67. "Class": true,
  68. "locals": true,
  69. "cint": true,
  70. "cstr": true,
  71. "cur_frm": true,
  72. "cur_dialog": true,
  73. "cur_page": true,
  74. "cur_list": true,
  75. "cur_tree": true,
  76. "msg_dialog": true,
  77. "is_null": true,
  78. "in_list": true,
  79. "has_common": true,
  80. "has_words": true,
  81. "validate_email": true,
  82. "get_number_format": true,
  83. "format_number": true,
  84. "format_currency": true,
  85. "comment_when": true,
  86. "open_url_post": true,
  87. "toTitle": true,
  88. "lstrip": true,
  89. "strip": true,
  90. "strip_html": true,
  91. "replace_all": true,
  92. "flt": true,
  93. "precision": true,
  94. "CREATE": true,
  95. "AMEND": true,
  96. "CANCEL": true,
  97. "copy_dict": true,
  98. "get_number_format_info": true,
  99. "print_table": true,
  100. "Layout": true,
  101. "web_form_settings": true,
  102. "$c": true,
  103. "$a": true,
  104. "$i": true,
  105. "$bg": true,
  106. "$y": true,
  107. "$c_obj": true,
  108. "refresh_many": true,
  109. "refresh_field": true,
  110. "toggle_field": true,
  111. "get_field_obj": true,
  112. "get_query_params": true,
  113. "unhide_field": true,
  114. "hide_field": true,
  115. "set_field_options": true,
  116. "getCookie": true,
  117. "getCookies": true,
  118. "get_url_arg": true,
  119. "md5": true,
  120. "$": true,
  121. "jQuery": true,
  122. "Vue": true,
  123. "moment": true,
  124. "hljs": true,
  125. "Awesomplete": true,
  126. "Sortable": true,
  127. "Showdown": true,
  128. "Taggle": true,
  129. "Gantt": true,
  130. "Slick": true,
  131. "Webcam": true,
  132. "PhotoSwipe": true,
  133. "PhotoSwipeUI_Default": true,
  134. "fluxify": true,
  135. "io": true,
  136. "QUnit": true,
  137. "JsBarcode": true,
  138. "L": true,
  139. "Chart": true,
  140. "DataTable": true,
  141. "Cypress": true,
  142. "cy": true,
  143. "it": true,
  144. "context": true,
  145. "before": true,
  146. "beforeEach": true
  147. }
  148. }