Fix react imports grouping sort
This commit is contained in:
parent
a341e44b1c
commit
0644bfa3db
|
@ -45,7 +45,7 @@
|
||||||
// Side effect imports.
|
// Side effect imports.
|
||||||
["^\\u0000"],
|
["^\\u0000"],
|
||||||
// `react` related packages come first.
|
// `react` related packages come first.
|
||||||
["react"],
|
["^react"],
|
||||||
// Things that start with a letter (or digit or underscore), or `@` followed by a letter.
|
// Things that start with a letter (or digit or underscore), or `@` followed by a letter.
|
||||||
["^@?\\w"],
|
["^@?\\w"],
|
||||||
// Absolute imports and other imports such as Vue-style `@/foo`.
|
// Absolute imports and other imports such as Vue-style `@/foo`.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import React, { render } from 'react-dom'
|
import React, { StrictMode } from 'react'
|
||||||
|
import { render } from 'react-dom'
|
||||||
|
|
||||||
import { GroupChat, lightTheme } from '@status-im/react'
|
import { GroupChat, lightTheme } from '@status-im/react'
|
||||||
import { StrictMode } from 'react'
|
|
||||||
|
|
||||||
const App = () => {
|
const App = () => {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import React, { render } from 'react-dom'
|
import React, { StrictMode } from 'react'
|
||||||
|
import { render } from 'react-dom'
|
||||||
|
|
||||||
import { CommunityChat, lightTheme } from '@status-im/react'
|
import { CommunityChat, lightTheme } from '@status-im/react'
|
||||||
import { StrictMode } from 'react'
|
|
||||||
|
|
||||||
const App = () => {
|
const App = () => {
|
||||||
return (
|
return (
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"build": "wsrun -e -c -s build",
|
"build": "wsrun -e -c -s build",
|
||||||
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
"lint": "eslint 'packages/**/*.{ts,tsx}'",
|
||||||
"lint:fix": "eslint 'packages/**/*.{ts,tsx}' --fix",
|
"lint:fix": "eslint 'packages/**/*.{ts,tsx}' --fix",
|
||||||
|
"lint:examples": "eslint 'examples/**/*.{ts,tsx}'",
|
||||||
"format": "prettier --write .",
|
"format": "prettier --write .",
|
||||||
"typecheck": "wsrun -e -c -s typecheck",
|
"typecheck": "wsrun -e -c -s typecheck",
|
||||||
"test": "wsrun -e -c -s test"
|
"test": "wsrun -e -c -s test"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import HCaptcha from '@hcaptcha/react-hcaptcha'
|
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
|
|
||||||
|
import HCaptcha from '@hcaptcha/react-hcaptcha'
|
||||||
import styled, { useTheme } from 'styled-components'
|
import styled, { useTheme } from 'styled-components'
|
||||||
|
|
||||||
import { useMessengerContext } from '../../contexts/messengerProvider'
|
import { useMessengerContext } from '../../contexts/messengerProvider'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import QRCode from 'qrcode.react'
|
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
|
|
||||||
|
import QRCode from 'qrcode.react'
|
||||||
|
|
||||||
import { CopyInput } from '../Form/CopyInput'
|
import { CopyInput } from '../Form/CopyInput'
|
||||||
import { Heading, MiddleSection, QRWrapper, Section, Text } from './ModalStyle'
|
import { Heading, MiddleSection, QRWrapper, Section, Text } from './ModalStyle'
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import QRCode from 'qrcode.react'
|
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
|
|
||||||
|
import QRCode from 'qrcode.react'
|
||||||
import styled from 'styled-components'
|
import styled from 'styled-components'
|
||||||
|
|
||||||
import { buttonStyles } from '../Buttons/buttonStyle'
|
import { buttonStyles } from '../Buttons/buttonStyle'
|
||||||
|
|
Loading…
Reference in New Issue