chore: introduce imports ordering (#5463)
This commit is contained in:
committed by
GitHub
parent
30f0e7b031
commit
dbf2920254
@ -8,14 +8,15 @@ import { partial, isEmpty } from 'lodash';
|
||||
import uuid from 'uuid/v4';
|
||||
import { SortableContainer, SortableElement, SortableHandle } from 'react-sortable-hoc';
|
||||
import NetlifyCmsWidgetObject from 'netlify-cms-widget-object';
|
||||
import { ListItemTopBar, ObjectWidgetTopBar, colors, lengths } from 'netlify-cms-ui-default';
|
||||
import { stringTemplate, validations } from 'netlify-cms-lib-widgets';
|
||||
|
||||
import {
|
||||
TYPES_KEY,
|
||||
getTypedFieldForValue,
|
||||
resolveFieldKeyType,
|
||||
getErrorMessageForTypedFieldAndValue,
|
||||
} from './typedListHelpers';
|
||||
import { ListItemTopBar, ObjectWidgetTopBar, colors, lengths } from 'netlify-cms-ui-default';
|
||||
import { stringTemplate, validations } from 'netlify-cms-lib-widgets';
|
||||
|
||||
function valueToString(value) {
|
||||
return value ? value.join(',').replace(/,([^\s]|$)/g, ', $1') : '';
|
||||
|
@ -1,6 +1,7 @@
|
||||
import React from 'react';
|
||||
import { fireEvent, render } from '@testing-library/react';
|
||||
import { fromJS } from 'immutable';
|
||||
|
||||
import ListControl from '../ListControl';
|
||||
|
||||
jest.mock('netlify-cms-widget-object', () => {
|
||||
|
@ -1,5 +1,6 @@
|
||||
import controlComponent from './ListControl';
|
||||
import NetlifyCmsWidgetObject from 'netlify-cms-widget-object';
|
||||
|
||||
import controlComponent from './ListControl';
|
||||
import schema from './schema';
|
||||
|
||||
const previewComponent = NetlifyCmsWidgetObject.previewComponent;
|
||||
|
Reference in New Issue
Block a user