We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think there is a conflict in the @shopify/binary-assignment-parens and @typescript-eslint/no-extra-parens rules.
@shopify/binary-assignment-parens
@typescript-eslint/no-extra-parens
I have some code like:
const running = (this.state === 'running');
Which is getting the following error:
error Unnecessary parentheses around expression @typescript-eslint/no-extra-parens
from
web-configs/packages/eslint-plugin/lib/config/typescript.js
Line 205 in 5ab0fcf
But if I change it to:
const running = this.state === 'running';
I get
error You must include parentheses around a binary assignment expression @shopify/binary-assignment-parens
web-configs/packages/eslint-plugin/lib/config/core.js
Line 270 in 5ab0fcf
What repo were you working in when this issue occurred?
A private repository
Type: Bug
Area: <area>
Is this issue related to a specific package?
Package: <package_name>
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Overview
I think there is a conflict in the
@shopify/binary-assignment-parens
and@typescript-eslint/no-extra-parens
rules.I have some code like:
Which is getting the following error:
from
web-configs/packages/eslint-plugin/lib/config/typescript.js
Line 205 in 5ab0fcf
But if I change it to:
I get
from
web-configs/packages/eslint-plugin/lib/config/core.js
Line 270 in 5ab0fcf
Consuming repo
A private repository
Labels
Type: Bug
label to this issue.Area
Area: <area>
labels to this issueScope
Is this issue related to a specific package?
Package: <package_name>
label.Checklist
The text was updated successfully, but these errors were encountered: