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

[PLAY-1463] Linter: Kits T - W (except Typeahead) #3573

Merged
merged 19 commits into from
Aug 13, 2024
Merged

Conversation

kangaree
Copy link
Contributor

@kangaree kangaree commented Aug 5, 2024

What does this PR do?

  • ✅ Resurrect PLAY-1086 without Typeahead changes which caused bugs.
  • ✅ Table, Text, Time, Title, Tooltip, Treemap, User, Walkthrough, Weekday

How to test?
We've already tested PLAY-1086 with an alpha.

We're going to retest everything except for Typeahead. See the story.

Checklist:

  • LABELS Add a label: enhancement, bug, improvement, new kit, deprecated, or breaking. See Changelog & Labels for details.
  • DEPLOY I have added the milano label to show I'm ready for a review.

kangaree and others added 17 commits July 3, 2024 14:59
Add return type (@typescript-eslint/explicit-module-boundary-types)
Ignore multiple components in one file for now (react/no-multi-comp)
Use const appropiately (prefer-const)
Indent properly (react/jsx-closing-bracket-location)
Define before use (no-use-before-define)
Remove default empty callback (@typescript-eslint/no-empty-function)
Fill in types (no-explicit-any)
Define before use (no-use-before-define)
Indent properly (react/jsx-indent-props)
Break out multi props from one liner (react/jsx-max-props-per-line)
Add return type (@typescript-eslint/explicit-module-boundary-types)
Add return type (@typescript-eslint/explicit-module-boundary-types)
Indent properly (react/jsx-indent-props)
Ignore "'JSX' is not defined"
Add return type (@typescript-eslint/explicit-module-boundary-types)
Indent properly (react/jsx-indent-props)
Set children prop type to ReactNode (jsx-control-statements/jsx-jcs-no-undef)
Fill in types (no-explicit-any)
Add missing deps and merge in useState (react-hooks/exhaustive-deps)
Allow console messages in test (no-console)
Add return type (@typescript-eslint/explicit-module-boundary-types)
Fill in types (no-explicit-any)
Add return type (@typescript-eslint/explicit-module-boundary-types)
Ignore unusedVar for onMultiValueClick cb (@typescript-eslint/no-unused-vars)
Add missing deps (react-hooks/exhaustive-deps)
Indent properly (react/jsx-indent-props)
Ignore multiple components in one file for now (react/no-multi-comp)
Define before use (no-use-before-define)
Define debouncedSearch function shape (@typescript-eslint/ban-types)
Use let appropriately
Add return type (@typescript-eslint/explicit-module-boundary-types)
Indent properly (react/jsx-indent-props)
Use Record<string, unknown> not object (@typescript-eslint/ban-types)
Add missing display name (react/display-name)
Indent properly (react/jsx-indent-props)
Add return type (@typescript-eslint/explicit-module-boundary-types)
Ignore multiple components in one file for now (react/no-multi-comp)
Add return type (@typescript-eslint/explicit-module-boundary-types)
@typescript-eslint/no-explicit-any
@typescript-eslint/explicit-module-boundary-types
react/prop-types

Focus on errors and small changes for warnings.
Consider making these big changes in a separate story.
@kangaree kangaree added milano 20 MAX - Deploy this PR to a review environment via Milano improvement This is used when your PR contains library upgrades or doc/site improvements. (USED IN CHANGELOG)) alpha labels Aug 5, 2024
Copy link

github-actions bot commented Aug 5, 2024

🎉 Congratulations on creating an Alpha Version!

Your Alpha for Ruby Gems is 13.34.1.pre.alpha.PLAY14633399

Your Alpha for NPM is 13.34.1-alpha.PLAY14633399

@kangaree kangaree marked this pull request as ready for review August 7, 2024 18:13
@kangaree kangaree requested review from a team as code owners August 7, 2024 18:13
@nidaqg nidaqg added the Product Approved pending technical review, OK to merge to master label Aug 9, 2024
@jasperfurniss jasperfurniss added the Code Approved Approved by a Playbook Admin label Aug 13, 2024
@jasperfurniss jasperfurniss added this pull request to the merge queue Aug 13, 2024
Merged via the queue into master with commit 3b54c73 Aug 13, 2024
6 checks passed
@jasperfurniss jasperfurniss deleted the PLAY-1463 branch August 13, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alpha Code Approved Approved by a Playbook Admin improvement This is used when your PR contains library upgrades or doc/site improvements. (USED IN CHANGELOG)) milano 20 MAX - Deploy this PR to a review environment via Milano Product Approved pending technical review, OK to merge to master
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants