Linting fixes to improve quality report

This commit is contained in:
Kshitij Sobti
2018-07-16 13:39:38 +05:30
parent bf6af13ed1
commit fcff921fdb
16 changed files with 32 additions and 35 deletions

View File

@@ -149,7 +149,7 @@ EntitlementForm.propTypes = {
EntitlementForm.defaultProps = {
entitlement: {
uuid:'',
uuid: '',
courseUuid: '',
created: '',
modified: '',
@@ -158,7 +158,7 @@ EntitlementForm.defaultProps = {
orderNumber: '',
supportDetails: [],
user: '',
}
},
};
export default EntitlementForm;

View File

@@ -1,5 +1,5 @@
import { formActions, entitlementActions } from '../constants/actionTypes';
import { formTypes } from '../constants/formTypes'
import { formTypes } from '../constants/formTypes';
const clearFormState = {
formType: '',
isOpen: false,

View File

@@ -83,9 +83,9 @@ function LoggedInUser({ userInformation, setErrorState, zendeskApiHost, submitFo
{/* TODO file uploading will be done after initial release */}
{/* <FileUpload */}
{/* setErrorState={setErrorState} */}
{/* zendeskApiHost={zendeskApiHost} */}
{/* accessToken={accessToken} */}
{/* setErrorState={setErrorState} */}
{/* zendeskApiHost={zendeskApiHost} */}
{/* accessToken={accessToken} */}
{/* /> */}
<div className="row">

View File

@@ -51,7 +51,7 @@ class RenderForm extends React.Component {
data.requester = {
email: $userInfo.data('email'),
name: $userInfo.data('username')
name: $userInfo.data('username'),
};
course = $course.find(':selected').val();