chore: lint fixes

This commit is contained in:
Ben Warzeski
2022-05-25 14:52:37 -04:00
parent 787e780645
commit f051a152b2
19 changed files with 152 additions and 267 deletions

View File

@@ -1,13 +1,15 @@
// import { StrictDict } from 'utils';
/*
import { StrictDict } from 'utils';
import { locationId } from 'data/constants/app';
// import { paramKeys } from './constants';
import { paramKeys } from './constants';
import urls from './urls';
import {
// client,
client,
get,
// post,
post,
stringifyUrl,
} from './utils';
*/
/*********************************************************************************
* GET Actions

View File

@@ -1,34 +0,0 @@
import { defineMessages } from '@edx/frontend-platform/i18n';
import { gradingStatuses } from './constants';
const messages = defineMessages({
ungraded: {
id: 'learner-dashboard.lms-api.gradingStatusDisplay.ungraded',
defaultMessage: 'Ungraded',
description: 'Grading status label for ungraded submission',
},
locked: {
id: 'learner-dashboard.lms-api.gradingStatusDisplay.locked',
defaultMessage: 'Currently being graded by someone else',
description: 'Grading status label for locked submission',
},
graded: {
id: 'learner-dashboard.lms-api.gradingStatusDisplay.graded',
defaultMessage: 'Grading Completed',
description: 'Grading status label for graded submission',
},
inProgress: {
id: 'learner-dashboard.lms-api.gradingStatusDisplay.inProgress',
defaultMessage: 'You are currently grading this response',
description: 'Grading status label for in-progress submission',
},
});
// re-keying the messages to ensure that the api can link to them even if the passed
// status keys change.
export default {
[gradingStatuses.ungraded]: messages.ungraded,
[gradingStatuses.locked]: messages.locked,
[gradingStatuses.graded]: messages.graded,
[gradingStatuses.inProgress]: messages.inProgress,
};