style: remove unnecessary function whitespace

Remove the unnecessary whitespace between the function name or the
'function' keyword and the opening parenthesis.
This commit is contained in:
2026-08-09 13:09:39 +02:00
committed by Gitea
parent 6bf315e4b8
commit 995e77b69a
31 changed files with 55 additions and 55 deletions
+3 -3
View File
@@ -14,12 +14,12 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
export const getSetting = function getSetting (name, settings) {
export const getSetting = function getSetting(name, settings) {
return settings.filter((setting) => setting.name === name)[0];
};
export const getSettingRecursively = function getSettingRecursively (sectionPath, settings) {
const oneSettingsLevel = function oneSettingsLevel (cursor, acc) {
export const getSettingRecursively = function getSettingRecursively(sectionPath, settings) {
const oneSettingsLevel = function oneSettingsLevel(cursor, acc) {
const setting = getSetting(cursor[0], acc.content);
if (!setting) return;