refactor(frontend): eslint

This commit is contained in:
Sarah Vaupel 2025-01-22 10:51:33 +01:00
parent 5c73ee676a
commit f9f79b2a42
3 changed files with 10 additions and 10 deletions

View File

@ -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}}',
};

View File

@ -2,4 +2,4 @@
//
// SPDX-License-Identifier: AGPL-3.0-or-later
module.exports = {extends: ['@commitlint/config-conventional']}
module.exports = {extends: ['@commitlint/config-conventional']};

View File

@ -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