Skip to content

Commit

Permalink
Fixed eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Sep 24, 2020
1 parent 5ed628b commit b0c0a40
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cvat-core/src/annotations-collection.js
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,8 @@
const filteredTracks = this.tracks.filter((track) => !track.removed);
let found = false;
for (const track of filteredTracks) {
// false positive
// eslint-disable-next-line
const { prev, first } = track.boundedKeyframes(frame);
const last = prev === null ? first : prev;
const lastShape = track.shapes[last];
Expand Down
2 changes: 1 addition & 1 deletion cvat-core/src/enums.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
* @property {string} UNKNOWN 'unknown'
* @readonly
*/
const RQStatus = Object.freeze({
const RQStatus = Object.freeze({
QUEUED: 'queued',
STARTED: 'started',
FINISHED: 'finished',
Expand Down
2 changes: 1 addition & 1 deletion cvat-core/src/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
* @readonly
* @instance
*/
get: () => !data.email_verification_required,
get: () => !data.email_verification_required,
},
}));
}
Expand Down

0 comments on commit b0c0a40

Please sign in to comment.