Comments (2)
Hi @djahandarie,
thanks for reporting this. Can the type hint be added to the function signature instead? We'll discuss internally if we can add this exception. I'll still add this for the next milestone, but not sure if it's actually worth it.
from eslint-plugin-sonarjs.
This issue has been migrated to Jira. ESLINTJS-35
from eslint-plugin-sonarjs.
Related Issues (20)
- Prevent error of sonarjs/no-duplicate-string with CSS classes (Tailwind, Foundation, Boostrap...) HOT 9
- sonarjs/prefer-immediate-return not always a good practice HOT 3
- sonarjs/cognitive-complexity doesn't ignore functional components written as arrow function HOT 3
- Fix vulnerabilities prior to SQ 10.3 release
- Get every SonarJS rules enabled HOT 2
- no-extra-arguments not working with imported functions HOT 4
- Plugin version 0.21 and above requires Node 14 HOT 2
- Rule: CSS files should not be empty HOT 1
- No calling of literals HOT 4
- Working with ESLint 9 HOT 19
- `sonarjs/no-redundant-jump` should not be flagged for trailing `return;`s for a function returning `undefined` HOT 1
- Plugin available in the form of a .jar package HOT 4
- sonarjs/cognitive-complexity strange typings HOT 2
- Unable to open http://redirect.sonarsource.com/doc/cognitive-complexity.html from https://github.com/SonarSource/eslint-plugin-sonarjs/blob/master/docs/rules/cognitive-complexity.md HOT 2
- `prefer-single-boolean-return` fix removes comments HOT 2
- `no-unused-collection` incorrectly fires in this situation HOT 1
- Put `@typescript-eslint/experimental-utils` in dependencies and/or switch to `@typescript-eslint/utils` HOT 1
- Add support for eslint flat config HOT 11
- `@typescript-eslint/utils` dependency is missing HOT 3
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 eslint-plugin-sonarjs.