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