mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 01:25:51 +07:00
feat(eslint-config): add order rule in import
* refactor: added eslint-plugin-import * refactor: disable some rules for muiComponents * fix: fixed import
This commit is contained in:
committed by
Sergio Hg
parent
950f6defca
commit
ae73772a37
@@ -1,11 +1,12 @@
|
||||
import { isTokenExpire, makeLogin } from './login';
|
||||
|
||||
import {
|
||||
generateTokenWithTimeRange,
|
||||
generateTokenWithExpirationAsString,
|
||||
generateTokenWithOutExpiration,
|
||||
generateInvalidToken,
|
||||
} from '../../jest/unit/components/__mocks__/token';
|
||||
|
||||
import { isTokenExpire, makeLogin } from './login';
|
||||
|
||||
/* eslint-disable no-console */
|
||||
console.error = jest.fn();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user