From 6aad69008653bfc35f0673e957ecdf58f9d854ff Mon Sep 17 00:00:00 2001 From: Mojmir Fendek Date: Mon, 12 Feb 2024 15:47:16 +1300 Subject: [PATCH] Fixes. --- client/src/boot/registerComponents.js | 2 ++ client/src/boot/registerReducers.js | 2 ++ client/src/components/HistoryViewer/HistoryViewer.js | 1 + .../src/components/HistoryViewer/HistoryViewerCompareWarning.js | 2 ++ client/src/components/HistoryViewer/HistoryViewerHeading.js | 2 ++ client/src/components/HistoryViewer/HistoryViewerSnapshot.js | 2 ++ .../src/components/HistoryViewer/HistoryViewerSnapshotState.js | 2 ++ client/src/components/HistoryViewer/HistoryViewerToolbar.js | 2 ++ client/src/components/HistoryViewer/HistoryViewerVersion.js | 2 ++ .../src/components/HistoryViewer/HistoryViewerVersionDetail.js | 1 + client/src/components/HistoryViewer/HistoryViewerVersionList.js | 2 ++ .../src/components/HistoryViewer/HistoryViewerVersionState.js | 2 ++ client/src/components/HistoryViewer/SnapshotViewerContainer.js | 2 ++ client/src/containers/HistoryViewer/HistoryViewerConfig.js | 2 ++ client/src/helpers/getDateFromVersion.js | 2 ++ client/src/legacy/HistoryViewer/HistoryViewerEntwine.js | 2 ++ client/src/legacy/VersionedEditForm/VersionedEditForm.js | 2 ++ 17 files changed, 32 insertions(+) diff --git a/client/src/boot/registerComponents.js b/client/src/boot/registerComponents.js index 3b962c7..e6e23c9 100644 --- a/client/src/boot/registerComponents.js +++ b/client/src/boot/registerComponents.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import Injector from 'lib/Injector'; import HistoryViewer from 'components/HistoryViewer/HistoryViewer'; import SnapshotViewerContainer from 'components/HistoryViewer/SnapshotViewerContainer'; diff --git a/client/src/boot/registerReducers.js b/client/src/boot/registerReducers.js index 3da3a88..9fdba87 100644 --- a/client/src/boot/registerReducers.js +++ b/client/src/boot/registerReducers.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import Injector from 'lib/Injector'; import { combineReducers } from 'redux'; import historyViewerReducer from 'state/historyviewer/HistoryViewerReducer'; diff --git a/client/src/components/HistoryViewer/HistoryViewer.js b/client/src/components/HistoryViewer/HistoryViewer.js index d157c72..dac4bbf 100644 --- a/client/src/components/HistoryViewer/HistoryViewer.js +++ b/client/src/components/HistoryViewer/HistoryViewer.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-unresolved */ /* global window */ import React, { Component } from 'react'; diff --git a/client/src/components/HistoryViewer/HistoryViewerCompareWarning.js b/client/src/components/HistoryViewer/HistoryViewerCompareWarning.js index 5cecd03..f190b90 100644 --- a/client/src/components/HistoryViewer/HistoryViewerCompareWarning.js +++ b/client/src/components/HistoryViewer/HistoryViewerCompareWarning.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; diff --git a/client/src/components/HistoryViewer/HistoryViewerHeading.js b/client/src/components/HistoryViewer/HistoryViewerHeading.js index dc2335a..c9411ab 100644 --- a/client/src/components/HistoryViewer/HistoryViewerHeading.js +++ b/client/src/components/HistoryViewer/HistoryViewerHeading.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import i18n from 'i18n'; import React, { Component } from 'react'; import { Dropdown, DropdownToggle, DropdownMenu } from 'reactstrap'; diff --git a/client/src/components/HistoryViewer/HistoryViewerSnapshot.js b/client/src/components/HistoryViewer/HistoryViewerSnapshot.js index 0e9f1ee..82da1dc 100644 --- a/client/src/components/HistoryViewer/HistoryViewerSnapshot.js +++ b/client/src/components/HistoryViewer/HistoryViewerSnapshot.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { inject } from 'lib/Injector'; diff --git a/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js b/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js index 048a2a5..5a26e76 100644 --- a/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js +++ b/client/src/components/HistoryViewer/HistoryViewerSnapshotState.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import { inject } from 'lib/Injector'; import React from 'react'; import { Component as VersionedState } from './HistoryViewerVersionState'; diff --git a/client/src/components/HistoryViewer/HistoryViewerToolbar.js b/client/src/components/HistoryViewer/HistoryViewerToolbar.js index 53561a9..dc68ff6 100644 --- a/client/src/components/HistoryViewer/HistoryViewerToolbar.js +++ b/client/src/components/HistoryViewer/HistoryViewerToolbar.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved, react/no-unused-state */ + import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; diff --git a/client/src/components/HistoryViewer/HistoryViewerVersion.js b/client/src/components/HistoryViewer/HistoryViewerVersion.js index 66e876f..37a9b4d 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersion.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersion.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { compose } from 'redux'; diff --git a/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js b/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js index 3dac9c4..60d7bb0 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersionDetail.js @@ -1,3 +1,4 @@ +/* eslint-disable import/no-unresolved */ /* global document */ import React, { PureComponent } from 'react'; diff --git a/client/src/components/HistoryViewer/HistoryViewerVersionList.js b/client/src/components/HistoryViewer/HistoryViewerVersionList.js index be9d2d6..69e6fa9 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersionList.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersionList.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React, { PureComponent } from 'react'; import PropTypes from 'prop-types'; import classnames from 'classnames'; diff --git a/client/src/components/HistoryViewer/HistoryViewerVersionState.js b/client/src/components/HistoryViewer/HistoryViewerVersionState.js index 82d75b1..fb04c81 100644 --- a/client/src/components/HistoryViewer/HistoryViewerVersionState.js +++ b/client/src/components/HistoryViewer/HistoryViewerVersionState.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React, { Component } from 'react'; import classnames from 'classnames'; import i18n from 'i18n'; diff --git a/client/src/components/HistoryViewer/SnapshotViewerContainer.js b/client/src/components/HistoryViewer/SnapshotViewerContainer.js index 15fb07b..775babb 100644 --- a/client/src/components/HistoryViewer/SnapshotViewerContainer.js +++ b/client/src/components/HistoryViewer/SnapshotViewerContainer.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React, { useMemo } from 'react'; import PropTypes from 'prop-types'; import { Query } from 'react-apollo'; diff --git a/client/src/containers/HistoryViewer/HistoryViewerConfig.js b/client/src/containers/HistoryViewer/HistoryViewerConfig.js index aeb6093..c088397 100644 --- a/client/src/containers/HistoryViewer/HistoryViewerConfig.js +++ b/client/src/containers/HistoryViewer/HistoryViewerConfig.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import React from 'react'; import Config from 'lib/Config'; import { inject } from 'lib/Injector'; diff --git a/client/src/helpers/getDateFromVersion.js b/client/src/helpers/getDateFromVersion.js index 675d715..f24fba7 100644 --- a/client/src/helpers/getDateFromVersion.js +++ b/client/src/helpers/getDateFromVersion.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import i18n from 'i18n'; import moment from 'moment'; diff --git a/client/src/legacy/HistoryViewer/HistoryViewerEntwine.js b/client/src/legacy/HistoryViewer/HistoryViewerEntwine.js index 3866831..b653ad7 100644 --- a/client/src/legacy/HistoryViewer/HistoryViewerEntwine.js +++ b/client/src/legacy/HistoryViewer/HistoryViewerEntwine.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import jQuery from 'jquery'; import React from 'react'; import ReactDOM from 'react-dom'; diff --git a/client/src/legacy/VersionedEditForm/VersionedEditForm.js b/client/src/legacy/VersionedEditForm/VersionedEditForm.js index f386bef..56f992a 100644 --- a/client/src/legacy/VersionedEditForm/VersionedEditForm.js +++ b/client/src/legacy/VersionedEditForm/VersionedEditForm.js @@ -1,3 +1,5 @@ +/* eslint-disable import/no-unresolved */ + import i18n from 'i18n'; import jQuery from 'jquery';