-
Notifications
You must be signed in to change notification settings - Fork 377
chore(lint): eslint react-table #3693
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
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
6f20b9b
use eslint
redallen 6b04be4
tweak config
redallen 083578a
tweak config
redallen 0ecfc1b
fix(docs): fixed eslintrc error
evwilkin 2b399d5
fix(docs): lint:ts --fix
evwilkin df87c32
fix(docs): eslint errors
evwilkin d7d27be
fix(docs): more eslint errors
evwilkin 70dc57b
fix(docs): fix more eslint errors
evwilkin 2866acf
fix(docs): fixed last eslint error
evwilkin ce475bd
fix(docs): fix TS errors
evwilkin 3d0f480
fix(docs): fixed DataToolbar tsc error
evwilkin d394800
fix(docs): topologycontrolbar tsc error
evwilkin 1adacd1
fix(docs): topologysidebar tsc error
evwilkin dbbd385
fix(docs): updated snapshot
evwilkin 8ecc569
fix(docs): updated snapshot
evwilkin 7fb7bad
fix(docs): working through gutters type errors
evwilkin d796a7b
fix(docs): fixing Gallery ts error
evwilkin 6a977eb
fix(lint): fixed linting errors
evwilkin 0e04e69
fix(eslint): committing yarn lock
evwilkin 1c7ee5e
merge yarn.lock
evwilkin 2acf2ea
fix(eslint): fixed additional linting errors
evwilkin bae18cf
fix(DataListItem): fixed a11y aria-selected issue
evwilkin bc98e7c
fix(lint): update lint:ts for react-table
evwilkin 193481e
fix(lint): resolved eslint errors in react-table
evwilkin 54a4835
fix(react-tables): resolved eslint errors
evwilkin bd51f63
fix(react-tables): fixed merge conflicts
evwilkin 190c1d5
updated lint:md to target only react-core
evwilkin 7985b41
resolved feedback
evwilkin f8e4475
fixed a11y error
evwilkin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
packages/patternfly-4/react-table/build/snapshot-serializer.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
packages/patternfly-4/react-table/src/components/Table/ActionsColumn.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
onRowandonRowClickappear to be used?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both onRow and onRowClick were throwing TS errors - it looks like the unused variable errors were for the arguments to both functions (...args for onRow, and event/row/rowProps/computedData for onRowClick)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we track down how
onRowis used and give it a proper type?Also, for the unused variables, just put underscores before the variable names. Like
_event: React.MouseEvent. Then you can remove the eslint-disable.