Comments (2)
Thanks @asleire!
Yeah, the implementation of this rule is rather simplistic.. but I'm still surrpised by a few of these. We have a few rules that can't currently catch all violations — typically because it's really expensive to do so in some cases — but we'll always have zero tolerance for false positives.
In this case it looks like we're already doing an expensive walk
, so finding more external references currently not reported seems doable.
I'll take a look.
from regal.
PR up to fix every issue reported other than func_2
. I looked into that one briefly but it looks like it would require more effort than it's probably worth at this point. Might open another issue later to deal with some remaining items, but this level of coverage feels quite alright to me.
from regal.
Related Issues (20)
- Completions: rule head (if, contains, etc) improvements
- CI: See if we can use caching to avoid downloading rq over and over HOT 1
- Be specific about number of errors vs warnings in `regal lint` summary
- Rule: `if-object-literal` HOT 1
- Rule: `var-shadows-builtin`
- Not all folding ranges shown in Zed editor HOT 1
- Code completion in comments (Zed) HOT 2
- Zed doesn't render markdown tables
- Send message to client when outdated Regal is detected
- Completions: `if` and `contains` should not be suggested following import
- Completions: avoid suggesting recursive function call
- Completions: suggest known object keys for certain built-in functions
- Completions: provide suggestions of rules and functions in file following `default` keyword
- Allow using `regal fix` as a formatter
- POC: embedding compiler state for `regal lint` command
- Completion suggestions should not contain duplicates
- Suggest local variables as arguments to function call
- Improve package name suggestion based on directory path
- False positive in `top-level-iteration` when using ref head rules
- Completions: package name suggestion should never be an empty string
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 regal.