* Enable import order

* Add new order groups and add consistent-type-imports

* Remove types group, move react to top and fix issues

* Add store and reducers to the redux group and move imports from types folder to the end

* Fix tsc

* Remove react rule

* Fix test

* Fix eslint disable
Этот коммит содержится в:
Daniel Espino García
2023-09-06 12:51:55 +02:00
коммит произвёл GitHub
родитель b2f36c7cdf
Коммит d13429aa92
2342 изменённых файлов: 12353 добавлений и 11153 удалений

Просмотреть файл

@@ -5,7 +5,7 @@ import {connect} from 'react-redux';
import {getIsMobileView} from 'selectors/views/browser';
import {GlobalState} from 'types/store';
import type {GlobalState} from 'types/store';
import SettingsSidebar from './settings_sidebar';

Просмотреть файл

@@ -1,11 +1,12 @@
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
// See LICENSE.txt for license information.
import React, {RefObject} from 'react';
import React from 'react';
import type {RefObject} from 'react';
import * as UserAgent from 'utils/user_agent';
import Constants from 'utils/constants';
import {isKeyPressed} from 'utils/keyboard';
import * as UserAgent from 'utils/user_agent';
import {a11yFocus} from 'utils/utils';
export type Tab = {