Browse Source

refactor: 双引号eslint

es6
iapyang 3 years ago
parent
commit
3048ec0c83
  1. 2
      .eslintrc
  2. 2
      src/widget/multiselect/check/multiselect.check.pane.js
  3. 2
      src/widget/multitree/check/multi.tree.check.pane.js

2
.eslintrc

@ -29,6 +29,8 @@
"files": ["src/*.js","src/**/*.js", "demo/*.js", "demo/**/*.js", "i18n/**/*.js", "i18n/*.js", "test/**/*.js", "test/*.js"], "files": ["src/*.js","src/**/*.js", "demo/*.js", "demo/**/*.js", "i18n/**/*.js", "i18n/*.js", "test/**/*.js", "test/*.js"],
"extends": "plugin:@fui/es5", "extends": "plugin:@fui/es5",
"rules": { "rules": {
"no-param-reassign": "off",
"quotes": [2, "double"],
"comma-dangle": ["error", "never"] // 多行对象字面量中要求拖尾逗号 "comma-dangle": ["error", "never"] // 多行对象字面量中要求拖尾逗号
} }
}, { }, {

2
src/widget/multiselect/check/multiselect.check.pane.js

@ -72,7 +72,7 @@ BI.MultiSelectCheckPane = BI.inherit(BI.Widget, {
height: this.constants.height, height: this.constants.height,
el: { el: {
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
columnSize: ['auto', 'auto'], columnSize: ["auto", "auto"],
cls: "multi-select-continue-select", cls: "multi-select-continue-select",
items: [ items: [
{ {

2
src/widget/multitree/check/multi.tree.check.pane.js

@ -43,7 +43,7 @@ BI.MultiTreeCheckPane = BI.inherit(BI.Pane, {
var backToPopup = BI.createWidget({ var backToPopup = BI.createWidget({
type: "bi.vertical_adapt", type: "bi.vertical_adapt",
columnSize: ['auto', 'auto'], columnSize: ["auto", "auto"],
cls: "multi-tree-continue-select", cls: "multi-tree-continue-select",
items: [ items: [
{ {

Loading…
Cancel
Save