fix selflint issues, and update changelog
This commit is contained in:
parent
bf3f353b8d
commit
3c1e01da6f
@ -3,6 +3,9 @@
|
||||
### Features
|
||||
* Code action "Expand macro" lets you see what a macro expands to
|
||||
* Macro expansion is shown when hovering over a macro
|
||||
* Added support for pull diagnostics, which should help with out of date lints
|
||||
* Completions can complete missing variable names in binding contexts
|
||||
* For example, a completion of `hello-there` if the file contains `(local | 100) (print hello-there)` where `|` represents the cursor.
|
||||
* New lint `empty-let` for replacing `(let [] ...)` with `(do ...)`
|
||||
* New lint `duplicate-table-keys` for detecting duplicate keys (eg. `{:a 1 :a 2}`)
|
||||
* New lint `too-many-arguments` for function calls that provide extra, useless arguments
|
||||
|
||||
@ -537,7 +537,7 @@ You can read more about how to add lints in docs/linting.md"
|
||||
or by searching the word \"adjust\" in the [Lua Manual](https://www.lua.org/manual/5.4/manual.html#3.4.12)."
|
||||
:since "0.1.2"
|
||||
:type [:function-call :special-call]
|
||||
:impl (fn [server file ast]
|
||||
:impl (fn [_server _file ast]
|
||||
"generally, values and unpack are signs that the user is trying to do
|
||||
something with multiple values. However, multiple values will get
|
||||
\"adjusted\" to one value if they don't come at the end of the call."
|
||||
|
||||
Loading…
Reference in New Issue
Block a user