Commit 1697b39
authored
[eslint] Add
## Description
Turns out that inbuilt `sort-import` cannot be fixed with autofix. I got
inspiration from
[Reanimated](https://github.com/software-mansion/react-native-reanimated/blob/8937365d427723f8fb0859c31c4d349345d2639b/eslint.config.mjs#L183)
and added `simple-import-sort`
## Test plan
`yarn lint-js`
<img width="1085" height="149" alt="image"
src="https://github.com/user-attachments/assets/c769c157-32b5-4d35-8c0c-518734e100d0"
/>simple-import-sort (#4092)1 parent 6313763 commit 1697b39
285 files changed
Lines changed: 1512 additions & 1391 deletions
File tree
- apps
- basic-example/src
- common-app/src
- ListWithHeader
- common_assets/AnimatedCameraView
- empty
- legacy
- basic
- bouncing
- draggable
- fling
- forcetouch
- multitap
- pagerAndDrawer
- panResponder
- recipes
- panAndScroll
- scaleAndRotate
- release_tests
- StylusData
- combo
- contextMenu
- doubleDraggable
- gesturizedPressable
- mouseButtons
- nestedButtons
- nestedFling
- nestedGHRootViewWithModal
- nestedPressables
- nestedText
- nestedTouchables
- overflowParent
- pointerType
- rectButton
- svg
- touchables
- twoFingerPan
- webStylesReset
- showcase
- bottomSheet
- chatHeads
- simple
- draggable
- fling
- longPress
- manual
- tap
- v2_api
- bottom_sheet
- calculator
- camera
- chat_heads
- drag_n_drop
- hoverable_icons
- hover
- manualGestures
- overlap
- pressable
- transformations
- velocityTest
- new_api
- complicated
- camera
- chat_heads
- lock
- velocity_test
- components
- button_underlay
- buttons
- drawer
- flatlist
- scrollview
- swipeable
- switchAndInput
- touchable_stress
- touchable
- hover_mouse
- hoverable_icons
- hover
- mouse_buttons
- stylus_data
- showcase
- animated
- bottom_sheet
- nested_text
- overlap
- state_manager
- svg
- timer
- simple
- fling
- hover
- longPress
- pan
- pinch
- rotation
- tap
- tests
- nestedPressables
- nestedRootView
- pointerType
- pressable
- reattaching
- rectButton
- twoFingerPan
- webStylesReset
- packages/react-native-gesture-handler/src
- __tests__
- components
- Pressable
- ReanimatedSwipeable
- touchables
- handlers
- gestures
- GestureDetector
- jestUtils
- mocks
- specs
- v3
- components
- Touchable
- detectors
- VirtualDetector
- hooks
- callbacks
- composition
- gestures
- fling
- hover
- longPress
- manual
- native
- pan
- pinch
- rotation
- tap
- utils
- types
- web
- detectors
- handlers
- tools
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
| 92 | + | |
92 | 93 | | |
93 | 94 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | | - | |
7 | | - | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
2 | 5 | | |
3 | 6 | | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
7 | | - | |
8 | | - | |
| 10 | + | |
9 | 11 | | |
10 | | - | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
6 | | - | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | | - | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | 6 | | |
| |||
8 | 11 | | |
9 | 12 | | |
10 | 13 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 14 | | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
20 | 18 | | |
21 | 19 | | |
22 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
1 | 7 | | |
2 | 8 | | |
3 | 9 | | |
| |||
8 | 14 | | |
9 | 15 | | |
10 | 16 | | |
11 | | - | |
12 | | - | |
| 17 | + | |
13 | 18 | | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
| 1 | + | |
8 | 2 | | |
9 | 3 | | |
10 | 4 | | |
11 | 5 | | |
12 | 6 | | |
13 | 7 | | |
14 | 8 | | |
| 9 | + | |
15 | 10 | | |
16 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments