Hi,
ESLint has found some issues with your code (please check the JavaScript coding standards )
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 3, col 15, Error - Missing semicolon. (semi)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 5, col 5, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 6, col 13, Error - Missing space before function parentheses. (space-before-function-paren)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 6, col 15, Error - Missing space before opening brace. (space-before-blocks)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 7, col 22, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 7, col 53, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 9, col 13, Error - Missing space before function parentheses. (space-before-function-paren)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 9, col 15, Error - Missing space before opening brace. (space-before-blocks)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 10, col 22, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 10, col 53, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 11, col 6, Error - Trailing spaces not allowed. (no-trailing-spaces)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 14, col 5, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 14, col 36, Error - Missing space before function parentheses. (space-before-function-paren)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 14, col 38, Error - Missing space before opening brace. (space-before-blocks)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 15, col 20, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 15, col 51, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 19, col 5, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 19, col 33, Error - Missing space before function parentheses. (space-before-function-paren)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 19, col 35, Error - Missing space before opening brace. (space-before-blocks)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 20, col 20, Error - Strings must use singlequote. (quotes)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 21, col 6, Error - Trailing spaces not allowed. (no-trailing-spaces)
/var/vhosts/c214000000/site1101/web/vendor/drupal/pareviewsh/pareview_temp/js/simple_popup_views.js: line 24, col 19, Error - Missing semicolon. (semi)
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 2964921-2.patch | 1.41 KB | vandna b |
| #2 | eslint-simple_popup_views-2964921-2.patch | 1.41 KB | sivaprasadc |
Comments
Comment #2
sivaprasadc commentedHi,
I have created the patch for the same. Please review it.
Comment #3
vandna b commentedpatch is working fine.
Comment #4
vandna b commentedRe-roll patch removing extra spaces
Comment #6
ameer khan commentedThank you all. Patches applied.
Comment #7
ameer khan commented