Update eslint
This commit is contained in:
parent
b99fd5a4d3
commit
2ff26d7798
2 changed files with 11 additions and 6 deletions
|
|
@ -1,2 +1,3 @@
|
||||||
frappe/public/js/lib/*
|
frappe/public/js/lib/*
|
||||||
frappe/public/js/frappe/misc/tests/*
|
frappe/public/js/frappe/misc/tests/*
|
||||||
|
frappe/public/js/frappe/class.js
|
||||||
14
.eslintrc
14
.eslintrc
|
|
@ -14,18 +14,17 @@
|
||||||
"unix"
|
"unix"
|
||||||
],
|
],
|
||||||
"quotes": [
|
"quotes": [
|
||||||
"off",
|
"off"
|
||||||
"double"
|
|
||||||
],
|
],
|
||||||
"semi": [
|
"semi": [
|
||||||
"off",
|
"warn",
|
||||||
"always"
|
"always"
|
||||||
],
|
],
|
||||||
"no-unused-vars": [
|
"no-unused-vars": [
|
||||||
"off"
|
"warn"
|
||||||
],
|
],
|
||||||
"no-redeclare": [
|
"no-redeclare": [
|
||||||
"off"
|
"warn"
|
||||||
],
|
],
|
||||||
"no-console": [
|
"no-console": [
|
||||||
"off"
|
"off"
|
||||||
|
|
@ -62,6 +61,7 @@
|
||||||
"cur_page": true,
|
"cur_page": true,
|
||||||
"cur_list": true,
|
"cur_list": true,
|
||||||
"cur_tree": true,
|
"cur_tree": true,
|
||||||
|
"msg_dialog": true,
|
||||||
"is_null": true,
|
"is_null": true,
|
||||||
"in_list": true,
|
"in_list": true,
|
||||||
"has_common": true,
|
"has_common": true,
|
||||||
|
|
@ -88,6 +88,10 @@
|
||||||
"get_number_format_info": true,
|
"get_number_format_info": true,
|
||||||
|
|
||||||
"$c": true,
|
"$c": true,
|
||||||
|
"$a": true,
|
||||||
|
"$i": true,
|
||||||
|
"$bg": true,
|
||||||
|
"$y": true,
|
||||||
"$c_obj": true,
|
"$c_obj": true,
|
||||||
"refresh_many": true,
|
"refresh_many": true,
|
||||||
"refresh_field": true,
|
"refresh_field": true,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue