-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example of ESLint error messages #12
base: master
Are you sure you want to change the base?
Conversation
// add a new div to the bottom of the sidebar and style it | ||
$('#sidebar').append('<div id="available_ap_display"></div>'); | ||
$('#available_ap_display').css({'color':'#ffce00', 'font-size':'90%', 'padding':'4px 2px'}); | ||
// add a new div to the bottom of the sidebar and style it |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ··
// add a new div to the bottom of the sidebar and style it | |
// add a new div to the bottom of the sidebar and style it |
$('#sidebar').append('<div id="available_ap_display"></div>'); | ||
$('#available_ap_display').css({'color':'#ffce00', 'font-size':'90%', 'padding':'4px 2px'}); | ||
// add a new div to the bottom of the sidebar and style it | ||
$('#sidebar').append('<div id="available_ap_display"></div>'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Insert ··
$('#sidebar').append('<div id="available_ap_display"></div>'); | |
$('#sidebar').append('<div id="available_ap_display"></div>'); |
$('#available_ap_display').css({'color':'#ffce00', 'font-size':'90%', 'padding':'4px 2px'}); | ||
// add a new div to the bottom of the sidebar and style it | ||
$('#sidebar').append('<div id="available_ap_display"></div>'); | ||
$('#available_ap_display').css({'color':'#ffce00', 'font-size':'90%', 'padding':'4px 2px'}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace $('#available_ap_display').css({'color':'#ffce00',·'font-size':'90%',·'padding':'4px·2px'
with ··$('#available_ap_display').css({·color:·'#ffce00',·'font-size':·'90%',·padding:·'4px·2px'·
$('#available_ap_display').css({'color':'#ffce00', 'font-size':'90%', 'padding':'4px 2px'}); | |
$('#available_ap_display').css({ color: '#ffce00', 'font-size': '90%', padding: '4px 2px' }); |
@@ -22,7 +22,7 @@ window.plugin.compAPStats.setupCallback = function() { | |||
|
|||
} | |||
|
|||
window.plugin.compAPStats.mapDataRefreshEnd = function() { | |||
window.plugin.compAPStats.mapDataRefreshEnd =function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace function
with ·function·
window.plugin.compAPStats.mapDataRefreshEnd =function() { | |
window.plugin.compAPStats.mapDataRefreshEnd = function () { |
@@ -41,8 +41,8 @@ window.plugin.compAPStats.requestFinished = function() { | |||
} | |||
} | |||
|
|||
window.plugin.compAPStats.updateNoPortals = function (hasFinished) { | |||
$('#available_ap_display').html('Available AP in this area: ' | |||
window.plugin.compAPStats.updateNoPortals = function (hasFinished ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <no-unused-vars> reported by reviewdog 🐶
'hasFinished' is defined but never used.
@@ -41,8 +41,8 @@ window.plugin.compAPStats.requestFinished = function() { | |||
} | |||
} | |||
|
|||
window.plugin.compAPStats.updateNoPortals = function (hasFinished) { | |||
$('#available_ap_display').html('Available AP in this area: ' | |||
window.plugin.compAPStats.updateNoPortals = function (hasFinished ) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Delete ·
window.plugin.compAPStats.updateNoPortals = function (hasFinished ) { | |
window.plugin.compAPStats.updateNoPortals = function (hasFinished) { |
$('#available_ap_display').html( 'Available AP in this area: ' | ||
+ '<div style="color:red">Zoom closer to get all portals loaded.<div>'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚫 [eslint] <prettier/prettier> reported by reviewdog 🐶
Replace ·'Available·AP·in·this·area:·'⏎···
with 'Available·AP·in·this·area:·'
$('#available_ap_display').html( 'Available AP in this area: ' | |
+ '<div style="color:red">Zoom closer to get all portals loaded.<div>'); | |
$('#available_ap_display').html('Available AP in this area: ' + '<div style="color:red">Zoom closer to get all portals loaded.<div>'); |
🤖 Pull request artifacts
|
4159d43
to
c55c7e1
Compare
5da95d4
to
ccd8bd7
Compare
No description provided.