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

Resolve conflicting split/spread rules #205

Open
carlansley opened this issue Feb 6, 2025 · 0 comments
Open

Resolve conflicting split/spread rules #205

carlansley opened this issue Feb 6, 2025 · 0 comments
Labels

Comments

@carlansley
Copy link
Contributor

  • ESLint: Using the spread operator on a string can cause unexpected behavior. Prefer .split('') instead. (@typescript-eslint/ no-misused-spread)
  • ESLint: Prefer the spread operator over String#split(''). (unicorn/ prefer-spread)

These are mutually exclusive rules. Need to work out which one we want and turn off the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant