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

[Eslint] jsx-ally | Removing jsx autocomplete valid rule #264

Merged
merged 2 commits into from
Jun 22, 2021

Conversation

gcornhill
Copy link
Contributor

@gcornhill gcornhill commented Jun 21, 2021

Description

We have a rule coming soon to require autocomplete on all inputs. This means there will be a lot of autocomplete="off/nope". However nope is not valid, but due to longstanding chrome bug nope is the random string that will actually turn it off for Chrome. See notes here.

One the required rules go out, we will look to make our own valid rule like the above but allow nope.

Type of change

  • Patch: Bug (non-breaking change which fixes an issue)
  • Minor: New feature (non-breaking change which adds functionality)
  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above (Documentation fix and Test update does not need a changelog as we do not publish a new version for these changes)

@yourpalsonja
Copy link

+1, does what's advertised.

@yourpalsonja yourpalsonja self-requested a review June 21, 2021 17:42
@BPScott
Copy link
Member

BPScott commented Jun 22, 2021

should we wait for #251 to be merged and then this PR can diisable the old and enable the new in one go?

@andrewmcgov
Copy link
Contributor

#251 is merged!

PR number

Fixing whitespace

Update packages/eslint-plugin/CHANGELOG.md

Co-authored-by: Ben Scott <227292+BPScott@users.noreply.github.com>

Add react-require-autocomplete lint rule
@gcornhill gcornhill force-pushed the eslint-jsx-remove-autocomplete-valid branch from a4ca61e to ac8bb63 Compare June 22, 2021 20:05
@gcornhill gcornhill merged commit bd0186a into main Jun 22, 2021
@gcornhill gcornhill deleted the eslint-jsx-remove-autocomplete-valid branch June 22, 2021 20:09
@shopify-shipit shopify-shipit bot temporarily deployed to production June 30, 2021 18:51 Inactive
@shopify-shipit shopify-shipit bot deployed to loose-assumptions July 14, 2021 19:32 Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants