Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from eslint-plugin-react to eslint-plugin-react-x #162

Open
43081j opened this issue Feb 18, 2025 · 1 comment
Open

Migrate from eslint-plugin-react to eslint-plugin-react-x #162

43081j opened this issue Feb 18, 2025 · 1 comment
Labels
umbrella issue This issue contains a list of dependents of a package and tracks the progress in each

Comments

@43081j
Copy link
Collaborator

43081j commented Feb 18, 2025

Quite a few projects can shed some dependency weight by making this switch.

Some won't be able to (older node support), but for the others it seems we should make this move.

We can move to eslint-plugin-react-x, although the eslint-react project provides a few other plugins too:

https://github.com/Rel1cx/eslint-react

cc @Rel1cx in case any feedback comes up around the migration

@43081j 43081j added the umbrella issue This issue contains a list of dependents of a package and tracks the progress in each label Feb 18, 2025
@Fuzzyma
Copy link
Collaborator

Fuzzyma commented Feb 18, 2025

Yeah, there are quiiite a few... and thats only the first 100. Almost a 100k dependents for eslint-plgin-react-x:

npx github:Fuzzyma/e18e-tools eslint-plugin-react -n 100 -U https://npm.devminer.xyz/registry -D -o md
# Downloads Traffic Version Package
1 68.40M 12712.77 GB saxes
2 39.15M 7276.45 GB file-uri-to-path
3 37.52M 6973.28 GB react-fast-compare
4 35.61M 6618.65 GB react-easy-router
5 33.26M 6182.12 GB redux
6 29.89M 5555.26 GB async-retry
7 27.93M 5191.95 GB reselect
8 25.04M 4653.80 GB form-data-encoder
9 24.02M 4464.18 GB react-redux
10 21.01M 3904.48 GB react-hook-form
11 19.66M 3654.07 GB react-element-to-jsx-string
12 18.80M 3495.16 GB babel-plugin-transform-react-remove-prop-types
13 18.26M 3394.12 GB webpack-bundle-analyzer
14 14.67M 2727.57 GB react-error-boundary
15 14.19M 2637.01 GB postcss-media-query-parser
16 12.74M 2367.53 GB @reduxjs/toolkit
17 12.73M 2365.38 GB react-popper
18 12.38M 2301.73 GB react-i18next
19 12.20M 2268.39 GB ts-toolbelt
20 12.18M 2263.88 GB @sentry/react
21 11.67M 2168.66 GB react-shallow-renderer
22 11.57M 2150.76 GB react-colorful
23 10.96M 2037.34 GB attr-accept
24 10.85M 2017.00 GB react-dropzone
25 10.78M 2003.58 GB eslint-config-airbnb
26 9.67M 1797.61 GB react-markdown
27 8.85M 1644.73 GB swr
28 8.79M 1633.44 GB react-textarea-autosize
29 8.36M 1553.24 GB react-smooth
30 8.35M 1552.93 GB inline-style-prefixer
31 8.28M 1539.45 GB recharts
32 7.70M 1430.58 GB react-datepicker
33 7.62M 1415.90 GB recharts-scale
34 7.30M 1357.74 GB chromatic
35 7.05M 1311.13 GB @kurkle/color
36 7.03M 1306.79 GB react-draggable
37 7.01M 1302.46 GB react-window
38 6.87M 1276.87 GB clipanion
39 6.59M 1224.67 GB react-syntax-highlighter
40 6.43M 1195.89 GB react-day-picker
41 6.43M 1194.26 GB use-memo-one
42 6.21M 1153.62 GB @ant-design/icons
43 6.08M 1129.62 GB react-focus-lock
44 5.83M 1084.51 GB react-helmet
45 5.80M 1078.21 GB @cucumber/html-formatter
46 5.64M 1047.57 GB react-use
47 5.28M 982.28 GB react-input-autosize
48 5.26M 977.86 GB enzyme
49 5.23M 971.48 GB katex
50 5.14M 955.96 GB rc-dialog
51 5.08M 944.91 GB react-beautiful-dnd
52 5.06M 939.71 GB react-modal
53 4.78M 889.05 GB downshift
54 4.72M 877.17 GB mochawesome-report-generator
55 4.64M 862.39 GB @ant-design/react-slick
56 4.63M 861.45 GB react-number-format
57 4.40M 818.00 GB @sentry/nextjs
58 4.36M 810.33 GB airbnb-prop-types
59 4.36M 810.33 GB react-query
60 4.34M 807.08 GB @stripe/react-stripe-js
61 4.34M 806.64 GB react-tooltip
62 4.24M 787.99 GB @cucumber/gherkin-utils
63 4.20M 781.34 GB react-copy-to-clipboard
64 3.90M 725.21 GB qrcode.react
65 3.87M 720.23 GB prop-types-exact
66 3.76M 699.67 GB react-resize-detector
67 3.73M 692.72 GB @fortawesome/react-fontawesome
68 3.65M 678.47 GB react-slick
69 3.62M 672.52 GB eslint-plugin-react-native
70 3.61M 671.90 GB react-table
71 3.49M 649.55 GB prop-types-extra
72 3.47M 644.32 GB fast-loops
73 3.33M 619.73 GB react-freeze
74 3.28M 608.92 GB cypress-file-upload
75 3.25M 603.73 GB stat-mode
76 3.18M 591.18 GB depcheck
77 3.18M 590.73 GB base16
78 3.03M 562.55 GB react-resizable
79 3.01M 560.07 GB react-virtualized
80 2.85M 530.04 GB rifm
81 2.85M 529.85 GB react-tabs
82 2.85M 529.34 GB ink
83 2.79M 518.32 GB draft-js
84 2.78M 516.22 GB enzyme-adapter-utils
85 2.74M 509.28 GB @monaco-editor/react
86 2.72M 505.96 GB enzyme-adapter-react-16
87 2.55M 474.17 GB react-merge-refs
88 2.52M 468.91 GB posthog-js
89 2.51M 466.08 GB react-hotkeys-hook
90 2.49M 463.50 GB react-loading-skeleton
91 2.49M 463.49 GB redux-logger
92 2.48M 461.38 GB react-virtuoso
93 2.47M 459.49 GB react-infinite-scroll-component
94 2.42M 449.13 GB react-sizeme
95 2.32M 430.78 GB notistack
96 2.28M 424.63 GB enzyme-to-json
97 2.28M 424.53 GB redoc
98 2.23M 414.20 GB focus-trap-react
99 2.19M 406.33 GB react-google-recaptcha
100 2.12M 394.32 GB eslint-plugin-ft-flow

(for anyone wondering why the version is missing: Its not in the index for devDependencies and I didnt dare to reindex because it almost blew up annas discspace :D)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
umbrella issue This issue contains a list of dependents of a package and tracks the progress in each
Projects
None yet
Development

No branches or pull requests

2 participants