浏览代码

Update eslint

version-14
Faris Ansari 8 年前
父节点
当前提交
2ff26d7798
共有 2 个文件被更改,包括 11 次插入6 次删除
  1. +2
    -1
      .eslintignore
  2. +9
    -5
      .eslintrc

+ 2
- 1
.eslintignore 查看文件

@@ -1,2 +1,3 @@
frappe/public/js/lib/*
frappe/public/js/frappe/misc/tests/*
frappe/public/js/frappe/misc/tests/*
frappe/public/js/frappe/class.js

+ 9
- 5
.eslintrc 查看文件

@@ -14,18 +14,17 @@
"unix"
],
"quotes": [
"off",
"double"
"off"
],
"semi": [
"off",
"warn",
"always"
],
"no-unused-vars": [
"off"
"warn"
],
"no-redeclare": [
"off"
"warn"
],
"no-console": [
"off"
@@ -62,6 +61,7 @@
"cur_page": true,
"cur_list": true,
"cur_tree": true,
"msg_dialog": true,
"is_null": true,
"in_list": true,
"has_common": true,
@@ -88,6 +88,10 @@
"get_number_format_info": true,
"$c": true,
"$a": true,
"$i": true,
"$bg": true,
"$y": true,
"$c_obj": true,
"refresh_many": true,
"refresh_field": true,


正在加载...
取消
保存