⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:107:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:19:8  if ( document.getElementById(this.containerId) ) return;  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:30:75  if(document.getElementById(id) && document.getElementById(id).style){  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:38:19  if(!targetDom){  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:57:6  }   ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:99:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:19:52  if ( document.getElementById(this.containerId) ) return;  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:128:52  const container_bottom = (_container == window)   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:153:37  } else if (_tempBottom > mountH ) {//上  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:155:23  if(offset.top<0){  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:158:25  if(difference>0){  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:180:2 }   ^ ✘ 12 problems (0 errors, 12 warnings)  Warnings:  5 http://eslint.org/docs/rules/no-trailing-spaces 4 http://eslint.org/docs/rules/space-before-blocks 3 http://eslint.org/docs/rules/space-in-parens ✘ http://eslint.org/docs/rules/wrap-iife Move the invocation into the parens that contain the function /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/resize-event.js:29:22 const requestFrame = (function() {  ^ ✘ http://eslint.org/docs/rules/wrap-iife Move the invocation into the parens that contain the function /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/resize-event.js:41:21 const cancelFrame = (function() {  ^ ✘ http://eslint.org/docs/rules/arrow-parens Unexpected parentheses around single function argument /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/resize-event.js:77:40  this.__resizeListeners__.forEach((fn) => {  ^ ✘ 3 problems (3 errors, 0 warnings)  Errors:  2 http://eslint.org/docs/rules/wrap-iife 1 http://eslint.org/docs/rules/arrow-parens ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:107:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:19:8  if ( document.getElementById(this.containerId) ) return;  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:30:75  if(document.getElementById(id) && document.getElementById(id).style){  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:38:19  if(!targetDom){  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:57:6  }   ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:99:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:19:52  if ( document.getElementById(this.containerId) ) return;  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:128:52  const container_bottom = (_container == window)   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:153:37  } else if (_tempBottom > mountH ) {//上  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:155:23  if(offset.top<0){  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:158:25  if(difference>0){  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:180:2 }   ^ ✘ 12 problems (0 errors, 12 warnings)  Warnings:  5 http://eslint.org/docs/rules/no-trailing-spaces 4 http://eslint.org/docs/rules/space-before-blocks 3 http://eslint.org/docs/rules/space-in-parens ✘ http://eslint.org/docs/rules/wrap-iife Move the invocation into the parens that contain the function /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/resize-event.js:29:22 const requestFrame = (function() {  ^ ✘ http://eslint.org/docs/rules/wrap-iife Move the invocation into the parens that contain the function /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/resize-event.js:41:21 const cancelFrame = (function() {  ^ ✘ http://eslint.org/docs/rules/arrow-parens Unexpected parentheses around single function argument /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/resize-event.js:77:40  this.__resizeListeners__.forEach((fn) => {  ^ ✘ 3 problems (3 errors, 0 warnings)  Errors:  2 http://eslint.org/docs/rules/wrap-iife 1 http://eslint.org/docs/rules/arrow-parens ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:19:8  if ( document.getElementById(this.containerId) ) return;  ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:19:52  if ( document.getElementById(this.containerId) ) return;  ^ ⚠ http://eslint.org/docs/rules/space-before-blocks Missing space before opening brace /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:30:75  if(document.getElementById(id) && document.getElementById(id).style){  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:57:6  }   ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:99:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ⚠ http://eslint.org/docs/rules/space-in-parens There should be no spaces inside this paren /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:153:37  } else if (_tempBottom > mountH ) {//上  ^ ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:180:2 }   ^ ✘ 7 problems (0 errors, 7 warnings)  Warnings:  3 http://eslint.org/docs/rules/no-trailing-spaces 3 http://eslint.org/docs/rules/space-in-parens 1 http://eslint.org/docs/rules/space-before-blocks ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:99:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ✘ 1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/no-trailing-spaces ⚠ http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed /Users/xsy/projects/gitlabreactcompenent/ux-common-mount/src/index.js:99:65  window.removeEventListener("scroll", this.autoFollow, true);   ^ ✘ 1 problem (0 errors, 1 warning)  Warnings:  1 http://eslint.org/docs/rules/no-trailing-spaces