Skip to content

chore: fix JavaScript lint errors #6383 #6399

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

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/node_modules/@stdlib/plot/base/ctor/lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@
'configurable': false,
'enumerable': false,
'writable': false,
'value': minstd().toString() // TODO: uuid

Check warning on line 248 in lib/node_modules/@stdlib/plot/base/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected 'todo' comment: 'TODO: uuid'
});

// Initialize an internal cache for renderers...
Expand Down Expand Up @@ -798,7 +798,7 @@
'enumerable': true,
'set': setRenderFormat,
'get': getRenderFormat
});

Check warning on line 801 in lib/node_modules/@stdlib/plot/base/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

File has too many lines (399). Maximum allowed is 300

/**
* Plot title.
Expand Down Expand Up @@ -1023,7 +1023,7 @@
'get': getXRange
});

/**

Check failure on line 1026 in lib/node_modules/@stdlib/plot/base/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Encountered an error while running code: `invalid format: %H:%M`.Did you mean to include a `// throws <Error>` annotation instead of `// returns <Function>`?
* x-axis tick format.
*
* ## Notes
Expand All @@ -1039,7 +1039,7 @@
* @example
* var plot = new Plot();
* plot.xScale = 'time';
* plot.xTickFormat = '%H:%M';
* plot.xTickFormat = 'HH:mm';

Check failure on line 1042 in lib/node_modules/@stdlib/plot/base/ctor/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Trailing spaces not allowed
*
* @example
* var plot = new Plot({
Expand Down
Loading