Setup ESLint in order to lint JavaScript #2395
linter.yml
on: pull_request
RuboCop (Ruby)
4s
ESLint (JS)
20s
Annotations
6 errors
ESLint (JS):
app/views/commontator/comments/edit.js.erb#L5
Strings must use doublequote
|
ESLint (JS):
app/views/commontator/comments/edit.js.erb#L7
More than 1 blank line not allowed
|
ESLint (JS):
app/views/commontator/comments/edit.js.erb#L8
There should be no space before this paren
|
ESLint (JS):
app/views/commontator/comments/edit.js.erb#L8
Missing semicolon
|
ESLint (JS):
app/views/commontator/comments/edit.js.erb#L10
Newline required at end of file but not found
|
ESLint (JS)
Process completed with exit code 1.
|