chore: bump frontend-build, remove exceptions for prefer-default-export (#1519)
This commit is contained in:
@@ -1,2 +1 @@
|
||||
/* eslint-disable import/prefer-default-export */
|
||||
export { default as contentTagsCountMock } from './contentTagsCount';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
/* eslint-disable import/prefer-default-export */
|
||||
export const clipboardPropsTypes = {
|
||||
sourceEditUrl: PropTypes.string.isRequired,
|
||||
content: PropTypes.shape({
|
||||
|
||||
@@ -136,5 +136,4 @@ const useCreateOrRerunCourse = (initialValues) => {
|
||||
};
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export { useCreateOrRerunCourse };
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export { default as Divider } from './Divider';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export const otherLinkURLParams = {
|
||||
scheduleAndDetails: 'settings/details',
|
||||
grading: 'settings/grading',
|
||||
@@ -1,2 +1 @@
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export { useEventListener } from './useEventListener';
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { useEffect, useRef, MutableRefObject } from 'react';
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export function useEventListener<K extends keyof WindowEventMap>(
|
||||
type: K,
|
||||
handler: (event: WindowEventMap[K]) => void,
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export const getProcessingNotification = (state) => ({
|
||||
isShow: state.processingNotification.isShow,
|
||||
title: state.processingNotification.title,
|
||||
|
||||
@@ -22,5 +22,4 @@ const handleResponseErrors = (error, dispatch, savingStatusFunction) => {
|
||||
return false;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line import/prefer-default-export
|
||||
export { handleResponseErrors };
|
||||
|
||||
Reference in New Issue
Block a user