Issues (576)

src/app/App.tsx (8 issues)

Severity
1
import { QueryClient, QueryClientProvider } from 'react-query'
2
import { ReactQueryDevtools } from 'react-query/devtools'
3
import { Routes } from './Routes'
4
5
import 'styles/index.scss'
6
7
const queryClient = new QueryClient({
8
  defaultOptions: {
9
    queries: {
10
      refetchOnWindowFocus: false,
11
    },
12
  },
13
})
14
15
const App = () => (
0 ignored issues
show
Function component is not a function declaration
Loading history...
16
  <>
0 ignored issues
show
Fragments should contain more than one child - otherwise, there‘s no need for a Fragment at all.
Loading history...
Expected indentation of 4 space characters but found 2.
Loading history...
JSX not allowed in files with extension '.tsx'
Loading history...
17
    <QueryClientProvider client={queryClient}>
0 ignored issues
show
Expected indentation of 6 space characters but found 4.
Loading history...
18
      <Routes />
0 ignored issues
show
Expected indentation of 8 space characters but found 6.
Loading history...
19
      <ReactQueryDevtools initialIsOpen={false} />
0 ignored issues
show
Expected indentation of 8 space characters but found 6.
Loading history...
JSX element should start in a new line
Loading history...
20
    </QueryClientProvider>
21
  </>
22
)
23
24
export { App }
25