Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upNew rule: Disallow mixes of different bitwise operators #801
Comments
feross
added
the
enhancement
label
Feb 28, 2017
feross
added this to the
standard v10 milestone
Feb 28, 2017
feross
added
the
ecosystem impact
label
Mar 2, 2017
feross
modified the milestones:
standard v10,
standard v11
Mar 2, 2017
This comment has been minimized.
This comment has been minimized.
|
tbc, my issue is when mixing bitwise ops with |
This comment has been minimized.
This comment has been minimized.
|
@mafintosh Yep, got it. The rule won't warn about operators that are equal precedence. Parens are only needed when mixing operators of different precedences. |
feross
modified the milestones:
standard v12,
standard v13
Aug 28, 2018
feross
modified the milestones:
standard v13,
standard v14
Jul 5, 2019
feross
modified the milestones:
standard 14,
standard 15
Aug 15, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
feross commentedFeb 28, 2017
Proposal to make the
no-mixed-operatorsstricter so it includes bitwise operators.This was suggested by @mafintosh in this comment: #566 (comment)