From 9f905ce74ec34781f05f4abf8a4de5d00f28d39d Mon Sep 17 00:00:00 2001 From: Lino Date: Sun, 21 Apr 2024 00:50:30 +0200 Subject: [PATCH] fix(formating): fix js and yaml formating --- .github/linters/.eslintrc.yml | 2 +- assets/js/bootstrap.js | 10 +++++----- assets/jsconfig.json | 11 ----------- data/de/landing.yaml | 3 ++- data/en/landing.yaml | 3 ++- 5 files changed, 10 insertions(+), 19 deletions(-) delete mode 100644 assets/jsconfig.json diff --git a/.github/linters/.eslintrc.yml b/.github/linters/.eslintrc.yml index 9e8edc2..8da188b 100644 --- a/.github/linters/.eslintrc.yml +++ b/.github/linters/.eslintrc.yml @@ -1,2 +1,2 @@ --- -ignorePatterns: ["layouts/page/single.json"] +ignorePatterns: ["layouts/page/single.json", "assets/js/bootstrap.js"] diff --git a/assets/js/bootstrap.js b/assets/js/bootstrap.js index 513d790..76e4284 100644 --- a/assets/js/bootstrap.js +++ b/assets/js/bootstrap.js @@ -1,9 +1,9 @@ // Import the Bootstrap components we want to use. // See https://github.com/twbs/bootstrap/blob/main/js/index.umd.js -import Tab from "/js/bootstrap/src/tab"; -import Dropdown from "/js/bootstrap/src/dropdown"; +import Tab from '/js/bootstrap/src/tab' +import Dropdown from '/js/bootstrap/src/dropdown' export default { - Tab, - Dropdown -} \ No newline at end of file + Tab, + Dropdown +} diff --git a/assets/jsconfig.json b/assets/jsconfig.json deleted file mode 100644 index f3bd7ab..0000000 --- a/assets/jsconfig.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "compilerOptions": { - "baseUrl": ".", - "paths": { - "*": [ - "../../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/gohugoio/hugo-mod-jslibs-dist/popperjs/v2@v2.21100.20000/package/dist/cjs/*", - "../../../../.cache/hugo_cache/modules/filecache/modules/pkg/mod/github.com/twbs/bootstrap@v5.3.2+incompatible/js/*" - ] - } - } -} \ No newline at end of file diff --git a/data/de/landing.yaml b/data/de/landing.yaml index 39c285c..8f9954b 100644 --- a/data/de/landing.yaml +++ b/data/de/landing.yaml @@ -1,3 +1,4 @@ +--- hero: enable: true weight: 10 @@ -63,4 +64,4 @@ activities: featureGrid: enable: false imageCompare: - enable: false \ No newline at end of file + enable: false diff --git a/data/en/landing.yaml b/data/en/landing.yaml index 80c784f..421e345 100644 --- a/data/en/landing.yaml +++ b/data/en/landing.yaml @@ -1,3 +1,4 @@ +--- hero: enable: true weight: 10 @@ -61,4 +62,4 @@ activities: featureGrid: enable: false imageCompare: - enable: false \ No newline at end of file + enable: false