ESLint: Use --fix with new rules to order import declarations

Related to #795. This applies the new sorting rules in ESLint to the files by running `npm run lint:js:fix`
This commit is contained in:
regexowl 2022-09-09 10:47:48 +02:00 committed by Sanne Raymaekers
parent c6902ab347
commit 0bced556a9
27 changed files with 75 additions and 77 deletions

View file

@ -1,8 +1,8 @@
import React from 'react';
import componentTypes from '@data-driven-forms/react-form-renderer/component-types';
import validatorTypes from '@data-driven-forms/react-form-renderer/validator-types';
import nextStepMapper from './imageOutputStepMapper';
import { Title } from '@patternfly/react-core';
import nextStepMapper from './imageOutputStepMapper';
import StepTemplate from './stepTemplate';
export default {

View file

@ -2,17 +2,17 @@ import React from 'react';
import componentTypes from '@data-driven-forms/react-form-renderer/component-types';
import validatorTypes from '@data-driven-forms/react-form-renderer/validator-types';
import { HelpIcon } from '@patternfly/react-icons';
import nextStepMapper from './imageOutputStepMapper';
import {
Title,
Text,
Button,
Popover,
Text,
TextContent,
TextList,
TextListItem,
Button,
Title,
} from '@patternfly/react-core';
import PropTypes from 'prop-types';
import nextStepMapper from './imageOutputStepMapper';
import StepTemplate from './stepTemplate';
export const googleAccType = {

View file

@ -1,11 +1,11 @@
import React from 'react';
import componentTypes from '@data-driven-forms/react-form-renderer/component-types';
import validatorTypes from '@data-driven-forms/react-form-renderer/validator-types';
import nextStepMapper from './imageOutputStepMapper';
import { RHEL_9 } from '../../../constants.js';
import { Text } from '@patternfly/react-core';
import DocumentationButton from '../../sharedComponents/DocumentationButton';
import nextStepMapper from './imageOutputStepMapper';
import StepTemplate from './stepTemplate';
import { RHEL_9 } from '../../../constants.js';
import DocumentationButton from '../../sharedComponents/DocumentationButton';
export default {
StepTemplate,

View file

@ -1,7 +1,7 @@
import React from 'react';
import componentTypes from '@data-driven-forms/react-form-renderer/component-types';
import validatorTypes from '@data-driven-forms/react-form-renderer/validator-types';
import { Title, Text, Button, TextContent } from '@patternfly/react-core';
import { Button, Text, TextContent, Title } from '@patternfly/react-core';
import { ExternalLinkAltIcon } from '@patternfly/react-icons';
import nextStepMapper from './imageOutputStepMapper';
import StepTemplate from './stepTemplate';

View file

@ -1,5 +1,5 @@
import CustomButtons from '../formComponents/CustomSubmitButtons';
import StepTemplate from './stepTemplate';
import CustomButtons from '../formComponents/CustomSubmitButtons';
export default {
StepTemplate,