[prefer-tacit] should not consider as error when the user intentionally skipped some parameters
See original GitHub issueBug Report
test.ts:
const a = ['1', '2']
a.map((x) => parseInt(x))
// result: [1, 2]
Expected behavior
No eslint error
Actual behavior
prefer-tacit
error, and autofixed to the following code which does not work because parseInt takes a second parameter radix
and it should not be an index
test.ts:
const a = ['1', '2']
a.map(parseInt)
// result: [1, NaN]
Steps to reproduce
Code mentioned above, running in eslint-plugin-functional v4.4.0
with rule 'functional/prefer-tacit': 'error'
Proposed changes
Do not consider it as error when the user intentionally skipped some parameters
Issue Analytics
- State:
- Created a year ago
- Comments:5
Top Results From Across the Web
eslint-plugin-functional's Language Statistics - Codesti
[prefer-tacit] should not consider as error when the user intentionally skipped some parameters, closed, 5 ; Action Required: Fix Renovate Configuration, closed ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
🎉 This issue has been resolved in version 4.4.1 🎉
The release is available on:
Your semantic-release bot 📦🚀
Alright, I’ll look into it.