VAR_INVALID_NAME false positive with number-suffixed names
See original GitHub issueif (urlScope.keyExists('id2') && isNumeric(urlScope.id2)) {
route &= '/:id2';
}
[INFO]: [cflint] VAR_INVALID_NAME: Variable id2 is not a valid name. Please use camelCase or underscores.
Using CFLint v1.3.0.
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
False positive `invalid-name` when using assignment ...
It makes sense to me that variables scoped entirely within the comprehension can have shorter names, but that's not what's happening here. The ......
Read more >What's New in Pylint 2.13
Added new checker typevar-name-missing-variance . ... Fix false positive for unused-import when disabling both used-before-assignment and ...
Read more >Configuring a registry - Docker Documentation
Defaults to false . Note: age and interval are strings containing a number with optional fraction and a unit suffix. Some examples: 45m ......
Read more >Pylint configuration
#rcfile= # When enabled, pylint would attempt to guess common misconfiguration and emit # user-friendly hints instead of false-positive error messages.
Read more >Database Engine events and errors - SQL Server
Consult this MSSQL error code list to find explanations for error messages for SQL Server database engine events.
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 has been a ‘feature’ almost since the beginning. I had to disable or change almost a dozen tests after I fixed this one. 😃 However, I agree that ending a number should not be considered invalid naming.
Thanks @ryaneberly for the quick turnaround 😄