ESLint: Use --fix with updated rules to order imports

This applies the updated sorting rules to the files by running `npm run lint:js:fix`
This commit is contained in:
regexowl 2022-12-02 10:22:45 +01:00 committed by Sanne Raymaekers
parent b55d5242a9
commit ab1a7f4aab
54 changed files with 202 additions and 109 deletions

View file

@ -1,7 +1,7 @@
import React, { useEffect, useState } from 'react';
import PropTypes from 'prop-types';
import useFormApi from '@data-driven-forms/react-form-renderer/use-form-api';
import useFieldApi from '@data-driven-forms/react-form-renderer/use-field-api';
import useFormApi from '@data-driven-forms/react-form-renderer/use-form-api';
import {
Checkbox,
FormGroup,
@ -9,6 +9,7 @@ import {
TextVariants,
Tile,
} from '@patternfly/react-core';
import PropTypes from 'prop-types';
const TargetEnvironment = ({ label, isRequired, ...props }) => {
const { getState, change } = useFormApi();