-
Notifications
You must be signed in to change notification settings - Fork 73
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
Eslint #104
Eslint #104
Conversation
This has now been updated to master. The eslint config makes sure there's a consistent coding style, but will also flag problems like functions being undefind, vars being unused, etc. I've not enabled. There's still two eslint errors that I don't know how to deal with in |
I'd usually also turn on |
What steps did you use to produce these changes? |
Exactly that - |
What about the .xul files? Were those formatted with a different tool? It seems the |
Those were done with xmllint -- sorry about that. I've reset them to the upstream master |
The only changes to your branch that I made were to substitute tabs for spaces in the .xul files and squash the commits. I feel like there is probably a way to feed the .dtd file into xmllint, but I couldn't figure it out playing with the different dtd arguments. |
Thank you! |
@willsALMANJ you can feed the dtd, but it'd probably replace them with their content as it reformats them. |
FYI: I made a new release with all the recent changes, plus shortcuts for the new functions. I did some other non-functional changes to clean up the code like removing old code related to Firefox features, addons.mozilla.org hosting, and Zotero 4 support. |
builds on #103 -- if so desired, I can rebase onto #102 after that has been merged.