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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefer @typescript-eslint/dot-notation to native ESLint version #454

Conversation

rwaskiewicz
Copy link
Contributor

PR Checklist

Overview

This PR updates the converter for no-string-literal to use @typescript-eslint/dot-notation (introduced in this PR) over ESLint's native dot-notation

The @typescript-eslint variant does introduce a new optional flag, allowPrivateClassPropertyAccess, which isn't added in this converter in this PR. But if it's something y'all feel like it should be added (even if added with a false value) I'm happy to add it 馃檪

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this looks great to me. Thanks! 馃槃 no need for that extra argument.

@JoshuaKGoldberg JoshuaKGoldberg merged commit 313eb7d into typescript-eslint:master May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants