fix: change comma-dangle rule to always-multiline per review feedback (#88)

Addresses Gemini review feedback from PR #66 (issue #73).
Changes 'comma-dangle' from 'never' to 'always-multiline' to improve
maintainability — cleaner git diffs and easier line reordering.
Updates admin/js files to comply with the new rule.

Closes #73
This commit is contained in:
2026-03-17 21:00:19 +00:00
committed by GitHub
parent 7640f01d0c
commit d6dcda908c
3 changed files with 16 additions and 16 deletions

View File

@@ -78,7 +78,7 @@
data: {
action: 'wpst_save_settings',
nonce: wpstData.nonce,
formData: formData
formData: formData,
},
success: function (response) {
if (response.success) {
@@ -93,8 +93,8 @@
complete: function () {
// Re-enable submit button and remove loading state.
$submitButton.prop( 'disabled', false ).removeClass( 'loading' );
}
}
},
},
);
},
@@ -123,19 +123,19 @@
300,
function () {
$( this ).remove();
}
},
);
},
5000
5000,
);
}
},
};
// Initialize when document is ready.
$( document ).ready(
function () {
WPSTAdmin.init();
}
},
);
})( jQuery );