Comments (1)
I'd guess the fixer isn't considering precedence and should be using our utils to conditionally include parentheses around the expression.
from typescript-eslint.
Related Issues (20)
- Improve return-await rule description, and better explain stack trace benefits HOT 1
- Bug(parser): Exported classes exclude decorators in their location properties HOT 1
- Repo: CI runs on `main` commits are being cancelled if a new commit lands before CI completes HOT 3
- Repo: Build failure on main from having both 7.3.1 and 7.4.0 versions
- Bug: [prefer-readonly] Autofix adds `readonly` keyword in JavaScript files HOT 3
- Bug: Error while loading rule '@typescript-eslint/consistent-type-imports': You have used a rule which requires parserServices to be generated HOT 8
- Bug(website): when `ts` hash parameter is missing, `ààà` flashes in editor
- Bug(website): tsconfig is blank
- Bug: Type error when using ConfigWithExtends (eslint-plugin-playwright) HOT 1
- Bug: no-floating promises ignores voided promises when resulting undefined is used HOT 5
- Bug: consistent-return does not into account exhaustiveness checks HOT 1
- Bug: Loading rules fails when ignoring files HOT 2
- Docs: Correct the example flat file config in the FAQ to `...tseslint.configs.disableTypeChecked HOT 7
- Repo: deprecate no-magic-numbers HOT 1
- Enhancement: [@typescript-eslint/member-ordering] Support AST selectors to OrderConfig HOT 2
- eslint-plugin: Feature freeze naming and sorting stylistic rules HOT 10
- Bug: [no-unnecessary-type-assertion] Does not flag on unnecessary nonnull assertion on `declare`d value HOT 5
- Enhancement: [no-confusing-non-null-assertion] should check !instanceof HOT 1
- Bug: parser breaks on folders that has been excluded HOT 2
- Bug: Parsing error: ESLint was configured to run on <file> using `parserOptions.project` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-eslint.