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