From f9f79b2a422da172ff62ddf04fcfea3956d55715 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Wed, 22 Jan 2025 10:51:33 +0100 Subject: [PATCH] refactor(frontend): eslint --- .versionrc.js | 16 ++++++++-------- commitlint.config.js | 2 +- karma.conf.cjs | 2 +- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.versionrc.js b/.versionrc.js index 3c99f18ae..c3c761228 100644 --- a/.versionrc.js +++ b/.versionrc.js @@ -7,33 +7,33 @@ const standardVersionUpdaterYaml = require.resolve('standard-version-updater-yam module.exports = { scripts: { // postbump: './sync-versions.hs && git add -- package.yaml', // moved to bumpFiles - postchangelog: 'sed \'s/^### \\[/## [/g\' -i CHANGELOG.md' + postchangelog: 'sed \'s/^### \\[/## [/g\' -i CHANGELOG.md', }, packageFiles: ['package.json', 'package.yaml'], bumpFiles: [ { filename: 'package.json', - type: 'json' + type: 'json', }, { filename: 'package-lock.json', - type: 'json' + type: 'json', }, { filename: 'package.yaml', - updater: standardVersionUpdaterYaml + updater: standardVersionUpdaterYaml, }, { filename: 'nix/docker/version.json', - type: 'json' + type: 'json', }, { filename: 'nix/docker/demo-version.json', - type: 'json' - } + type: 'json', + }, ], commitUrlFormat: 'https://gitlab2.rz.ifi.lmu.de/uni2work/uni2work/commit/{{hash}}', compareUrlFormat: 'https://gitlab2.rz.ifi.lmu.de/uni2work/uni2work/compare/{{previousTag}}...{{currentTag}}', issueUrlFormat: 'https://gitlab2.rz.ifi.lmu.de/uni2work/uni2work/issues/{{id}}', - userUrlFormat: 'https://gitlab2.rz.ifi.lmu.de/{{user}}' + userUrlFormat: 'https://gitlab2.rz.ifi.lmu.de/{{user}}', }; diff --git a/commitlint.config.js b/commitlint.config.js index 5eec5bedb..4f7abd1d3 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -2,4 +2,4 @@ // // SPDX-License-Identifier: AGPL-3.0-or-later -module.exports = {extends: ['@commitlint/config-conventional']} +module.exports = {extends: ['@commitlint/config-conventional']}; diff --git a/karma.conf.cjs b/karma.conf.cjs index aa8ac1e0f..25d47c46b 100644 --- a/karma.conf.cjs +++ b/karma.conf.cjs @@ -2,7 +2,7 @@ // // SPDX-License-Identifier: AGPL-3.0-or-later -/* eslint-disable */ + module.exports = function(config) { config.set({ //root path location to resolve paths defined in files and exclude