Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
wim.leers at wimleers-acquia in ~/Work/drupal-unus/modules/refreshless on 8.x-1.x*
$ eslint js
/Users/wim.leers/Work/drupal-unus/modules/refreshless/js/refreshless.js
1:1 error Definition for rule 'keyword-spacing' was not found keyword-spacing
30:5 error Split 'var' declarations into multiple statements one-var
31:35 error Strings must use singlequote quotes
37:12 error Closing curly brace appears on the same line as the subsequent block brace-style
43:3 warning JSDoc syntax error valid-jsdoc
100:35 error Missing space before function parentheses space-before-function-paren
103:37 error Missing space before function parentheses space-before-function-paren
106:35 error Missing space before function parentheses space-before-function-paren
110:3 error Expected line before comment lines-around-comment
110:3 warning Use @return instead valid-jsdoc
116:44 error Missing space before function parentheses space-before-function-paren
123:31 error Missing space before function parentheses space-before-function-paren
126:29 error Missing space before function parentheses space-before-function-paren
129:26 error Missing space before function parentheses space-before-function-paren
131:5 error The '__proto__' property is deprecated no-proto
134:27 error Missing space before function parentheses space-before-function-paren
154:51 error Expected '!==' and instead saw '!=' eqeqeq
160:142 error Missing semicolon semi
162:7 error Unexpected console statement no-console
165:7 error Unexpected console statement no-console
167:5 error Unexpected console statement no-console
169:7 error Unexpected console statement no-console
222:22 error Missing semicolon semi
295:124 error Missing semicolon semi
298:169 error Missing semicolon semi
338:12 error Expected '===' and instead saw '==' eqeqeq
347:3 warning Missing JSDoc parameter description for 'regionName' valid-jsdoc
347:3 warning Missing JSDoc return description valid-jsdoc
347:3 warning Use @return instead valid-jsdoc
362:82 error Missing space before function parentheses space-before-function-paren
372:59 error Missing semicolon semi
391:147 error Missing semicolon semi
399:31 error Missing space before function parentheses space-before-function-paren
414:5 error Unexpected console statement no-console
435:3 warning Missing JSDoc @return for function valid-jsdoc
459:71 error Missing semicolon semi
✖ 36 problems (30 errors, 6 warnings)
Comment | File | Size | Author |
---|---|---|---|
#2 | 2713767-2.patch | 8.99 KB | Wim Leers |
Comments
Comment #2
Wim LeersComment #3
Wim LeersThis conversion was extremely tricky.
Comment #5
Wim Leers