Releases: julia-vscode/StaticLint.jl
Releases · julia-vscode/StaticLint.jl
v8.2.2
StaticLint v8.2.2
Merged pull requests:
- fix: handle kwdef mutable const correctly (#384) (@pfitzseb)
- Declare compatible with SymbolServer 8 (#385) (@davidanthoff)
v8.2.1
StaticLint v8.2.1
Merged pull requests:
v8.2.0
StaticLint v8.2.0
Merged pull requests:
- Fix kwarg ref/binding handling (#323) (@pfitzseb)
- Type declarations on global variables are supported on 1.8 (#328) (@N5N3)
- Julia Package Butler Updates (#331) (@github-actions[bot])
- Large file limits for linting (#333) (@pfitzseb)
- Nothing comparison with ==/!=: also check LHS for nothing (#334) (@fredrikekre)
- Properly mark bindings for const-fields in mutable structs (#336) (@pfitzseb)
- LoopOverLength check (#338) (@pfitzseb)
- "Fix" is_overwritten_in_loop check (#339) (@pfitzseb)
- Julia Package Butler Updates (#341) (@github-actions[bot])
- Julia Package Butler Updates (#343) (@github-actions[bot])
- recommend isnothing for comparing against nothing (#348) (@nsajko)
- Julia Package Butler Updates (#350) (@github-actions[bot])
- Fix field mismatch in setup_server (#359) (@jonathan-conder-sm)
- Fix resolve_getfield for non standard identifiers (#360) (@BenPH)
- Julia Package Butler Updates (#365) (@github-actions[bot])
- fix(inf): improve type inference with destrcturing assignment (#371) (@pfitzseb)
- fix(lint): fix unused farg detection nospecialize and kwargs (#372) (@pfitzseb)
- feat: improve followinclude to check ref (#373) (@pfitzseb)
- fix: correctly follow find definitions for macros (#374) (@pfitzseb)
- Fix
ERROR: type DataTypeStore has no field val
(#376) (@staticfloat) - feat: print file path on failure in loadfile (#377) (@pfitzseb)
- Julia Package Butler Updates (#379) (@github-actions[bot])
Closed issues:
- Add lint for
for i=1:length(v)
(#337) - support for const fields of Julia 1.8? (#340)
- Recommend pairs over enumerate (#347)
- Undetected syntax error (#353)
- FileServer has no field symbolserver (#358)
- align_matrix yields invalid matrix in combination with missing float "0" (#363)
- Path separator recognized as binary operator in Markdown file (#364)
v8.1.0
StaticLint v8.1.0
Closed issues:
- Unused variable warning for global assignment (#296)
local
is ignored? (#293)- "Possible method call error" for function arguments (#294)
- Core.eval "Possible method call error" (#295)
- Compare against nothing (#297)
- Linter bug with documented function (#309)
- Missing "Assigned but not used" warning when same symbol used in local function (#314)
Merged pull requests:
- Fix PointlessAND description (#303) (@pfitzseb)
- hand aliased imports (#304) (@ZacLN)
- Rev290 (#305) (@ZacLN)
- check assumption (#306) (@ZacLN)
- Fix 2351 (#307) (@pfitzseb)
- Fix stack overflow in infer_eltype (#308) (@pfitzseb)
- Update README.md (#316) (@bergel)
- Expr -> to_codeobject (#318) (@pfitzseb)
- Skip bindings for assignments in @. (#320) (@BenPH)
v8.0.1
StaticLint v8.0.1
Merged pull requests:
- Allow
using
statements to access packages loaded within workspace (#103) (@ZacLN) - fix import as linting for incomplete expressions (#289) (@pfitzseb)
- disable non-at-eval macrocall linting (#290) (@pfitzseb)
- fix check call for a binding::Function without methods (#300) (@ZacLN)
- Disable workspace packages for now (#301) (@davidanthoff)
v8.0.0
StaticLint v8.0.0
Closed issues:
- Possible method call error showing up on some simple code (#256)
- Wrong "cannot define a function it already has a value" (#277)
- Broken scopes in JMDs (#280)
- no method hasparent(::StaticLint.Binding) (#284)
Merged pull requests:
- Fix some bugs, improve type inference, a bit of a tidy (#250) (@ZacLN)
- add infrastructure for file-specific environments (#251) (@ZacLN)
- be more careful when trying to resolve export statements early (#252) (@ZacLN)
- Fix traverse order for :parameters, typealias bindings and add repeated func names check (#254) (@ZacLN)
- check for unused bindings (#255) (@ZacLN)
- fix rem_wheres_decls use (#257) (@ZacLN)
- fix sig unwrapping (#258) (@ZacLN)
- check_call fix (don't match sig against nothing) (#259) (@ZacLN)
- Clean Binding references more thoroughly (#260) (@ZacLN)
- stop overwriting struct params (#261) (@ZacLN)
- add get_named_toplevel_module default method (#262) (@ZacLN)
- Type inf improvements (#263) (@ZacLN)
- check bincall length (#264) (@ZacLN)
- binding check (#266) (@ZacLN)
- Add check for NULL in possible paths (#267) (@ZacLN)
- infer where type param types (#268) (@pfitzseb)
- respect soft scope and stop clobbering bindings (#269) (@pfitzseb)
- Tidy (#270) (@ZacLN)
- fix loose_refs (#271) (@ZacLN)
- fix collection of parameters w/o default vals (#272) (@ZacLN)
- Julia Package Butler Updates (#273) (@github-actions[bot])
- handle import .. as .. syntax (#276) (@ZacLN)
- fix (#278) (@ZacLN)
- Julia Package Butler Updates (#283) (@github-actions[bot])
- add check for is a EXPR (#285) (@ZacLN)
- check isid before valofid (#286) (@ZacLN)
- CompatHelper: bump compat for "SymbolServer" to "7.0" (#287) (@github-actions[bot])
v7.0.0
StaticLint v7.0.0
Merged pull requests:
v6.0.1
StaticLint v6.0.1
Merged pull requests:
- CompatHelper: bump compat for "SymbolServer" to "6.0" (#246) (@github-actions[bot])
v6.0.0
StaticLint v6.0.0
Closed issues:
- API functions for CLI / REPL usage (#17)
Merged pull requests:
- infer binding types by use (#234) (@ZacLN)
- add eval method that isn't Core.eval (#237) (@ZacLN)
- fix out of bounds access attempt (#238) (@ZacLN)
- add external functions (#239) (@ZacLN)
- ensure lookup of VarRef when resolving import blocks (#240) (@ZacLN)
- check module has name (#241) (@ZacLN)
- remove use of Expr (#242) (@ZacLN)
- add resolve only pass (#243) (@ZacLN)
v5.0.0
StaticLint v5.0.0
Closed issues:
- Add check for assignment within lazy conditional checks (#100)
- crash from accessing non-existant field
FunctionStore.type
(#188) - Fields in
@NamedTuple
(#210) - A non-DataType has been used in a type declaration when using alias (#216)
- Linter: "Invalid redefinition of constant" in if-else block (#218)
- Varargs notation
::Any...
is incorrectly flagged as unsused variable (#226) - Splatting creates spurious warning about extending function without using module defined typed arguments (#224)
Merged pull requests:
- Cst compat (#203) (@ZacLN)
- Add loop breaker to is_never_datatype (#204) (@ZacLN)
- power up constant redef check (#207) (@aviatesk)
- a bit refactor (separated from #206) (#208) (@aviatesk)
- minimum kwsplat check fix (#209) (@aviatesk)
- fewer false positives in include (#211) (@pfitzseb)
- fix nospecialize handling (#212) (@pfitzseb)
- Julia Package Butler Updates (#213) (@github-actions[bot])
- more at-nospecialize handling (#215) (@aviatesk)
- add a nothing-check in check_farg_unused (#221) (@pfitzseb)
- add a nothing-check in isglobal (#223) (@pfitzseb)
- adapt to julia-vscode/SymbolServer.jl#194 (#227) (@simeonschaub)
- Julia Package Butler Updates (#228) (@github-actions[bot])
- handle
Base.@kwdef
(#233) (@ZacLN)