Fix up a number of remaining JavaScript lint issues.
Review Request #12770 — Created Jan. 6, 2023 and submitted — Latest diff uploaded
This goes through and fixes up the remaining complaints from ESLint.
Most fit into the following categories:
- Missing or unused variable declarations.
- Missing blank lines around blocks, before
return
/break
, or before
expect()
for Jasmine. - Spacing/indentation/alignment issues.
- Missing semicolons.
- Complex one-liners.
switch
formatting and now-required fall-through comments.
Verified ESLint was happy with the final results.
Diff Revision 1 (Latest)
Commits
Files
djblets/static/djblets/js/datagrid.js |
---|
djblets/static/djblets/js/jquery.gravy.autosize.js |
---|
djblets/static/djblets/js/jquery.gravy.inlineEditor.js |
---|
djblets/static/djblets/js/jquery.gravy.modalBox.js |
---|
djblets/static/djblets/js/jquery.gravy.retina.js |
---|
djblets/static/djblets/js/jquery.gravy.util.js |
---|
djblets/static/djblets/js/admin/views/relatedObjectSelectorView.es6.js |
---|
djblets/static/djblets/js/avatars/views/avatarSettingsFormView.es6.js |
---|
djblets/static/djblets/js/avatars/views/fileUploadSettingsFormView.es6.js |
---|
djblets/static/djblets/js/configForms/views/tests/listItemViewTests.es6.js |
---|
djblets/static/djblets/js/forms/views/listEditView.es6.js |
---|
djblets/static/djblets/js/forms/views/tests/listEditViewTests.es6.js |
---|
djblets/static/djblets/js/integrations/views/tests/addIntegrationPopupViewTests.es6.js |
---|
djblets/static/djblets/js/tests/backboneUtilsTests.js |
---|