chore: bump frontend-build, remove exceptions for prefer-default-export (#1519)

This commit is contained in:
Braden MacDonald
2024-11-20 09:00:02 -08:00
committed by GitHub
parent 624f5addcf
commit 66577b0d59
108 changed files with 90 additions and 160 deletions

View File

@@ -1,2 +1 @@
/* eslint-disable import/prefer-default-export */
export { default as contentTagsCountMock } from './contentTagsCount';

View File

@@ -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({

View File

@@ -136,5 +136,4 @@ const useCreateOrRerunCourse = (initialValues) => {
};
};
// eslint-disable-next-line import/prefer-default-export
export { useCreateOrRerunCourse };

View File

@@ -1,2 +1 @@
// eslint-disable-next-line import/prefer-default-export
export { default as Divider } from './Divider';

View File

@@ -1,4 +1,3 @@
// eslint-disable-next-line import/prefer-default-export
export const otherLinkURLParams = {
scheduleAndDetails: 'settings/details',
grading: 'settings/grading',

View File

@@ -1,2 +1 @@
// eslint-disable-next-line import/prefer-default-export
export { useEventListener } from './useEventListener';

View File

@@ -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,

View File

@@ -1,4 +1,3 @@
// eslint-disable-next-line import/prefer-default-export
export const getProcessingNotification = (state) => ({
isShow: state.processingNotification.isShow,
title: state.processingNotification.title,

View File

@@ -22,5 +22,4 @@ const handleResponseErrors = (error, dispatch, savingStatusFunction) => {
return false;
};
// eslint-disable-next-line import/prefer-default-export
export { handleResponseErrors };