File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 8
8
"ecmaVersion" : 2018 ,
9
9
"sourceType" : " module"
10
10
},
11
- "plugins" : [" @typescript-eslint" ],
11
+ "plugins" : [
12
+ " @typescript-eslint" ,
13
+ " simple-import-sort"
14
+ ],
12
15
"extends" : [
13
16
" prettier" ,
14
17
" prettier/react" ,
30
33
"@typescript-eslint/prefer-interface" : " off" ,
31
34
"@typescript-eslint/interface-name-prefix" : " off" ,
32
35
"@typescript-eslint/camelcase" : " off" ,
36
+ "simple-import-sort/sort" : " warn" ,
33
37
"no-console" : " off" ,
34
38
"sort-keys" : " off" ,
35
39
"sort-imports" : " off"
38
42
"browser" : true ,
39
43
"es6" : true
40
44
}
41
- }
45
+ }
Original file line number Diff line number Diff line change 1
- import React from 'react' ;
2
1
import { render } from '@testing-library/react' ;
2
+ import React from 'react' ;
3
3
4
4
import App from './App' ;
5
5
Original file line number Diff line number Diff line change
1
+ import './App.scss' ;
2
+
1
3
import React from 'react' ;
2
4
3
5
import logo from './logo.svg' ;
4
- import './App.scss' ;
5
6
6
7
function App ( ) {
7
8
return (
Original file line number Diff line number Diff line change
1
+ import './index.scss' ;
2
+
1
3
import React from 'react' ;
2
4
import ReactDOM from 'react-dom' ;
3
5
4
- import './index.scss' ;
5
6
import App from './App' ;
6
7
import * as serviceWorker from './serviceWorker' ;
7
8
You can’t perform that action at this time.
0 commit comments