-
-
Notifications
You must be signed in to change notification settings - Fork 897
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix up many linting issues #4652
Conversation
eq does object identity checking, while equal does recursive value checking.
clients/lsp-camel.el
Outdated
:group 'lsp-camel | ||
:type 'file | ||
:type 'directory |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be file
instead of directory
, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, got confused from the comment above and seeing the word dir
too many times. Definitely should be file
:type '(choice (const "off") | ||
(const "messages") | ||
(const "verbose") | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you move )
to the previous line? Thanks!
(const "retext-english") | ||
(const "remark-parse"))) | ||
(const "remark-parse")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix the style to:
:type '(choice (const "retext-english")
(const "remark-parse")))
(const "remark-parse"))
(const "Lua 5.3") | ||
(const "Lua 5.4") | ||
(const "LuaJIT") | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix the style to:
:type '(choice (const "Lua 5.1")
(const "Lua 5.2")
(const "Lua 5.3")
(const "Lua 5.4")
(const "LuaJIT"))
(const "info") | ||
(const "hint") | ||
(const "none") | ||
)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you fix the style to:
'(choice (const "error")
(const "warning")
(const "info")
(const "hint")
(const "none")))
And add a simple docstring to the variable? :)
(cons 'name string) | ||
(cons 'description string) | ||
(cons 'url string) | ||
(cons 'fileMatch (repeat string)))) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add documentation to this variable? The indentation seems a bit off here. 🤔
Thank you! |
Sorry about not getting back to this in a timely manner! End of year stuff. Thanks for getting this over the finish line |
Most of these are fixing up issues with the type declarations in customization variables. These all were highlighted by
eask
.There's also a handful of other fixups:
(eq foo [])
with(equal foo [])
in a couple of spots (first one does an identity check so would never pass)