UNPKG

@beisen/dropdown-list

Version:

DropDownList

292 lines (222 loc) 17 kB
 http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/no-unused-vars 'inputBoxReadonly' is assigned a value but never used /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:197:174  const {title,PromptMsg, errorStatus, errorMsg, helpMsg, multiple, disabled, readonly, required, hasClosebtn, lablePos, lableTxt, hasInput, showInput, isShowTips, sideTip, inputBoxReadonly} = this.props;  ^  2 problems (0 errors, 2 warnings)  Warnings:  1 http://eslint.org/docs/rules/no-unused-vars 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/genius/beisen/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/genius/beisen/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  https://google.com/#q=react%2Fjsx-space-before-closing A space is required before closing bracket /Users/genius/beisen/ux-drop-down-list/src/index.js:117:110  const showAutoUl = <DropDown {...dropdownDate} maxHeight={maxHeight} hasSelectAll={this.props.hasSelectAll}/>  ^  2 problems (1 error, 1 warning)  Errors:  1 https://google.com/#q=react%2Fjsx-space-before-closing Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/genius/beisen/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/genius/beisen/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:94:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:120:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:121:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  3 problems (0 errors, 3 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:98:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:124:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/apple/Documents/ux/ux-drop-down-list/src/index.js:125:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  3 problems (0 errors, 3 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/klx/Beisen/ux-drop-down-list/src/index.js:98:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:124:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:125:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  3 problems (0 errors, 3 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/klx/Beisen/ux-drop-down-list/src/index.js:98:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/no-unused-vars 'maxHeight' is assigned a value but never used /Users/klx/Beisen/ux-drop-down-list/src/index.js:114:7  let maxHeight = this.props.multiple ? (this.props.children.length > 10 ? dropHeight - 118 : dropHeight - 66) : dropHeight;  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:124:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:125:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  4 problems (0 errors, 4 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/no-unused-vars 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/klx/Beisen/ux-drop-down-list/src/index.js:98:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/no-unused-vars 'maxHeight' is assigned a value but never used /Users/klx/Beisen/ux-drop-down-list/src/index.js:114:7  let maxHeight = this.props.multiple ? (this.props.children.length > 10 ? dropHeight - 118 : dropHeight - 66) : dropHeight;  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:124:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:125:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  4 problems (0 errors, 4 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/no-unused-vars 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/klx/Beisen/ux-drop-down-list/src/index.js:98:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/no-unused-vars 'maxHeight' is assigned a value but never used /Users/klx/Beisen/ux-drop-down-list/src/index.js:114:7  let maxHeight = this.props.multiple ? (this.props.children.length > 10 ? dropHeight - 118 : dropHeight - 66) : dropHeight;  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:124:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:125:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  4 problems (0 errors, 4 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/no-unused-vars 1 http://eslint.org/docs/rules/space-before-function-paren  http://eslint.org/docs/rules/space-before-function-paren Unexpected space before function parentheses /Users/klx/Beisen/ux-drop-down-list/src/index.js:98:35  "onAdvancedModeClick": function (event) {  ^  http://eslint.org/docs/rules/no-unused-vars 'maxHeight' is assigned a value but never used /Users/klx/Beisen/ux-drop-down-list/src/index.js:114:7  let maxHeight = this.props.multiple ? (this.props.children.length > 10 ? dropHeight - 118 : dropHeight - 66) : dropHeight;  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:124:47  for(let i = 0; i < tar.children.length; i++){  ^  http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/klx/Beisen/ux-drop-down-list/src/index.js:125:57  if(tar.children[i].tagName.toLowerCase() === 'input'){  ^  4 problems (0 errors, 4 warnings)  Warnings:  2 http://eslint.org/docs/rules/space-before-blocks 1 http://eslint.org/docs/rules/no-unused-vars 1 http://eslint.org/docs/rules/space-before-function-paren