[eslint] add rule for auto-fixing unused imports#131772
[eslint] add rule for auto-fixing unused imports#131772spalger merged 10 commits intoelastic:mainfrom
Conversation
9066cab to
9aede39
Compare
9aede39 to
5401cbf
Compare
|
Pinging @elastic/kibana-operations (Team:Operations) |
mattkime
left a comment
There was a problem hiding this comment.
app services changes lgtm
nreese
left a comment
There was a problem hiding this comment.
kibana-gis changes LGTM
code review
zizhouW
left a comment
There was a problem hiding this comment.
Session view changes LGTM! Thanks for doing it!
sabarasaba
left a comment
There was a problem hiding this comment.
Changes lgtm, left two small comments about some comments that I think we can also remove
x-pack/plugins/index_management/__jest__/components/index_table.test.js
Outdated
Show resolved
Hide resolved
...s/cross_cluster_replication/public/__jest__/client_integration/follower_indices_list.test.js
Outdated
Show resolved
Hide resolved
YulNaumenko
left a comment
There was a problem hiding this comment.
Security Solution changes LGTM
ashokaditya
left a comment
There was a problem hiding this comment.
security_solution changes are good to go.
💚 Build SucceededMetrics [docs]Unknown metric groupsESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: |
ThomThomson
left a comment
There was a problem hiding this comment.
Presentation team changes LGTM! Lots of unused imports to be removed, thanks!
dasansol92
left a comment
There was a problem hiding this comment.
security_solution LGTM! Thanks for doing this cleaning!
Fixes #107233
Adds an ESLint rule that removes unused imports in CI and in the precommit hook. When run in editors a warning is logged and a suggestion is provided, but auto-fix is disabled to prevent ESLint ripping out imports when code is temporary removed.