Skip to content

Commit

Permalink
removes eslint disables comments for workspace-import (#29348)
Browse files Browse the repository at this point in the history
  • Loading branch information
rmessina1010 authored Apr 23, 2024
1 parent d7dbc93 commit 4520229
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/applications/check-in/tests/e2e/pages/NextOfKin.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @department-of-veterans-affairs/use-workspace-imports */
import Timeouts from 'platform/testing/e2e/timeouts';

class NextOfKin {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react';
import { shallow } from 'enzyme';
import { expect } from 'chai';
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import set from 'platform/utilities/data/set'; // it doesn't look like this is exported by platform-utilities

import AppealListItem from '../../../components/appeals-v2/AppealListItem';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';
import { setData } from '@department-of-veterans-affairs/platform-forms-system/actions';
// import { recordEvent } from '@department-of-veterans-affairs/platform-monitoring/exports';
// FIXME: figure out why cypress doesn't like this import.
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import recordEvent from 'platform/monitoring/record-event';

import { ACCESSORY, DLC_PHONE } from '../constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';
import { setData } from '@department-of-veterans-affairs/platform-forms-system/actions';
// import { recordEvent } from '@department-of-veterans-affairs/platform-monitoring/exports';
// FIXME: figure out why cypress doesn't like this import.
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import recordEvent from 'platform/monitoring/record-event';

import { APNEA, DLC_PHONE } from '../constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';
import { setData } from '@department-of-veterans-affairs/platform-forms-system/actions';
// import { recordEvent } from '@department-of-veterans-affairs/platform-monitoring/exports';
// FIXME: figure out why cypress doesn't like this import.
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import recordEvent from 'platform/monitoring/record-event';

import { BATTERY, DLC_PHONE } from '../constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';
import { setData } from '@department-of-veterans-affairs/platform-forms-system/actions';
// import { recordEvent } from '@department-of-veterans-affairs/platform-monitoring/exports';
// FIXME: figure out why cypress doesn't like this import.
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import recordEvent from 'platform/monitoring/record-event';

import { ACCESSORY, DLC_PHONE } from '../constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';
import { setData } from '@department-of-veterans-affairs/platform-forms-system/actions';
// import { recordEvent } from '@department-of-veterans-affairs/platform-monitoring/exports';
// FIXME: figure out why cypress doesn't like this import.
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import recordEvent from 'platform/monitoring/record-event';

import { APNEA, DLC_PHONE } from '../constants';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import moment from 'moment';
import { setData } from '@department-of-veterans-affairs/platform-forms-system/actions';
// import { recordEvent } from '@department-of-veterans-affairs/platform-monitoring/exports';
// FIXME: figure out why cypress doesn't like this import.
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import recordEvent from 'platform/monitoring/record-event';

import { BATTERY, DLC_PHONE } from '../constants';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import fullSchemaPreNeed from 'vets-json-schema/dist/40-10007-schema.json';

// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import currentOrPastDateUI from 'platform/forms-system/src/js/definitions/currentOrPastDate';

import { merge, pick } from 'lodash';
Expand Down
1 change: 0 additions & 1 deletion src/applications/vaos/tests/e2e/fixtures/MockUser.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* eslint-disable @department-of-veterans-affairs/use-workspace-imports */
import { mockContactInformation } from 'platform/user/profile/vap-svc/util/local-vapsvc';

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable react/sort-prop-types */
/* eslint-disable react/static-property-placement */
/* eslint-disable @department-of-veterans-affairs/use-workspace-imports */
// Dependencies.
import React, { Component } from 'react';
import { VaPagination } from '@department-of-veterans-affairs/component-library/dist/react-bindings';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// breaks unit tests if we use the workspace import
// eslint-disable-next-line @department-of-veterans-affairs/use-workspace-imports
import { selectDrupalStaticData } from 'platform/site-wide/drupal-static-data/selectors';

export const selectVamcSystemData = state =>
Expand Down

0 comments on commit 4520229

Please sign in to comment.