Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Example of ESLint error messages #12

wants to merge 1 commit into from

Conversation

modos189
Copy link
Owner

No description provided.

// 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

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 ··

Suggested change
// 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>');

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 ··

Suggested change
$('#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'});

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'·

Suggested change
$('#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() {

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·

Suggested change
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 ) {

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 ) {

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 ·

Suggested change
window.plugin.compAPStats.updateNoPortals = function (hasFinished ) {
window.plugin.compAPStats.updateNoPortals = function (hasFinished) {

Comment on lines +45 to 46
$('#available_ap_display').html( 'Available AP in this area: '
+ '<div style="color:red">Zoom closer to get all portals loaded.<div>');

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:·'

Suggested change
$('#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>');

@github-actions
Copy link

🤖 Pull request artifacts

file commit
IITC_Mobile-test.apk e7d8748
test-0.33.0.20220727.205633.zip e7d8748

See build on website

@modos189 modos189 changed the title tsdfgd Example of ESLint error messages Jul 27, 2022
@modos189 modos189 force-pushed the master branch 11 times, most recently from 4159d43 to c55c7e1 Compare July 29, 2022 10:19
@modos189 modos189 force-pushed the master branch 9 times, most recently from 5da95d4 to ccd8bd7 Compare August 9, 2022 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant